0s autopkgtest [22:29:23]: starting date: 2024-03-17 0s autopkgtest [22:29:23]: git checkout: d9c0295b adt_testbed.py: supress warnings from apt using a shell pipeline 0s autopkgtest [22:29:23]: host juju-7f2275-prod-proposed-migration-environment-4; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.zauxpl2d/out --timeout-copy=6000 --setup-commands 'ls /etc/apt/sources.list.d/*.list 2>/dev/null || true; ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:elfutils,src:curl,src:gnutls28,src:libarchive,src:libmicrohttpd,src:libpsl,src:nettle --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' -- lxd -r lxd-armhf-10.44.124.216 lxd-armhf-10.44.124.216:autopkgtest/ubuntu/noble/armhf 40s autopkgtest [22:30:03]: @@@@@@@@@@@@@@@@@@@@ test bed setup 42s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 43s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3691 kB] 43s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [51.4 kB] 43s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 43s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [485 kB] 43s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf Packages [574 kB] 43s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf c-n-f Metadata [2492 B] 43s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf Packages [1372 B] 43s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf c-n-f Metadata [116 B] 43s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf Packages [3500 kB] 44s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf c-n-f Metadata [7776 B] 44s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf Packages [33.8 kB] 44s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf c-n-f Metadata [116 B] 54s Fetched 8470 kB in 3s (2541 kB/s) 55s Reading package lists... 68s /etc/apt/sources.list.d/proposed.list 70s tee: /proc/self/fd/2: Permission denied 111s Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease 111s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 111s Hit:3 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease 111s Hit:4 http://ftpmaster.internal/ubuntu noble-updates InRelease 111s Hit:5 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease 111s Hit:6 http://ftpmaster.internal/ubuntu noble-security InRelease 111s Hit:7 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease 111s Hit:8 http://ftpmaster.internal/ubuntu noble-proposed InRelease 117s Reading package lists... 117s Reading package lists... 118s Building dependency tree... 118s Reading state information... 119s Calculating upgrade... 121s The following packages will be REMOVED: 121s curl libcurl4 pollinate 121s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 121s After this operation, 1167 kB disk space will be freed. 122s (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 ... 58620 files and directories currently installed.) 122s Removing pollinate (4.33-3.1ubuntu1) ... 122s Removing curl (8.5.0-2ubuntu2) ... 122s Removing libcurl4:armhf (8.5.0-2ubuntu2) ... 122s Processing triggers for man-db (2.12.0-3) ... 123s Processing triggers for libc-bin (2.39-0ubuntu2) ... 125s Reading package lists... 125s Building dependency tree... 125s Reading state information... 127s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 129s autopkgtest [22:31:32]: rebooting testbed after setup commands that affected boot 157s autopkgtest [22:32:00]: testbed running kernel: Linux 5.4.0-173-generic #191-Ubuntu SMP Fri Feb 2 13:54:37 UTC 2024 161s autopkgtest [22:32:04]: testbed dpkg architecture: armhf 175s autopkgtest [22:32:18]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 194s Get:1 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (dsc) [4332 B] 194s Get:2 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [263 kB] 194s Get:3 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [5488 kB] 194s Get:4 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (diff) [126 kB] 195s gpgv: Signature made Mon Feb 26 20:17:53 2024 UTC 195s gpgv: using RSA key 92FE4F8B40CADC4ECCD60C1F5961FDBE9C619809 195s gpgv: Can't check signature: No public key 195s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.2-1~ubuntu1.dsc: no acceptable signature found 197s autopkgtest [22:32:40]: testing package glib2.0 version 2.79.2-1~ubuntu1 197s autopkgtest [22:32:40]: build not needed 201s autopkgtest [22:32:44]: test build: preparing testbed 213s Reading package lists... 214s Building dependency tree... 214s Reading state information... 215s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 215s Starting 2 pkgProblemResolver with broken count: 0 215s Done 216s Done 217s Starting pkgProblemResolver with broken count: 0 217s Starting 2 pkgProblemResolver with broken count: 0 217s Done 219s The following additional packages will be installed: 219s build-essential cpp cpp-13 cpp-13-arm-linux-gnueabihf 219s cpp-arm-linux-gnueabihf g++ g++-13 g++-13-arm-linux-gnueabihf 219s g++-arm-linux-gnueabihf gcc gcc-13 gcc-13-arm-linux-gnueabihf 219s gcc-arm-linux-gnueabihf libasan8 libatomic1 libblkid-dev libc-dev-bin 219s libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-13-dev 219s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 219s libgomp1 libisl23 libmount-dev libmpc3 libnsl-dev libpcre2-16-0 219s libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 libselinux1-dev 219s libsepol-dev libstdc++-13-dev libtirpc-dev libubsan1 linux-libc-dev pkgconf 219s pkgconf-bin python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 219s Suggested packages: 219s cpp-doc gcc-13-locales cpp-13-doc gcc-13-doc gcc-multilib manpages-dev 219s autoconf automake libtool flex bison gdb gcc-doc gdb-arm-linux-gnueabihf 219s glibc-doc libgirepository1.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin 219s libxml2-utils libstdc++-13-doc 219s Recommended packages: 219s manpages manpages-dev libc-devtools 219s The following NEW packages will be installed: 219s build-essential cpp cpp-13 cpp-13-arm-linux-gnueabihf 219s cpp-arm-linux-gnueabihf g++ g++-13 g++-13-arm-linux-gnueabihf 219s g++-arm-linux-gnueabihf gcc gcc-13 gcc-13-arm-linux-gnueabihf 219s gcc-arm-linux-gnueabihf libasan8 libatomic1 libblkid-dev libc-dev-bin 219s libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-13-dev 219s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 219s libgomp1 libisl23 libmount-dev libmpc3 libnsl-dev libpcre2-16-0 219s libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 libselinux1-dev 219s libsepol-dev libstdc++-13-dev libtirpc-dev libubsan1 linux-libc-dev pkgconf 219s pkgconf-bin python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 219s 0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded. 219s 1 not fully installed or removed. 219s Need to get 52.6 MB of archives. 219s After this operation, 157 MB of additional disk space will be used. 219s Get:1 http://ftpmaster.internal/ubuntu noble/main armhf libffi-dev armhf 3.4.6-1 [57.0 kB] 219s Get:2 http://ftpmaster.internal/ubuntu noble/main armhf libglib2.0-bin armhf 2.79.2-1~ubuntu1 [91.8 kB] 219s Get:3 http://ftpmaster.internal/ubuntu noble/main armhf python3-packaging all 23.2-1 [40.6 kB] 219s Get:4 http://ftpmaster.internal/ubuntu noble/main armhf libgirepository-2.0-0 armhf 2.79.2-1~ubuntu1 [98.3 kB] 219s Get:5 http://ftpmaster.internal/ubuntu noble/main armhf libglib2.0-dev-bin armhf 2.79.2-1~ubuntu1 [216 kB] 219s Get:6 http://ftpmaster.internal/ubuntu noble/main armhf libc-dev-bin armhf 2.39-0ubuntu2 [19.1 kB] 219s Get:7 http://ftpmaster.internal/ubuntu noble/main armhf linux-libc-dev armhf 6.8.0-11.11 [1553 kB] 220s Get:8 http://ftpmaster.internal/ubuntu noble/main armhf libcrypt-dev armhf 1:4.4.36-4 [136 kB] 220s Get:9 http://ftpmaster.internal/ubuntu noble/main armhf libtirpc-dev armhf 1.3.4+ds-1build1 [207 kB] 220s Get:10 http://ftpmaster.internal/ubuntu noble/main armhf libnsl-dev armhf 1.3.0-3 [65.8 kB] 220s Get:11 http://ftpmaster.internal/ubuntu noble/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu6 [63.7 kB] 220s Get:12 http://ftpmaster.internal/ubuntu noble/main armhf libc6-dev armhf 2.39-0ubuntu2 [1352 kB] 220s Get:13 http://ftpmaster.internal/ubuntu noble/main armhf uuid-dev armhf 2.39.3-6ubuntu2 [31.7 kB] 220s Get:14 http://ftpmaster.internal/ubuntu noble/main armhf libblkid-dev armhf 2.39.3-6ubuntu2 [195 kB] 220s Get:15 http://ftpmaster.internal/ubuntu noble/main armhf libsepol-dev armhf 3.5-2 [358 kB] 220s Get:16 http://ftpmaster.internal/ubuntu noble/main armhf libpcre2-16-0 armhf 10.42-4ubuntu1 [180 kB] 220s Get:17 http://ftpmaster.internal/ubuntu noble/main armhf libpcre2-32-0 armhf 10.42-4ubuntu1 [171 kB] 220s Get:18 http://ftpmaster.internal/ubuntu noble/main armhf libpcre2-posix3 armhf 10.42-4ubuntu1 [6096 B] 220s Get:19 http://ftpmaster.internal/ubuntu noble/main armhf libpcre2-dev armhf 10.42-4ubuntu1 [664 kB] 220s Get:20 http://ftpmaster.internal/ubuntu noble/main armhf libselinux1-dev armhf 3.5-2build1 [157 kB] 220s Get:21 http://ftpmaster.internal/ubuntu noble/main armhf libmount-dev armhf 2.39.3-6ubuntu2 [14.9 kB] 220s Get:22 http://ftpmaster.internal/ubuntu noble/main armhf libpkgconf3 armhf 1.8.1-2 [26.3 kB] 220s Get:23 http://ftpmaster.internal/ubuntu noble/main armhf pkgconf-bin armhf 1.8.1-2 [20.6 kB] 220s Get:24 http://ftpmaster.internal/ubuntu noble/main armhf pkgconf armhf 1.8.1-2 [16.7 kB] 220s Get:25 http://ftpmaster.internal/ubuntu noble/main armhf zlib1g-dev armhf 1:1.3.dfsg-3ubuntu1 [882 kB] 220s Get:26 http://ftpmaster.internal/ubuntu noble/main armhf libglib2.0-dev armhf 2.79.2-1~ubuntu1 [1686 kB] 220s Get:27 http://ftpmaster.internal/ubuntu noble/main armhf libisl23 armhf 0.26-3 [595 kB] 220s Get:28 http://ftpmaster.internal/ubuntu noble/main armhf libmpc3 armhf 1.3.1-1 [46.4 kB] 220s Get:29 http://ftpmaster.internal/ubuntu noble/main armhf cpp-13-arm-linux-gnueabihf armhf 13.2.0-17ubuntu2 [8753 kB] 220s Get:30 http://ftpmaster.internal/ubuntu noble/main armhf cpp-13 armhf 13.2.0-17ubuntu2 [1032 B] 220s Get:31 http://ftpmaster.internal/ubuntu noble/main armhf cpp-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [5320 B] 220s Get:32 http://ftpmaster.internal/ubuntu noble/main armhf cpp armhf 4:13.2.0-7ubuntu1 [22.4 kB] 220s Get:33 http://ftpmaster.internal/ubuntu noble/main armhf libcc1-0 armhf 14-20240303-1ubuntu1 [39.0 kB] 220s Get:34 http://ftpmaster.internal/ubuntu noble/main armhf libgomp1 armhf 14-20240303-1ubuntu1 [125 kB] 220s Get:35 http://ftpmaster.internal/ubuntu noble/main armhf libatomic1 armhf 14-20240303-1ubuntu1 [7812 B] 220s Get:36 http://ftpmaster.internal/ubuntu noble/main armhf libasan8 armhf 14-20240303-1ubuntu1 [2941 kB] 220s Get:37 http://ftpmaster.internal/ubuntu noble/main armhf libubsan1 armhf 14-20240303-1ubuntu1 [1153 kB] 220s Get:38 http://ftpmaster.internal/ubuntu noble/main armhf libgcc-13-dev armhf 13.2.0-17ubuntu2 [900 kB] 221s Get:39 http://ftpmaster.internal/ubuntu noble/main armhf gcc-13-arm-linux-gnueabihf armhf 13.2.0-17ubuntu2 [16.8 MB] 221s Get:40 http://ftpmaster.internal/ubuntu noble/main armhf gcc-13 armhf 13.2.0-17ubuntu2 [448 kB] 221s Get:41 http://ftpmaster.internal/ubuntu noble/main armhf gcc-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [1220 B] 221s Get:42 http://ftpmaster.internal/ubuntu noble/main armhf gcc armhf 4:13.2.0-7ubuntu1 [5022 B] 221s Get:43 http://ftpmaster.internal/ubuntu noble/main armhf libstdc++-13-dev armhf 13.2.0-17ubuntu2 [2402 kB] 221s Get:44 http://ftpmaster.internal/ubuntu noble/main armhf g++-13-arm-linux-gnueabihf armhf 13.2.0-17ubuntu2 [9935 kB] 222s Get:45 http://ftpmaster.internal/ubuntu noble/main armhf g++-13 armhf 13.2.0-17ubuntu2 [14.5 kB] 222s Get:46 http://ftpmaster.internal/ubuntu noble/main armhf g++-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [966 B] 222s Get:47 http://ftpmaster.internal/ubuntu noble/main armhf g++ armhf 4:13.2.0-7ubuntu1 [1090 B] 222s Get:48 http://ftpmaster.internal/ubuntu noble/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 223s Fetched 52.6 MB in 3s (19.8 MB/s) 223s Selecting previously unselected package libffi-dev:armhf. 223s (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 ... 58599 files and directories currently installed.) 223s Preparing to unpack .../00-libffi-dev_3.4.6-1_armhf.deb ... 223s Unpacking libffi-dev:armhf (3.4.6-1) ... 224s Selecting previously unselected package libglib2.0-bin. 224s Preparing to unpack .../01-libglib2.0-bin_2.79.2-1~ubuntu1_armhf.deb ... 224s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 224s Selecting previously unselected package python3-packaging. 224s Preparing to unpack .../02-python3-packaging_23.2-1_all.deb ... 224s Unpacking python3-packaging (23.2-1) ... 224s Selecting previously unselected package libgirepository-2.0-0:armhf. 224s Preparing to unpack .../03-libgirepository-2.0-0_2.79.2-1~ubuntu1_armhf.deb ... 224s Unpacking libgirepository-2.0-0:armhf (2.79.2-1~ubuntu1) ... 224s Selecting previously unselected package libglib2.0-dev-bin. 224s Preparing to unpack .../04-libglib2.0-dev-bin_2.79.2-1~ubuntu1_armhf.deb ... 224s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 224s Selecting previously unselected package libc-dev-bin. 224s Preparing to unpack .../05-libc-dev-bin_2.39-0ubuntu2_armhf.deb ... 224s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 224s Selecting previously unselected package linux-libc-dev:armhf. 224s Preparing to unpack .../06-linux-libc-dev_6.8.0-11.11_armhf.deb ... 224s Unpacking linux-libc-dev:armhf (6.8.0-11.11) ... 224s Selecting previously unselected package libcrypt-dev:armhf. 225s Preparing to unpack .../07-libcrypt-dev_1%3a4.4.36-4_armhf.deb ... 225s Unpacking libcrypt-dev:armhf (1:4.4.36-4) ... 225s Selecting previously unselected package libtirpc-dev:armhf. 225s Preparing to unpack .../08-libtirpc-dev_1.3.4+ds-1build1_armhf.deb ... 225s Unpacking libtirpc-dev:armhf (1.3.4+ds-1build1) ... 225s Selecting previously unselected package libnsl-dev:armhf. 225s Preparing to unpack .../09-libnsl-dev_1.3.0-3_armhf.deb ... 225s Unpacking libnsl-dev:armhf (1.3.0-3) ... 225s Selecting previously unselected package rpcsvc-proto. 225s Preparing to unpack .../10-rpcsvc-proto_1.4.2-0ubuntu6_armhf.deb ... 225s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 225s Selecting previously unselected package libc6-dev:armhf. 225s Preparing to unpack .../11-libc6-dev_2.39-0ubuntu2_armhf.deb ... 225s Unpacking libc6-dev:armhf (2.39-0ubuntu2) ... 225s Selecting previously unselected package uuid-dev:armhf. 225s Preparing to unpack .../12-uuid-dev_2.39.3-6ubuntu2_armhf.deb ... 225s Unpacking uuid-dev:armhf (2.39.3-6ubuntu2) ... 225s Selecting previously unselected package libblkid-dev:armhf. 225s Preparing to unpack .../13-libblkid-dev_2.39.3-6ubuntu2_armhf.deb ... 225s Unpacking libblkid-dev:armhf (2.39.3-6ubuntu2) ... 225s Selecting previously unselected package libsepol-dev:armhf. 225s Preparing to unpack .../14-libsepol-dev_3.5-2_armhf.deb ... 225s Unpacking libsepol-dev:armhf (3.5-2) ... 225s Selecting previously unselected package libpcre2-16-0:armhf. 225s Preparing to unpack .../15-libpcre2-16-0_10.42-4ubuntu1_armhf.deb ... 225s Unpacking libpcre2-16-0:armhf (10.42-4ubuntu1) ... 226s Selecting previously unselected package libpcre2-32-0:armhf. 226s Preparing to unpack .../16-libpcre2-32-0_10.42-4ubuntu1_armhf.deb ... 226s Unpacking libpcre2-32-0:armhf (10.42-4ubuntu1) ... 226s Selecting previously unselected package libpcre2-posix3:armhf. 226s Preparing to unpack .../17-libpcre2-posix3_10.42-4ubuntu1_armhf.deb ... 226s Unpacking libpcre2-posix3:armhf (10.42-4ubuntu1) ... 226s Selecting previously unselected package libpcre2-dev:armhf. 226s Preparing to unpack .../18-libpcre2-dev_10.42-4ubuntu1_armhf.deb ... 226s Unpacking libpcre2-dev:armhf (10.42-4ubuntu1) ... 226s Selecting previously unselected package libselinux1-dev:armhf. 226s Preparing to unpack .../19-libselinux1-dev_3.5-2build1_armhf.deb ... 226s Unpacking libselinux1-dev:armhf (3.5-2build1) ... 226s Selecting previously unselected package libmount-dev:armhf. 226s Preparing to unpack .../20-libmount-dev_2.39.3-6ubuntu2_armhf.deb ... 226s Unpacking libmount-dev:armhf (2.39.3-6ubuntu2) ... 226s Selecting previously unselected package libpkgconf3:armhf. 226s Preparing to unpack .../21-libpkgconf3_1.8.1-2_armhf.deb ... 226s Unpacking libpkgconf3:armhf (1.8.1-2) ... 226s Selecting previously unselected package pkgconf-bin. 226s Preparing to unpack .../22-pkgconf-bin_1.8.1-2_armhf.deb ... 226s Unpacking pkgconf-bin (1.8.1-2) ... 226s Selecting previously unselected package pkgconf:armhf. 226s Preparing to unpack .../23-pkgconf_1.8.1-2_armhf.deb ... 226s Unpacking pkgconf:armhf (1.8.1-2) ... 226s Selecting previously unselected package zlib1g-dev:armhf. 226s Preparing to unpack .../24-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_armhf.deb ... 226s Unpacking zlib1g-dev:armhf (1:1.3.dfsg-3ubuntu1) ... 226s Selecting previously unselected package libglib2.0-dev:armhf. 226s Preparing to unpack .../25-libglib2.0-dev_2.79.2-1~ubuntu1_armhf.deb ... 226s Unpacking libglib2.0-dev:armhf (2.79.2-1~ubuntu1) ... 227s Selecting previously unselected package libisl23:armhf. 227s Preparing to unpack .../26-libisl23_0.26-3_armhf.deb ... 227s Unpacking libisl23:armhf (0.26-3) ... 227s Selecting previously unselected package libmpc3:armhf. 227s Preparing to unpack .../27-libmpc3_1.3.1-1_armhf.deb ... 227s Unpacking libmpc3:armhf (1.3.1-1) ... 227s Selecting previously unselected package cpp-13-arm-linux-gnueabihf. 227s Preparing to unpack .../28-cpp-13-arm-linux-gnueabihf_13.2.0-17ubuntu2_armhf.deb ... 227s Unpacking cpp-13-arm-linux-gnueabihf (13.2.0-17ubuntu2) ... 227s Selecting previously unselected package cpp-13. 227s Preparing to unpack .../29-cpp-13_13.2.0-17ubuntu2_armhf.deb ... 227s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 227s Selecting previously unselected package cpp-arm-linux-gnueabihf. 227s Preparing to unpack .../30-cpp-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 227s Unpacking cpp-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 228s Selecting previously unselected package cpp. 228s Preparing to unpack .../31-cpp_4%3a13.2.0-7ubuntu1_armhf.deb ... 228s Unpacking cpp (4:13.2.0-7ubuntu1) ... 228s Selecting previously unselected package libcc1-0:armhf. 228s Preparing to unpack .../32-libcc1-0_14-20240303-1ubuntu1_armhf.deb ... 228s Unpacking libcc1-0:armhf (14-20240303-1ubuntu1) ... 228s Selecting previously unselected package libgomp1:armhf. 228s Preparing to unpack .../33-libgomp1_14-20240303-1ubuntu1_armhf.deb ... 228s Unpacking libgomp1:armhf (14-20240303-1ubuntu1) ... 228s Selecting previously unselected package libatomic1:armhf. 228s Preparing to unpack .../34-libatomic1_14-20240303-1ubuntu1_armhf.deb ... 228s Unpacking libatomic1:armhf (14-20240303-1ubuntu1) ... 228s Selecting previously unselected package libasan8:armhf. 228s Preparing to unpack .../35-libasan8_14-20240303-1ubuntu1_armhf.deb ... 228s Unpacking libasan8:armhf (14-20240303-1ubuntu1) ... 228s Selecting previously unselected package libubsan1:armhf. 228s Preparing to unpack .../36-libubsan1_14-20240303-1ubuntu1_armhf.deb ... 228s Unpacking libubsan1:armhf (14-20240303-1ubuntu1) ... 228s Selecting previously unselected package libgcc-13-dev:armhf. 228s Preparing to unpack .../37-libgcc-13-dev_13.2.0-17ubuntu2_armhf.deb ... 228s Unpacking libgcc-13-dev:armhf (13.2.0-17ubuntu2) ... 228s Selecting previously unselected package gcc-13-arm-linux-gnueabihf. 228s Preparing to unpack .../38-gcc-13-arm-linux-gnueabihf_13.2.0-17ubuntu2_armhf.deb ... 228s Unpacking gcc-13-arm-linux-gnueabihf (13.2.0-17ubuntu2) ... 229s Selecting previously unselected package gcc-13. 229s Preparing to unpack .../39-gcc-13_13.2.0-17ubuntu2_armhf.deb ... 229s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 229s Selecting previously unselected package gcc-arm-linux-gnueabihf. 229s Preparing to unpack .../40-gcc-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 229s Unpacking gcc-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 229s Selecting previously unselected package gcc. 229s Preparing to unpack .../41-gcc_4%3a13.2.0-7ubuntu1_armhf.deb ... 229s Unpacking gcc (4:13.2.0-7ubuntu1) ... 229s Selecting previously unselected package libstdc++-13-dev:armhf. 230s Preparing to unpack .../42-libstdc++-13-dev_13.2.0-17ubuntu2_armhf.deb ... 230s Unpacking libstdc++-13-dev:armhf (13.2.0-17ubuntu2) ... 230s Selecting previously unselected package g++-13-arm-linux-gnueabihf. 230s Preparing to unpack .../43-g++-13-arm-linux-gnueabihf_13.2.0-17ubuntu2_armhf.deb ... 230s Unpacking g++-13-arm-linux-gnueabihf (13.2.0-17ubuntu2) ... 231s Selecting previously unselected package g++-13. 231s Preparing to unpack .../44-g++-13_13.2.0-17ubuntu2_armhf.deb ... 231s Unpacking g++-13 (13.2.0-17ubuntu2) ... 231s Selecting previously unselected package g++-arm-linux-gnueabihf. 231s Preparing to unpack .../45-g++-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 231s Unpacking g++-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 231s Selecting previously unselected package g++. 231s Preparing to unpack .../46-g++_4%3a13.2.0-7ubuntu1_armhf.deb ... 231s Unpacking g++ (4:13.2.0-7ubuntu1) ... 231s Selecting previously unselected package build-essential. 231s Preparing to unpack .../47-build-essential_12.10ubuntu1_armhf.deb ... 231s Unpacking build-essential (12.10ubuntu1) ... 231s Setting up libgirepository-2.0-0:armhf (2.79.2-1~ubuntu1) ... 231s Setting up linux-libc-dev:armhf (6.8.0-11.11) ... 231s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 231s Setting up libgomp1:armhf (14-20240303-1ubuntu1) ... 231s Setting up libffi-dev:armhf (3.4.6-1) ... 231s Setting up libpcre2-16-0:armhf (10.42-4ubuntu1) ... 231s Setting up libpcre2-32-0:armhf (10.42-4ubuntu1) ... 231s Setting up python3-packaging (23.2-1) ... 231s Setting up libtirpc-dev:armhf (1.3.4+ds-1build1) ... 231s Setting up libpkgconf3:armhf (1.8.1-2) ... 231s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 231s Setting up libmpc3:armhf (1.3.1-1) ... 231s Setting up libatomic1:armhf (14-20240303-1ubuntu1) ... 231s Setting up libsepol-dev:armhf (3.5-2) ... 231s Setting up pkgconf-bin (1.8.1-2) ... 231s Setting up libubsan1:armhf (14-20240303-1ubuntu1) ... 231s Setting up libpcre2-posix3:armhf (10.42-4ubuntu1) ... 231s Setting up libnsl-dev:armhf (1.3.0-3) ... 231s Setting up libcrypt-dev:armhf (1:4.4.36-4) ... 231s Setting up libasan8:armhf (14-20240303-1ubuntu1) ... 231s Setting up libisl23:armhf (0.26-3) ... 231s Setting up libc-dev-bin (2.39-0ubuntu2) ... 231s Setting up libcc1-0:armhf (14-20240303-1ubuntu1) ... 231s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 232s Setting up cpp-13-arm-linux-gnueabihf (13.2.0-17ubuntu2) ... 232s Setting up pkgconf:armhf (1.8.1-2) ... 232s Setting up libgcc-13-dev:armhf (13.2.0-17ubuntu2) ... 232s Setting up libc6-dev:armhf (2.39-0ubuntu2) ... 232s Setting up cpp-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 232s Setting up libstdc++-13-dev:armhf (13.2.0-17ubuntu2) ... 232s Setting up libpcre2-dev:armhf (10.42-4ubuntu1) ... 232s Setting up cpp-13 (13.2.0-17ubuntu2) ... 232s Setting up libselinux1-dev:armhf (3.5-2build1) ... 232s Setting up gcc-13-arm-linux-gnueabihf (13.2.0-17ubuntu2) ... 232s Setting up uuid-dev:armhf (2.39.3-6ubuntu2) ... 232s Setting up gcc-13 (13.2.0-17ubuntu2) ... 232s Setting up zlib1g-dev:armhf (1:1.3.dfsg-3ubuntu1) ... 232s Setting up cpp (4:13.2.0-7ubuntu1) ... 232s Setting up gcc-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 232s Setting up g++-13-arm-linux-gnueabihf (13.2.0-17ubuntu2) ... 232s Setting up g++-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 232s Setting up libblkid-dev:armhf (2.39.3-6ubuntu2) ... 232s Setting up g++-13 (13.2.0-17ubuntu2) ... 232s Setting up gcc (4:13.2.0-7ubuntu1) ... 232s Setting up g++ (4:13.2.0-7ubuntu1) ... 232s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 232s Setting up build-essential (12.10ubuntu1) ... 232s Setting up libmount-dev:armhf (2.39.3-6ubuntu2) ... 232s Setting up libglib2.0-dev:armhf (2.79.2-1~ubuntu1) ... 232s Processing triggers for libc-bin (2.39-0ubuntu2) ... 232s Processing triggers for man-db (2.12.0-3) ... 234s Processing triggers for install-info (7.1-3) ... 234s Processing triggers for libglib2.0-0:armhf (2.79.2-1~ubuntu1) ... 234s No schema files found: doing nothing. 234s Setting up autopkgtest-satdep (0) ... 249s (Reading database ... 62352 files and directories currently installed.) 249s Removing autopkgtest-satdep (0) ... 258s autopkgtest [22:33:41]: test build: [----------------------- 260s + mode=dynamic 260s + getopt -o --long static -n debian/tests/build -- 260s + getopt_temp= -- 260s + eval set -- -- 260s + set -- -- 260s + true 260s + shift 260s + break 260s + mktemp -d 260s + WORKDIR=/tmp/tmp.wFG8ggswYj 260s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 260s + cd /tmp/tmp.wFG8ggswYj 260s + [ -n ] 260s + CROSS_COMPILE= 260s + cat 260s + cat 260s + cat 260s + cat 260s + cat 260s + cat 260s + cflags= 260s + pcflags= 260s + packages=glib-2.0 260s + pkg-config --cflags --libs glib-2.0 260s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -lglib-2.0 261s + echo build (glib, dynamic): OK 261s + [ -x glib-dynamic ] 261s + foo=bar ./glib-dynamic 261s build (glib, dynamic): OK 261s + echo run (glib, dynamic): OK 261s + cflags= 261s + pcflags= 261s + packages=gobject-2.0 261s + pkg-config --cflags --libs gobject-2.0 261s run (glib, dynamic): OK 261s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -lgobject-2.0 -lglib-2.0 261s build (gobject, dynamic): OK 261s + echo build (gobject, dynamic): OK 261s + [ -x gobject-dynamic ] 261s + foo=bar ./gobject-dynamic 261s + echo run (gobject, dynamic): OK 261s + cflags= 261s + pcflags= 261s + packages=gio-2.0 261s + pkg-config --cflags --libs gio-2.0 261s run (gobject, dynamic): OK 261s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 262s + echo build (gio, dynamic): OK 262s + [ -x gio-dynamic ] 262s + foo=bar ./gio-dynamic 262s build (gio, dynamic): OK 262s + echo run (gio, dynamic): OK 262s + cflags= 262s + pcflags= 262s + packages=gio-unix-2.0 262s run (gio, dynamic): OK 262s + pkg-config --cflags --libs gio-unix-2.0 262s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 262s + echo build (gio-unix, dynamic): OK 262s + [ -x gio-unix-dynamic ] 262s + foo=bar ./gio-unix-dynamic 262s build (gio-unix, dynamic): OK 262s + echo run (gio-unix, dynamic): OK 262s + cflags= 262s + pcflags= 262s + packages=gmodule-2.0 262s + run (gio-unix, dynamic): OK 262s pkg-config --cflags --libs gmodule-2.0 262s + gcc -o gmodule-dynamic gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 263s + echo build (gmodule, dynamic): OK 263s + [ -x gmodule-dynamic ] 263s + foo=bar ./gmodule-dynamic 263s build (gmodule, dynamic): OK 263s + echo run (gmodule, dynamic): OK 263s + cflags= 263s + pcflags= 263s + packages=gthread-2.0 263s run (gmodule, dynamic): OK 263s + pkg-config --cflags --libs gthread-2.0 263s + gcc -o gthread-dynamic gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 263s + echo build (gthread, dynamic): OK 263s + [ -x gthread-dynamic ] 263s + foo=bar ./gthread-dynamic 263s build (gthread, dynamic): OK 263s run (gthread, dynamic): OK 263s + echo run (gthread, dynamic): OK 263s + rm -rf /tmp/tmp.wFG8ggswYj 263s autopkgtest [22:33:46]: test build: -----------------------] 267s build PASS (superficial) 267s autopkgtest [22:33:50]: test build: - - - - - - - - - - results - - - - - - - - - - 271s autopkgtest [22:33:54]: test build-static: preparing testbed 283s Reading package lists... 283s Building dependency tree... 283s Reading state information... 284s Starting pkgProblemResolver with broken count: 0 285s Starting 2 pkgProblemResolver with broken count: 0 285s Done 287s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 287s 1 not fully installed or removed. 287s After this operation, 0 B of additional disk space will be used. 287s Setting up autopkgtest-satdep (0) ... 299s (Reading database ... 62352 files and directories currently installed.) 299s Removing autopkgtest-satdep (0) ... 309s autopkgtest [22:34:32]: test build-static: [----------------------- 311s + mode=dynamic 311s + getopt -o --long static -n debian/tests/build -- --static 311s + getopt_temp= --static -- 311s + eval set -- --static -- 311s + set -- --static -- 311s + true 311s + mode=static 311s + shift 311s + continue 311s + true 311s + shift 311s + break 311s + mktemp -d 311s + WORKDIR=/tmp/tmp.FAhkZOB0VF 311s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 311s + cd /tmp/tmp.FAhkZOB0VF 311s + [ -n ] 311s + CROSS_COMPILE= 311s + cat 311s + cat 311s + cat 311s + cat 311s + cat 311s + cat 311s + cflags= 311s + pcflags= 311s + packages=glib-2.0 311s + cflags=-static 311s + pcflags=--static 311s + pkg-config --static --cflags --libs glib-2.0 311s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -lglib-2.0 -lm -pthread -lpcre2-8 312s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 312s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 312s /usr/bin/ld: (.text+0x1a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 312s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 312s + echo build (glib, static): OK 312s + [ -x glib-static ] 312s + foo=bar ./glib-static 312s build (glib, static): OK 312s + echo run (glib, static): OK 312s + cflags= 312s + pcflags= 312s + packages=gobject-2.0 312s + cflags=-static 312s + pcflags=--static 312s + pkg-config --static --cflags --libs gobject-2.0 312s run (glib, static): OK 312s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -lgobject-2.0 -lglib-2.0 -lm -pthread -lpcre2-8 -lffi 313s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 313s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 313s /usr/bin/ld: (.text+0x1a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 313s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 313s build (gobject, static): OK 313s + echo build (gobject, static): OK 313s + [ -x gobject-static ] 313s + foo=bar ./gobject-static 313s + echo run (gobject, static): OK 313s + cflags= 313s + pcflags= 313s + packages=gio-2.0 313s + cflags=-static 313s + pcflags=--static 313s + continue 313s + cflags= 313s + pcflags= 313s + packages=gio-unix-2.0 313s + cflags=-static 313s + pcflags=--static 313s + continuerun (gobject, static): OK 313s 313s + cflags= 313s + pcflags= 313s + packages=gmodule-2.0 313s + cflags=-static 313s + pcflags=--static 313s + pkg-config --static --cflags --libs gmodule-2.0 313s + gcc -static -o gmodule-static gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 -lglib-2.0 -lm -pthread -lpcre2-8 313s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 313s (.text+0x402): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 313s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 313s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 313s /usr/bin/ld: (.text+0x1a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 313s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 313s + echo build (gmodule, static): OK 313s + [ -x gmodule-static ] 313s + foo=bar ./gmodule-static 313s build (gmodule, static): OK 313s run (gmodule, static): OK 313s + echo run (gmodule, static): OK 313s + cflags= 313s + pcflags= 313s + packages=gthread-2.0 313s + cflags=-static 313s + pcflags=--static 313s + pkg-config --static --cflags --libs gthread-2.0 313s + gcc -static -o gthread-static gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 314s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 314s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 314s /usr/bin/ld: (.text+0x1a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 314s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 314s + echo build (gthread, static): OK 314s + [ -x gthread-static ] 314s + foo=bar ./gthread-static 314s build (gthread, static): OK 314s run (gthread, static): OK 314s + echo run (gthread, static): OK 314s + rm -rf /tmp/tmp.FAhkZOB0VF 314s autopkgtest [22:34:37]: test build-static: -----------------------] 318s build-static PASS (superficial) 318s autopkgtest [22:34:41]: test build-static: - - - - - - - - - - results - - - - - - - - - - 322s autopkgtest [22:34:45]: test installed-tests: preparing testbed 369s autopkgtest [22:35:32]: @@@@@@@@@@@@@@@@@@@@ test bed setup 371s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 371s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 371s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [51.4 kB] 371s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [485 kB] 372s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3691 kB] 372s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf Packages [574 kB] 372s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf c-n-f Metadata [2492 B] 372s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf Packages [1372 B] 372s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf c-n-f Metadata [116 B] 372s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf Packages [3500 kB] 372s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf c-n-f Metadata [7776 B] 372s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf Packages [33.8 kB] 372s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf c-n-f Metadata [116 B] 384s Fetched 8470 kB in 3s (2482 kB/s) 384s Reading package lists... 396s /etc/apt/sources.list.d/proposed.list 398s tee: /proc/self/fd/2: Permission denied 432s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 432s Hit:2 http://ports.ubuntu.com/ubuntu-ports noble InRelease 432s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 432s Hit:4 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease 432s Hit:5 http://ftpmaster.internal/ubuntu noble-security InRelease 432s Hit:6 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease 432s Hit:7 http://ftpmaster.internal/ubuntu noble-proposed InRelease 432s Hit:8 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease 439s Reading package lists... 439s Reading package lists... 440s Building dependency tree... 440s Reading state information... 441s Calculating upgrade... 442s The following packages will be REMOVED: 442s curl libcurl4 pollinate 444s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 444s After this operation, 1167 kB disk space will be freed. 444s (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 ... 58620 files and directories currently installed.) 444s Removing pollinate (4.33-3.1ubuntu1) ... 445s Removing curl (8.5.0-2ubuntu2) ... 445s Removing libcurl4:armhf (8.5.0-2ubuntu2) ... 445s Processing triggers for man-db (2.12.0-3) ... 446s Processing triggers for libc-bin (2.39-0ubuntu2) ... 447s Reading package lists... 448s Building dependency tree... 448s Reading state information... 450s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 452s autopkgtest [22:36:55]: rebooting testbed after setup commands that affected boot 482s autopkgtest [22:37:25]: testbed dpkg architecture: armhf 508s Reading package lists... 509s Building dependency tree... 509s Reading state information... 510s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 511s Starting 2 pkgProblemResolver with broken count: 0 511s Done 512s Done 512s Starting pkgProblemResolver with broken count: 0 513s Starting 2 pkgProblemResolver with broken count: 0 513s Done 515s The following additional packages will be installed: 515s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 515s libdrm-nouveau2 libdrm-radeon1 libfontenc1 libfreetype6 515s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 515s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 515s libllvm17 libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 515s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 515s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 515s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 515s python3-dbusmock python3-packaging x11-common x11-xkb-utils xserver-common 515s xvfb 515s Suggested packages: 515s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 515s Recommended packages: 515s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 515s xfonts-base 515s The following NEW packages will be installed: 515s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 515s libdrm-nouveau2 libdrm-radeon1 libfontenc1 libfreetype6 515s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 515s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 515s libllvm17 libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 515s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 515s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 515s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 515s python3-dbusmock python3-packaging x11-common x11-xkb-utils xserver-common 515s xvfb 515s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 515s 1 not fully installed or removed. 515s Need to get 38.2 MB of archives. 515s After this operation, 155 MB of additional disk space will be used. 515s Get:1 http://ftpmaster.internal/ubuntu noble/main armhf dbus-x11 armhf 1.14.10-4ubuntu1 [23.0 kB] 516s Get:2 http://ftpmaster.internal/ubuntu noble/universe armhf gnome-desktop-testing armhf 2021.1-3 [15.2 kB] 516s Get:3 http://ftpmaster.internal/ubuntu noble/main armhf desktop-file-utils armhf 0.26-1ubuntu5 [49.6 kB] 516s Get:4 http://ftpmaster.internal/ubuntu noble/main armhf libglib2.0-bin armhf 2.79.2-1~ubuntu1 [91.8 kB] 516s Get:5 http://ftpmaster.internal/ubuntu noble/main armhf python3-packaging all 23.2-1 [40.6 kB] 516s Get:6 http://ftpmaster.internal/ubuntu noble/main armhf libgirepository-2.0-0 armhf 2.79.2-1~ubuntu1 [98.3 kB] 516s Get:7 http://ftpmaster.internal/ubuntu noble/main armhf libglib2.0-dev-bin armhf 2.79.2-1~ubuntu1 [216 kB] 516s Get:8 http://ftpmaster.internal/ubuntu noble/universe armhf python3-dbusmock all 0.31.1-1 [85.5 kB] 516s Get:9 http://ftpmaster.internal/ubuntu noble/universe armhf libglib2.0-tests armhf 2.79.2-1~ubuntu1 [2249 kB] 516s Get:10 http://ftpmaster.internal/ubuntu noble/main armhf x11-common all 1:7.7+23ubuntu2 [23.4 kB] 516s Get:11 http://ftpmaster.internal/ubuntu noble/main armhf libice6 armhf 2:1.0.10-1build2 [36.4 kB] 516s Get:12 http://ftpmaster.internal/ubuntu noble/main armhf libsm6 armhf 2:1.2.3-1build2 [15.1 kB] 516s Get:13 http://ftpmaster.internal/ubuntu noble/main armhf libxt6 armhf 1:1.2.1-1.1 [142 kB] 516s Get:14 http://ftpmaster.internal/ubuntu noble/main armhf libxmu6 armhf 2:1.1.3-3 [41.6 kB] 516s Get:15 http://ftpmaster.internal/ubuntu noble/main armhf libxpm4 armhf 1:3.5.17-1 [29.9 kB] 516s Get:16 http://ftpmaster.internal/ubuntu noble/main armhf libxaw7 armhf 2:1.0.14-1 [157 kB] 516s Get:17 http://ftpmaster.internal/ubuntu noble/main armhf libxkbfile1 armhf 1:1.1.0-1build3 [64.2 kB] 516s Get:18 http://ftpmaster.internal/ubuntu noble/main armhf libxrender1 armhf 1:0.9.10-1.1 [16.5 kB] 516s Get:19 http://ftpmaster.internal/ubuntu noble/main armhf libxrandr2 armhf 2:1.5.2-2 [16.4 kB] 516s Get:20 http://ftpmaster.internal/ubuntu noble/main armhf x11-xkb-utils armhf 7.7+8 [159 kB] 516s Get:21 http://ftpmaster.internal/ubuntu noble/main armhf xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 516s Get:22 http://ftpmaster.internal/ubuntu noble/main armhf libglvnd0 armhf 1.7.0-1 [83.7 kB] 516s Get:23 http://ftpmaster.internal/ubuntu noble/main armhf libglapi-mesa armhf 24.0.1-1ubuntu1 [47.7 kB] 516s Get:24 http://ftpmaster.internal/ubuntu noble/main armhf libx11-xcb1 armhf 2:1.8.7-1 [7744 B] 516s Get:25 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-dri2-0 armhf 1.15-1 [6872 B] 516s Get:26 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-dri3-0 armhf 1.15-1 [6778 B] 516s Get:27 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-glx0 armhf 1.15-1 [22.6 kB] 516s Get:28 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-present0 armhf 1.15-1 [5526 B] 516s Get:29 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-randr0 armhf 1.15-1 [16.8 kB] 516s Get:30 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-shm0 armhf 1.15-1 [5852 B] 516s Get:31 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-sync1 armhf 1.15-1 [8794 B] 516s Get:32 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-xfixes0 armhf 1.15-1 [10.0 kB] 516s Get:33 http://ftpmaster.internal/ubuntu noble/main armhf libxfixes3 armhf 1:6.0.0-2 [8966 B] 516s Get:34 http://ftpmaster.internal/ubuntu noble/main armhf libxshmfence1 armhf 1.3-1build4 [5080 B] 516s Get:35 http://ftpmaster.internal/ubuntu noble/main armhf libxxf86vm1 armhf 1:1.1.4-1build3 [9068 B] 516s Get:36 http://ftpmaster.internal/ubuntu noble/main armhf libvulkan1 armhf 1.3.275.0-1 [122 kB] 516s Get:37 http://ftpmaster.internal/ubuntu noble/main armhf libdrm-amdgpu1 armhf 2.4.120-2 [18.6 kB] 516s Get:38 http://ftpmaster.internal/ubuntu noble/main armhf libdrm-nouveau2 armhf 2.4.120-2 [15.2 kB] 516s Get:39 http://ftpmaster.internal/ubuntu noble/main armhf libdrm-radeon1 armhf 2.4.120-2 [18.2 kB] 516s Get:40 http://ftpmaster.internal/ubuntu noble/main armhf libllvm17 armhf 1:17.0.6-5build1 [25.3 MB] 518s Get:41 http://ftpmaster.internal/ubuntu noble/main armhf libgl1-mesa-dri armhf 24.0.1-1ubuntu1 [7202 kB] 518s Get:42 http://ftpmaster.internal/ubuntu noble/main armhf libglx-mesa0 armhf 24.0.1-1ubuntu1 [132 kB] 518s Get:43 http://ftpmaster.internal/ubuntu noble/main armhf libglx0 armhf 1.7.0-1 [37.0 kB] 518s Get:44 http://ftpmaster.internal/ubuntu noble/main armhf libgl1 armhf 1.7.0-1 [104 kB] 518s Get:45 http://ftpmaster.internal/ubuntu noble/main armhf libpixman-1-0 armhf 0.42.2-1 [184 kB] 518s Get:46 http://ftpmaster.internal/ubuntu noble/main armhf libunwind8 armhf 1.6.2-3 [49.2 kB] 518s Get:47 http://ftpmaster.internal/ubuntu noble/main armhf libfontenc1 armhf 1:1.1.8-1 [11.5 kB] 518s Get:48 http://ftpmaster.internal/ubuntu noble/main armhf libfreetype6 armhf 2.13.2+dfsg-1 [331 kB] 518s Get:49 http://ftpmaster.internal/ubuntu noble/main armhf libxfont2 armhf 1:2.0.6-1 [80.5 kB] 518s Get:50 http://ftpmaster.internal/ubuntu noble/universe armhf xvfb armhf 2:21.1.11-2ubuntu1 [738 kB] 520s Fetched 38.2 MB in 3s (14.4 MB/s) 520s Selecting previously unselected package dbus-x11. 520s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58599 files and directories currently installed.) 520s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu1_armhf.deb ... 520s Unpacking dbus-x11 (1.14.10-4ubuntu1) ... 520s Selecting previously unselected package gnome-desktop-testing. 520s Preparing to unpack .../01-gnome-desktop-testing_2021.1-3_armhf.deb ... 520s Unpacking gnome-desktop-testing (2021.1-3) ... 520s Selecting previously unselected package desktop-file-utils. 520s Preparing to unpack .../02-desktop-file-utils_0.26-1ubuntu5_armhf.deb ... 520s Unpacking desktop-file-utils (0.26-1ubuntu5) ... 520s Selecting previously unselected package libglib2.0-bin. 520s Preparing to unpack .../03-libglib2.0-bin_2.79.2-1~ubuntu1_armhf.deb ... 520s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 520s Selecting previously unselected package python3-packaging. 520s Preparing to unpack .../04-python3-packaging_23.2-1_all.deb ... 520s Unpacking python3-packaging (23.2-1) ... 520s Selecting previously unselected package libgirepository-2.0-0:armhf. 520s Preparing to unpack .../05-libgirepository-2.0-0_2.79.2-1~ubuntu1_armhf.deb ... 520s Unpacking libgirepository-2.0-0:armhf (2.79.2-1~ubuntu1) ... 520s Selecting previously unselected package libglib2.0-dev-bin. 520s Preparing to unpack .../06-libglib2.0-dev-bin_2.79.2-1~ubuntu1_armhf.deb ... 520s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 520s Selecting previously unselected package python3-dbusmock. 520s Preparing to unpack .../07-python3-dbusmock_0.31.1-1_all.deb ... 520s Unpacking python3-dbusmock (0.31.1-1) ... 520s Selecting previously unselected package libglib2.0-tests. 520s Preparing to unpack .../08-libglib2.0-tests_2.79.2-1~ubuntu1_armhf.deb ... 520s Unpacking libglib2.0-tests (2.79.2-1~ubuntu1) ... 521s Selecting previously unselected package x11-common. 521s Preparing to unpack .../09-x11-common_1%3a7.7+23ubuntu2_all.deb ... 521s Unpacking x11-common (1:7.7+23ubuntu2) ... 522s Selecting previously unselected package libice6:armhf. 522s Preparing to unpack .../10-libice6_2%3a1.0.10-1build2_armhf.deb ... 522s Unpacking libice6:armhf (2:1.0.10-1build2) ... 522s Selecting previously unselected package libsm6:armhf. 522s Preparing to unpack .../11-libsm6_2%3a1.2.3-1build2_armhf.deb ... 522s Unpacking libsm6:armhf (2:1.2.3-1build2) ... 522s Selecting previously unselected package libxt6:armhf. 522s Preparing to unpack .../12-libxt6_1%3a1.2.1-1.1_armhf.deb ... 522s Unpacking libxt6:armhf (1:1.2.1-1.1) ... 522s Selecting previously unselected package libxmu6:armhf. 522s Preparing to unpack .../13-libxmu6_2%3a1.1.3-3_armhf.deb ... 522s Unpacking libxmu6:armhf (2:1.1.3-3) ... 522s Selecting previously unselected package libxpm4:armhf. 522s Preparing to unpack .../14-libxpm4_1%3a3.5.17-1_armhf.deb ... 522s Unpacking libxpm4:armhf (1:3.5.17-1) ... 522s Selecting previously unselected package libxaw7:armhf. 522s Preparing to unpack .../15-libxaw7_2%3a1.0.14-1_armhf.deb ... 522s Unpacking libxaw7:armhf (2:1.0.14-1) ... 522s Selecting previously unselected package libxkbfile1:armhf. 522s Preparing to unpack .../16-libxkbfile1_1%3a1.1.0-1build3_armhf.deb ... 522s Unpacking libxkbfile1:armhf (1:1.1.0-1build3) ... 522s Selecting previously unselected package libxrender1:armhf. 522s Preparing to unpack .../17-libxrender1_1%3a0.9.10-1.1_armhf.deb ... 522s Unpacking libxrender1:armhf (1:0.9.10-1.1) ... 522s Selecting previously unselected package libxrandr2:armhf. 522s Preparing to unpack .../18-libxrandr2_2%3a1.5.2-2_armhf.deb ... 522s Unpacking libxrandr2:armhf (2:1.5.2-2) ... 522s Selecting previously unselected package x11-xkb-utils. 522s Preparing to unpack .../19-x11-xkb-utils_7.7+8_armhf.deb ... 522s Unpacking x11-xkb-utils (7.7+8) ... 522s Selecting previously unselected package xserver-common. 522s Preparing to unpack .../20-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 522s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 522s Selecting previously unselected package libglvnd0:armhf. 522s Preparing to unpack .../21-libglvnd0_1.7.0-1_armhf.deb ... 522s Unpacking libglvnd0:armhf (1.7.0-1) ... 522s Selecting previously unselected package libglapi-mesa:armhf. 522s Preparing to unpack .../22-libglapi-mesa_24.0.1-1ubuntu1_armhf.deb ... 522s Unpacking libglapi-mesa:armhf (24.0.1-1ubuntu1) ... 522s Selecting previously unselected package libx11-xcb1:armhf. 522s Preparing to unpack .../23-libx11-xcb1_2%3a1.8.7-1_armhf.deb ... 522s Unpacking libx11-xcb1:armhf (2:1.8.7-1) ... 522s Selecting previously unselected package libxcb-dri2-0:armhf. 522s Preparing to unpack .../24-libxcb-dri2-0_1.15-1_armhf.deb ... 522s Unpacking libxcb-dri2-0:armhf (1.15-1) ... 522s Selecting previously unselected package libxcb-dri3-0:armhf. 522s Preparing to unpack .../25-libxcb-dri3-0_1.15-1_armhf.deb ... 522s Unpacking libxcb-dri3-0:armhf (1.15-1) ... 522s Selecting previously unselected package libxcb-glx0:armhf. 522s Preparing to unpack .../26-libxcb-glx0_1.15-1_armhf.deb ... 522s Unpacking libxcb-glx0:armhf (1.15-1) ... 522s Selecting previously unselected package libxcb-present0:armhf. 522s Preparing to unpack .../27-libxcb-present0_1.15-1_armhf.deb ... 522s Unpacking libxcb-present0:armhf (1.15-1) ... 522s Selecting previously unselected package libxcb-randr0:armhf. 522s Preparing to unpack .../28-libxcb-randr0_1.15-1_armhf.deb ... 522s Unpacking libxcb-randr0:armhf (1.15-1) ... 523s Selecting previously unselected package libxcb-shm0:armhf. 523s Preparing to unpack .../29-libxcb-shm0_1.15-1_armhf.deb ... 523s Unpacking libxcb-shm0:armhf (1.15-1) ... 523s Selecting previously unselected package libxcb-sync1:armhf. 523s Preparing to unpack .../30-libxcb-sync1_1.15-1_armhf.deb ... 523s Unpacking libxcb-sync1:armhf (1.15-1) ... 523s Selecting previously unselected package libxcb-xfixes0:armhf. 523s Preparing to unpack .../31-libxcb-xfixes0_1.15-1_armhf.deb ... 523s Unpacking libxcb-xfixes0:armhf (1.15-1) ... 523s Selecting previously unselected package libxfixes3:armhf. 523s Preparing to unpack .../32-libxfixes3_1%3a6.0.0-2_armhf.deb ... 523s Unpacking libxfixes3:armhf (1:6.0.0-2) ... 523s Selecting previously unselected package libxshmfence1:armhf. 523s Preparing to unpack .../33-libxshmfence1_1.3-1build4_armhf.deb ... 523s Unpacking libxshmfence1:armhf (1.3-1build4) ... 523s Selecting previously unselected package libxxf86vm1:armhf. 523s Preparing to unpack .../34-libxxf86vm1_1%3a1.1.4-1build3_armhf.deb ... 523s Unpacking libxxf86vm1:armhf (1:1.1.4-1build3) ... 523s Selecting previously unselected package libvulkan1:armhf. 523s Preparing to unpack .../35-libvulkan1_1.3.275.0-1_armhf.deb ... 523s Unpacking libvulkan1:armhf (1.3.275.0-1) ... 523s Selecting previously unselected package libdrm-amdgpu1:armhf. 523s Preparing to unpack .../36-libdrm-amdgpu1_2.4.120-2_armhf.deb ... 523s Unpacking libdrm-amdgpu1:armhf (2.4.120-2) ... 523s Selecting previously unselected package libdrm-nouveau2:armhf. 523s Preparing to unpack .../37-libdrm-nouveau2_2.4.120-2_armhf.deb ... 523s Unpacking libdrm-nouveau2:armhf (2.4.120-2) ... 523s Selecting previously unselected package libdrm-radeon1:armhf. 523s Preparing to unpack .../38-libdrm-radeon1_2.4.120-2_armhf.deb ... 523s Unpacking libdrm-radeon1:armhf (2.4.120-2) ... 523s Selecting previously unselected package libllvm17:armhf. 523s Preparing to unpack .../39-libllvm17_1%3a17.0.6-5build1_armhf.deb ... 523s Unpacking libllvm17:armhf (1:17.0.6-5build1) ... 525s Selecting previously unselected package libgl1-mesa-dri:armhf. 525s Preparing to unpack .../40-libgl1-mesa-dri_24.0.1-1ubuntu1_armhf.deb ... 525s Unpacking libgl1-mesa-dri:armhf (24.0.1-1ubuntu1) ... 525s Selecting previously unselected package libglx-mesa0:armhf. 525s Preparing to unpack .../41-libglx-mesa0_24.0.1-1ubuntu1_armhf.deb ... 525s Unpacking libglx-mesa0:armhf (24.0.1-1ubuntu1) ... 526s Selecting previously unselected package libglx0:armhf. 526s Preparing to unpack .../42-libglx0_1.7.0-1_armhf.deb ... 526s Unpacking libglx0:armhf (1.7.0-1) ... 526s Selecting previously unselected package libgl1:armhf. 526s Preparing to unpack .../43-libgl1_1.7.0-1_armhf.deb ... 526s Unpacking libgl1:armhf (1.7.0-1) ... 526s Selecting previously unselected package libpixman-1-0:armhf. 526s Preparing to unpack .../44-libpixman-1-0_0.42.2-1_armhf.deb ... 526s Unpacking libpixman-1-0:armhf (0.42.2-1) ... 526s Selecting previously unselected package libunwind8:armhf. 526s Preparing to unpack .../45-libunwind8_1.6.2-3_armhf.deb ... 526s Unpacking libunwind8:armhf (1.6.2-3) ... 526s Selecting previously unselected package libfontenc1:armhf. 526s Preparing to unpack .../46-libfontenc1_1%3a1.1.8-1_armhf.deb ... 526s Unpacking libfontenc1:armhf (1:1.1.8-1) ... 526s Selecting previously unselected package libfreetype6:armhf. 526s Preparing to unpack .../47-libfreetype6_2.13.2+dfsg-1_armhf.deb ... 526s Unpacking libfreetype6:armhf (2.13.2+dfsg-1) ... 526s Selecting previously unselected package libxfont2:armhf. 526s Preparing to unpack .../48-libxfont2_1%3a2.0.6-1_armhf.deb ... 526s Unpacking libxfont2:armhf (1:2.0.6-1) ... 526s Selecting previously unselected package xvfb. 526s Preparing to unpack .../49-xvfb_2%3a21.1.11-2ubuntu1_armhf.deb ... 526s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 526s Setting up gnome-desktop-testing (2021.1-3) ... 526s Setting up libxcb-dri3-0:armhf (1.15-1) ... 526s Setting up libpixman-1-0:armhf (0.42.2-1) ... 526s Setting up libx11-xcb1:armhf (2:1.8.7-1) ... 526s Setting up libdrm-nouveau2:armhf (2.4.120-2) ... 526s Setting up libxcb-xfixes0:armhf (1.15-1) ... 526s Setting up desktop-file-utils (0.26-1ubuntu5) ... 526s Setting up libxpm4:armhf (1:3.5.17-1) ... 526s Setting up libxrender1:armhf (1:0.9.10-1.1) ... 526s Setting up libgirepository-2.0-0:armhf (2.79.2-1~ubuntu1) ... 526s Setting up libdrm-radeon1:armhf (2.4.120-2) ... 526s Setting up libglvnd0:armhf (1.7.0-1) ... 526s Setting up libxcb-glx0:armhf (1.15-1) ... 526s Setting up x11-common (1:7.7+23ubuntu2) ... 527s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 527s Setting up libxcb-shm0:armhf (1.15-1) ... 527s Setting up libunwind8:armhf (1.6.2-3) ... 527s Setting up libxxf86vm1:armhf (1:1.1.4-1build3) ... 527s Setting up libxcb-present0:armhf (1.15-1) ... 527s Setting up libfontenc1:armhf (1:1.1.8-1) ... 527s Setting up python3-packaging (23.2-1) ... 528s Setting up libfreetype6:armhf (2.13.2+dfsg-1) ... 528s Setting up libxfixes3:armhf (1:6.0.0-2) ... 528s Setting up libxcb-sync1:armhf (1.15-1) ... 528s Setting up libxrandr2:armhf (2:1.5.2-2) ... 528s Setting up libglapi-mesa:armhf (24.0.1-1ubuntu1) ... 528s Setting up libvulkan1:armhf (1.3.275.0-1) ... 528s Setting up libxcb-dri2-0:armhf (1.15-1) ... 528s Setting up libxshmfence1:armhf (1.3-1build4) ... 528s Setting up dbus-x11 (1.14.10-4ubuntu1) ... 528s Setting up libxcb-randr0:armhf (1.15-1) ... 528s Setting up libxkbfile1:armhf (1:1.1.0-1build3) ... 528s Setting up libllvm17:armhf (1:17.0.6-5build1) ... 528s Setting up libxfont2:armhf (1:2.0.6-1) ... 528s Setting up libdrm-amdgpu1:armhf (2.4.120-2) ... 528s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 528s Setting up libice6:armhf (2:1.0.10-1build2) ... 528s Setting up libgl1-mesa-dri:armhf (24.0.1-1ubuntu1) ... 528s Setting up python3-dbusmock (0.31.1-1) ... 529s Setting up libglib2.0-tests (2.79.2-1~ubuntu1) ... 529s Setting up libsm6:armhf (2:1.2.3-1build2) ... 529s Setting up libglx-mesa0:armhf (24.0.1-1ubuntu1) ... 529s Setting up libglx0:armhf (1.7.0-1) ... 529s Setting up libgl1:armhf (1.7.0-1) ... 529s Setting up libxt6:armhf (1:1.2.1-1.1) ... 529s Setting up libxmu6:armhf (2:1.1.3-3) ... 529s Setting up libxaw7:armhf (2:1.0.14-1) ... 529s Setting up x11-xkb-utils (7.7+8) ... 529s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 529s Setting up xvfb (2:21.1.11-2ubuntu1) ... 529s Setting up autopkgtest-satdep (0) ... 529s Processing triggers for man-db (2.12.0-3) ... 530s Processing triggers for libc-bin (2.39-0ubuntu2) ... 553s (Reading database ... 60087 files and directories currently installed.) 553s Removing autopkgtest-satdep (0) ... 577s autopkgtest [22:39:00]: test installed-tests: [----------------------- 580s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 580s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 580s group entry: ubuntu:x:1000: 580s Environment: 580s ADTTMP=/tmp/autopkgtest.GMHruh/autopkgtest_tmp 580s ADT_ARTIFACTS=/tmp/autopkgtest.GMHruh/installed-tests-artifacts 580s ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2 580s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.GMHruh/installed-tests-artifacts 580s AUTOPKGTEST_TMP=/tmp/autopkgtest.GMHruh/autopkgtest_tmp 580s DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus 580s DEBIAN_FRONTEND=noninteractive 580s DEB_BUILD_OPTIONS=parallel=8 580s GIO_USE_VFS=local 580s GIO_USE_VOLUME_MONITOR=unix 580s HOME=/home/ubuntu 580s LANG=C.UTF-8 580s LOGNAME=ubuntu 580s MAIL=/var/mail/ubuntu 580s OLDPWD=/root 580s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 580s PWD=/tmp/autopkgtest.GMHruh/build.Jt8/src 580s SHELL=/bin/bash 580s SHLVL=2 580s USER=ubuntu 580s XDG_RUNTIME_DIR=/tmp/autopkgtest.GMHruh/autopkgtest_tmp 580s XDG_SESSION_CLASS=background 580s XDG_SESSION_ID=c1 580s XDG_SESSION_TYPE=unspecified 580s _=/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests 580s http_proxy=http://squid.internal:3128 580s https_proxy=http://squid.internal:3128 580s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 580s run-with-locales: de_DE=ISO-8859-1... 580s Character set: ISO-8859-1 580s Source file: de_DE 580s Output: /tmp/tmp.hcsWK47IOx/de_DE 581s run-with-locales: de_DE.utf8... 581s Character set: UTF-8 581s Source file: de_DE 581s Output: /tmp/tmp.hcsWK47IOx/de_DE.utf8 588s run-with-locales: de_DE@euro.utf8... 588s Character set: UTF-8 588s Source file: de_DE@euro 588s Output: /tmp/tmp.hcsWK47IOx/de_DE@euro.utf8 595s run-with-locales: el_GR.utf8... 595s Character set: UTF-8 595s Source file: el_GR 595s Output: /tmp/tmp.hcsWK47IOx/el_GR.utf8 602s run-with-locales: en_GB=ISO-8859-1... 602s Character set: ISO-8859-1 602s Source file: en_GB 602s Output: /tmp/tmp.hcsWK47IOx/en_GB 603s run-with-locales: en_GB.utf8... 603s Character set: UTF-8 603s Source file: en_GB 603s Output: /tmp/tmp.hcsWK47IOx/en_GB.utf8 611s run-with-locales: en_US=ISO-8859-1... 611s Character set: ISO-8859-1 611s Source file: en_US 611s Output: /tmp/tmp.hcsWK47IOx/en_US 612s run-with-locales: en_US.utf8... 612s Character set: UTF-8 612s Source file: en_US 612s Output: /tmp/tmp.hcsWK47IOx/en_US.utf8 619s run-with-locales: es_ES.utf8... 619s Character set: UTF-8 619s Source file: es_ES 619s Output: /tmp/tmp.hcsWK47IOx/es_ES.utf8 626s run-with-locales: fa_IR=UTF-8... 626s Character set: UTF-8 626s Source file: fa_IR 626s Output: /tmp/tmp.hcsWK47IOx/fa_IR 633s run-with-locales: fa_IR.utf8... 633s Character set: UTF-8 633s Source file: fa_IR 633s Output: /tmp/tmp.hcsWK47IOx/fa_IR.utf8 640s run-with-locales: fr_FR.utf8... 640s Character set: UTF-8 640s Source file: fr_FR 640s Output: /tmp/tmp.hcsWK47IOx/fr_FR.utf8 647s run-with-locales: hr_HR.utf8... 647s Character set: UTF-8 647s Source file: hr_HR 647s Output: /tmp/tmp.hcsWK47IOx/hr_HR.utf8 654s run-with-locales: ja_JP.utf8... 654s Character set: UTF-8 654s Source file: ja_JP 654s Output: /tmp/tmp.hcsWK47IOx/ja_JP.utf8 658s run-with-locales: ja_JP.EUC-JP... 658s Character set: EUC-JP 658s Source file: ja_JP 658s Output: /tmp/tmp.hcsWK47IOx/ja_JP.eucjp 658s run-with-locales: lt_LT.utf8... 658s Character set: UTF-8 658s Source file: lt_LT 658s Output: /tmp/tmp.hcsWK47IOx/lt_LT.utf8 665s run-with-locales: pl_PL=ISO-8859-2... 665s Character set: ISO-8859-2 665s Source file: pl_PL 665s Output: /tmp/tmp.hcsWK47IOx/pl_PL 666s run-with-locales: pl_PL.ISO-8859-2... 666s Character set: ISO-8859-2 666s Source file: pl_PL 666s Output: /tmp/tmp.hcsWK47IOx/pl_PL.iso88592 668s run-with-locales: pl_PL.utf8... 668s Character set: UTF-8 668s Source file: pl_PL 668s Output: /tmp/tmp.hcsWK47IOx/pl_PL.utf8 674s run-with-locales: ru_RU=ISO-8859-5... 674s Character set: ISO-8859-5 674s Source file: ru_RU 674s Output: /tmp/tmp.hcsWK47IOx/ru_RU 676s run-with-locales: ru_RU.utf8... 676s Character set: UTF-8 676s Source file: ru_RU 676s Output: /tmp/tmp.hcsWK47IOx/ru_RU.utf8 683s run-with-locales: sr_RS=UTF-8... 683s Character set: UTF-8 683s Source file: sr_RS 683s Output: /tmp/tmp.hcsWK47IOx/sr_RS 691s run-with-locales: sr_RS@latin=UTF-8... 691s Character set: UTF-8 691s Source file: sr_RS@latin 691s Output: /tmp/tmp.hcsWK47IOx/sr_RS@latin 697s run-with-locales: sv_SE=ISO-8859-1... 697s Character set: ISO-8859-1 697s Source file: sv_SE 697s Output: /tmp/tmp.hcsWK47IOx/sv_SE 699s run-with-locales: sv_SE.utf8... 699s Character set: UTF-8 699s Source file: sv_SE 699s Output: /tmp/tmp.hcsWK47IOx/sv_SE.utf8 706s run-with-locales: tr_TR=ISO-8859-9... 706s Character set: ISO-8859-9 706s Source file: tr_TR 706s Output: /tmp/tmp.hcsWK47IOx/tr_TR 707s run-with-locales: tr_TR.utf8... 707s Character set: UTF-8 707s Source file: tr_TR 707s Output: /tmp/tmp.hcsWK47IOx/tr_TR.utf8 714s run-with-locales: tt_RU=UTF-8... 714s Character set: UTF-8 714s Source file: tt_RU 714s Output: /tmp/tmp.hcsWK47IOx/tt_RU 721s run-with-locales: tt_RU.utf8... 721s Character set: UTF-8 721s Source file: tt_RU 721s Output: /tmp/tmp.hcsWK47IOx/tt_RU.utf8 728s run-with-locales: tt_RU@iqtelif=UTF-8... 728s Character set: UTF-8 728s Source file: tt_RU@iqtelif 728s Output: /tmp/tmp.hcsWK47IOx/tt_RU@iqtelif 735s /tmp/tmp.hcsWK47IOx 735s /tmp/tmp.hcsWK47IOx/de_DE 735s /tmp/tmp.hcsWK47IOx/de_DE/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/de_DE/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/de_DE/LC_TIME 735s /tmp/tmp.hcsWK47IOx/de_DE/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/de_DE/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/de_DE/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/de_DE/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/de_DE/LC_NAME 735s /tmp/tmp.hcsWK47IOx/de_DE/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/de_DE/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/de_DE/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/de_DE/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/de_DE.utf8 735s /tmp/tmp.hcsWK47IOx/de_DE.utf8/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/de_DE.utf8/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/de_DE.utf8/LC_TIME 735s /tmp/tmp.hcsWK47IOx/de_DE.utf8/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/de_DE.utf8/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/de_DE.utf8/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/de_DE.utf8/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/de_DE.utf8/LC_NAME 735s /tmp/tmp.hcsWK47IOx/de_DE.utf8/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/de_DE.utf8/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/de_DE.utf8/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/de_DE.utf8/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/de_DE@euro.utf8 735s /tmp/tmp.hcsWK47IOx/de_DE@euro.utf8/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/de_DE@euro.utf8/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/de_DE@euro.utf8/LC_TIME 735s /tmp/tmp.hcsWK47IOx/de_DE@euro.utf8/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/de_DE@euro.utf8/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/de_DE@euro.utf8/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/de_DE@euro.utf8/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/de_DE@euro.utf8/LC_NAME 735s /tmp/tmp.hcsWK47IOx/de_DE@euro.utf8/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/de_DE@euro.utf8/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/de_DE@euro.utf8/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/de_DE@euro.utf8/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/el_GR.utf8 735s /tmp/tmp.hcsWK47IOx/el_GR.utf8/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/el_GR.utf8/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/el_GR.utf8/LC_TIME 735s /tmp/tmp.hcsWK47IOx/el_GR.utf8/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/el_GR.utf8/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/el_GR.utf8/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/el_GR.utf8/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/el_GR.utf8/LC_NAME 735s /tmp/tmp.hcsWK47IOx/el_GR.utf8/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/el_GR.utf8/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/el_GR.utf8/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/el_GR.utf8/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/en_GB 735s /tmp/tmp.hcsWK47IOx/en_GB/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/en_GB/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/en_GB/LC_TIME 735s /tmp/tmp.hcsWK47IOx/en_GB/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/en_GB/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/en_GB/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/en_GB/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/en_GB/LC_NAME 735s /tmp/tmp.hcsWK47IOx/en_GB/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/en_GB/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/en_GB/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/en_GB/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/en_GB.utf8 735s /tmp/tmp.hcsWK47IOx/en_GB.utf8/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/en_GB.utf8/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/en_GB.utf8/LC_TIME 735s /tmp/tmp.hcsWK47IOx/en_GB.utf8/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/en_GB.utf8/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/en_GB.utf8/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/en_GB.utf8/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/en_GB.utf8/LC_NAME 735s /tmp/tmp.hcsWK47IOx/en_GB.utf8/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/en_GB.utf8/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/en_GB.utf8/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/en_GB.utf8/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/en_US 735s /tmp/tmp.hcsWK47IOx/en_US/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/en_US/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/en_US/LC_TIME 735s /tmp/tmp.hcsWK47IOx/en_US/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/en_US/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/en_US/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/en_US/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/en_US/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/en_US/LC_NAME 735s /tmp/tmp.hcsWK47IOx/en_US/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/en_US/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/en_US/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/en_US/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/en_US.utf8 735s /tmp/tmp.hcsWK47IOx/en_US.utf8/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/en_US.utf8/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/en_US.utf8/LC_TIME 735s /tmp/tmp.hcsWK47IOx/en_US.utf8/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/en_US.utf8/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/en_US.utf8/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/en_US.utf8/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/en_US.utf8/LC_NAME 735s /tmp/tmp.hcsWK47IOx/en_US.utf8/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/en_US.utf8/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/en_US.utf8/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/en_US.utf8/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/es_ES.utf8 735s /tmp/tmp.hcsWK47IOx/es_ES.utf8/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/es_ES.utf8/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/es_ES.utf8/LC_TIME 735s /tmp/tmp.hcsWK47IOx/es_ES.utf8/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/es_ES.utf8/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/es_ES.utf8/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/es_ES.utf8/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/es_ES.utf8/LC_NAME 735s /tmp/tmp.hcsWK47IOx/es_ES.utf8/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/es_ES.utf8/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/es_ES.utf8/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/es_ES.utf8/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/fa_IR 735s /tmp/tmp.hcsWK47IOx/fa_IR/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/fa_IR/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/fa_IR/LC_TIME 735s /tmp/tmp.hcsWK47IOx/fa_IR/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/fa_IR/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/fa_IR/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/fa_IR/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/fa_IR/LC_NAME 735s /tmp/tmp.hcsWK47IOx/fa_IR/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/fa_IR/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/fa_IR/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/fa_IR/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/fa_IR.utf8 735s /tmp/tmp.hcsWK47IOx/fa_IR.utf8/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/fa_IR.utf8/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/fa_IR.utf8/LC_TIME 735s /tmp/tmp.hcsWK47IOx/fa_IR.utf8/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/fa_IR.utf8/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/fa_IR.utf8/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/fa_IR.utf8/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/fa_IR.utf8/LC_NAME 735s /tmp/tmp.hcsWK47IOx/fa_IR.utf8/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/fa_IR.utf8/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/fa_IR.utf8/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/fa_IR.utf8/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/fr_FR.utf8 735s /tmp/tmp.hcsWK47IOx/fr_FR.utf8/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/fr_FR.utf8/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/fr_FR.utf8/LC_TIME 735s /tmp/tmp.hcsWK47IOx/fr_FR.utf8/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/fr_FR.utf8/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/fr_FR.utf8/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/fr_FR.utf8/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/fr_FR.utf8/LC_NAME 735s /tmp/tmp.hcsWK47IOx/fr_FR.utf8/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/fr_FR.utf8/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/fr_FR.utf8/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/fr_FR.utf8/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/hr_HR.utf8 735s /tmp/tmp.hcsWK47IOx/hr_HR.utf8/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/hr_HR.utf8/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/hr_HR.utf8/LC_TIME 735s /tmp/tmp.hcsWK47IOx/hr_HR.utf8/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/hr_HR.utf8/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/hr_HR.utf8/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/hr_HR.utf8/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/hr_HR.utf8/LC_NAME 735s /tmp/tmp.hcsWK47IOx/hr_HR.utf8/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/hr_HR.utf8/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/hr_HR.utf8/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/hr_HR.utf8/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/ja_JP.utf8 735s /tmp/tmp.hcsWK47IOx/ja_JP.utf8/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/ja_JP.utf8/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/ja_JP.utf8/LC_TIME 735s /tmp/tmp.hcsWK47IOx/ja_JP.utf8/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/ja_JP.utf8/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/ja_JP.utf8/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/ja_JP.utf8/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/ja_JP.utf8/LC_NAME 735s /tmp/tmp.hcsWK47IOx/ja_JP.utf8/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/ja_JP.utf8/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/ja_JP.utf8/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/ja_JP.utf8/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/ja_JP.eucjp 735s /tmp/tmp.hcsWK47IOx/ja_JP.eucjp/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/ja_JP.eucjp/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/ja_JP.eucjp/LC_TIME 735s /tmp/tmp.hcsWK47IOx/ja_JP.eucjp/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/ja_JP.eucjp/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/ja_JP.eucjp/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/ja_JP.eucjp/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/ja_JP.eucjp/LC_NAME 735s /tmp/tmp.hcsWK47IOx/ja_JP.eucjp/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/ja_JP.eucjp/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/ja_JP.eucjp/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/ja_JP.eucjp/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/lt_LT.utf8 735s /tmp/tmp.hcsWK47IOx/lt_LT.utf8/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/lt_LT.utf8/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/lt_LT.utf8/LC_TIME 735s /tmp/tmp.hcsWK47IOx/lt_LT.utf8/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/lt_LT.utf8/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/lt_LT.utf8/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/lt_LT.utf8/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/lt_LT.utf8/LC_NAME 735s /tmp/tmp.hcsWK47IOx/lt_LT.utf8/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/lt_LT.utf8/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/lt_LT.utf8/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/lt_LT.utf8/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/pl_PL 735s /tmp/tmp.hcsWK47IOx/pl_PL/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/pl_PL/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/pl_PL/LC_TIME 735s /tmp/tmp.hcsWK47IOx/pl_PL/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/pl_PL/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/pl_PL/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/pl_PL/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/pl_PL/LC_NAME 735s /tmp/tmp.hcsWK47IOx/pl_PL/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/pl_PL/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/pl_PL/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/pl_PL/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/pl_PL.iso88592 735s /tmp/tmp.hcsWK47IOx/pl_PL.iso88592/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/pl_PL.iso88592/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/pl_PL.iso88592/LC_TIME 735s /tmp/tmp.hcsWK47IOx/pl_PL.iso88592/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/pl_PL.iso88592/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/pl_PL.iso88592/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/pl_PL.iso88592/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/pl_PL.iso88592/LC_NAME 735s /tmp/tmp.hcsWK47IOx/pl_PL.iso88592/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/pl_PL.iso88592/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/pl_PL.iso88592/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/pl_PL.iso88592/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/pl_PL.utf8 735s /tmp/tmp.hcsWK47IOx/pl_PL.utf8/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/pl_PL.utf8/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/pl_PL.utf8/LC_TIME 735s /tmp/tmp.hcsWK47IOx/pl_PL.utf8/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/pl_PL.utf8/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/pl_PL.utf8/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/pl_PL.utf8/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/pl_PL.utf8/LC_NAME 735s /tmp/tmp.hcsWK47IOx/pl_PL.utf8/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/pl_PL.utf8/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/pl_PL.utf8/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/pl_PL.utf8/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/ru_RU 735s /tmp/tmp.hcsWK47IOx/ru_RU/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/ru_RU/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/ru_RU/LC_TIME 735s /tmp/tmp.hcsWK47IOx/ru_RU/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/ru_RU/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/ru_RU/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/ru_RU/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/ru_RU/LC_NAME 735s /tmp/tmp.hcsWK47IOx/ru_RU/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/ru_RU/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/ru_RU/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/ru_RU/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/ru_RU.utf8 735s /tmp/tmp.hcsWK47IOx/ru_RU.utf8/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/ru_RU.utf8/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/ru_RU.utf8/LC_TIME 735s /tmp/tmp.hcsWK47IOx/ru_RU.utf8/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/ru_RU.utf8/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/ru_RU.utf8/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/ru_RU.utf8/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/ru_RU.utf8/LC_NAME 735s /tmp/tmp.hcsWK47IOx/ru_RU.utf8/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/ru_RU.utf8/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/ru_RU.utf8/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/ru_RU.utf8/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/sr_RS 735s /tmp/tmp.hcsWK47IOx/sr_RS/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/sr_RS/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/sr_RS/LC_TIME 735s /tmp/tmp.hcsWK47IOx/sr_RS/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/sr_RS/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/sr_RS/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/sr_RS/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/sr_RS/LC_NAME 735s /tmp/tmp.hcsWK47IOx/sr_RS/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/sr_RS/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/sr_RS/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/sr_RS/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/sr_RS@latin 735s /tmp/tmp.hcsWK47IOx/sr_RS@latin/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/sr_RS@latin/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/sr_RS@latin/LC_TIME 735s /tmp/tmp.hcsWK47IOx/sr_RS@latin/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/sr_RS@latin/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/sr_RS@latin/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/sr_RS@latin/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/sr_RS@latin/LC_NAME 735s /tmp/tmp.hcsWK47IOx/sr_RS@latin/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/sr_RS@latin/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/sr_RS@latin/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/sr_RS@latin/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/sv_SE 735s /tmp/tmp.hcsWK47IOx/sv_SE/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/sv_SE/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/sv_SE/LC_TIME 735s /tmp/tmp.hcsWK47IOx/sv_SE/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/sv_SE/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/sv_SE/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/sv_SE/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/sv_SE/LC_NAME 735s /tmp/tmp.hcsWK47IOx/sv_SE/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/sv_SE/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/sv_SE/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/sv_SE/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/sv_SE.utf8 735s /tmp/tmp.hcsWK47IOx/sv_SE.utf8/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/sv_SE.utf8/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/sv_SE.utf8/LC_TIME 735s /tmp/tmp.hcsWK47IOx/sv_SE.utf8/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/sv_SE.utf8/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/sv_SE.utf8/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/sv_SE.utf8/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/sv_SE.utf8/LC_NAME 735s /tmp/tmp.hcsWK47IOx/sv_SE.utf8/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/sv_SE.utf8/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/sv_SE.utf8/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/sv_SE.utf8/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/tr_TR 735s /tmp/tmp.hcsWK47IOx/tr_TR/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/tr_TR/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/tr_TR/LC_TIME 735s /tmp/tmp.hcsWK47IOx/tr_TR/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/tr_TR/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/tr_TR/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/tr_TR/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/tr_TR/LC_NAME 735s /tmp/tmp.hcsWK47IOx/tr_TR/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/tr_TR/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/tr_TR/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/tr_TR/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/tr_TR.utf8 735s /tmp/tmp.hcsWK47IOx/tr_TR.utf8/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/tr_TR.utf8/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/tr_TR.utf8/LC_TIME 735s /tmp/tmp.hcsWK47IOx/tr_TR.utf8/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/tr_TR.utf8/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/tr_TR.utf8/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/tr_TR.utf8/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/tr_TR.utf8/LC_NAME 735s /tmp/tmp.hcsWK47IOx/tr_TR.utf8/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/tr_TR.utf8/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/tr_TR.utf8/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/tr_TR.utf8/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/tt_RU 735s /tmp/tmp.hcsWK47IOx/tt_RU/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/tt_RU/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/tt_RU/LC_TIME 735s /tmp/tmp.hcsWK47IOx/tt_RU/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/tt_RU/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/tt_RU/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/tt_RU/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/tt_RU/LC_NAME 735s /tmp/tmp.hcsWK47IOx/tt_RU/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/tt_RU/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/tt_RU/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/tt_RU/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/tt_RU.utf8 735s /tmp/tmp.hcsWK47IOx/tt_RU.utf8/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/tt_RU.utf8/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/tt_RU.utf8/LC_TIME 735s /tmp/tmp.hcsWK47IOx/tt_RU.utf8/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/tt_RU.utf8/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/tt_RU.utf8/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/tt_RU.utf8/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/tt_RU.utf8/LC_NAME 735s /tmp/tmp.hcsWK47IOx/tt_RU.utf8/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/tt_RU.utf8/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/tt_RU.utf8/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/tt_RU.utf8/LC_IDENTIFICATION 735s /tmp/tmp.hcsWK47IOx/tt_RU@iqtelif 735s /tmp/tmp.hcsWK47IOx/tt_RU@iqtelif/LC_CTYPE 735s /tmp/tmp.hcsWK47IOx/tt_RU@iqtelif/LC_NUMERIC 735s /tmp/tmp.hcsWK47IOx/tt_RU@iqtelif/LC_TIME 735s /tmp/tmp.hcsWK47IOx/tt_RU@iqtelif/LC_COLLATE 735s /tmp/tmp.hcsWK47IOx/tt_RU@iqtelif/LC_MONETARY 735s /tmp/tmp.hcsWK47IOx/tt_RU@iqtelif/LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 735s /tmp/tmp.hcsWK47IOx/tt_RU@iqtelif/LC_PAPER 735s /tmp/tmp.hcsWK47IOx/tt_RU@iqtelif/LC_NAME 735s /tmp/tmp.hcsWK47IOx/tt_RU@iqtelif/LC_ADDRESS 735s /tmp/tmp.hcsWK47IOx/tt_RU@iqtelif/LC_TELEPHONE 735s /tmp/tmp.hcsWK47IOx/tt_RU@iqtelif/LC_MEASUREMENT 735s /tmp/tmp.hcsWK47IOx/tt_RU@iqtelif/LC_IDENTIFICATION 735s 1..315 735s # Running test: glib/module-test-library.test 735s TAP version 13 735s # random seed: R02Sd39d86014e12892d875be1b4621a2ec9 735s 1..2 735s # Start of module tests 735s ok 1 /module/basics 735s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 735s ok 2 /module/invalid-libtool-archive 735s # End of module tests 735s ok - glib/module-test-library.test 735s # Running test: glib/power-profile-monitor-dbus.test 735s TAP version 13 735s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 735s 1..1 735s ok - glib/power-profile-monitor-dbus.test 735s # Running test: glib/rcbox.test 735s TAP version 13 735s # random seed: R02S8b4d798eb4e41718133006af6762214c 735s 1..8 735s # Start of rcbox tests 735s ok 1 /rcbox/new 735s # global_point = 0x115a0a8 735s ok 2 /rcbox/release-full 735s # global_point_a = 0x115a0a8 735s # global_point_b = 0x1161fa8 735s ok 3 /rcbox/dup 735s ok 4 /rcbox/alignment 735s # End of rcbox tests 735s # Start of atomic-rcbox tests 735s ok 5 /atomic-rcbox/new 735s # global_point = 0x115a1d8 735s ok 6 /atomic-rcbox/release-full 735s # global_point_a = 0x115a1d8 735s # global_point_b = 0x115a1b8 735s ok 7 /atomic-rcbox/dup 735s ok 8 /atomic-rcbox/alignment 735s # End of atomic-rcbox tests 735s ok - glib/rcbox.test 736s # Running test: glib/atomic.test 736s TAP version 13 736s # random seed: R02S7077d268d7527d562508adf6b5015ca1 736s 1..2 736s # Start of atomic tests 736s ok 1 /atomic/types 736s ok 2 /atomic/threaded 736s # End of atomic tests 736s ok - glib/atomic.test 736s # Running test: glib/dynamictests.test 736s TAP version 13 736s # random seed: R02S7092c33502bda258210999874c271840 736s 1..2 736s # Start of GObject tests 736s ok 1 /GObject/threaded-dynamic-ref-unref-init 736s ok 2 /GObject/dynamic-interface-properties 736s # End of GObject tests 736s ok - glib/dynamictests.test 736s # Running test: glib/convert.test 736s TAP version 13 736s # random seed: R02Sd1aa3d47f201ca13fd5412ed028bf84f 736s 1..14 736s # Start of conversion tests 736s ok 1 /conversion/no-conv 736s ok 2 /conversion/iconv-state 736s ok 3 /conversion/illegal-sequence 736s ok 4 /conversion/byte-order 736s ok 5 /conversion/unicode 736s ok 6 /conversion/filename-utf8 736s ok 7 /conversion/filename-display 736s ok 8 /conversion/convert-embedded-nul 736s # Start of locale-to-utf8 tests 736s ok 9 /conversion/locale-to-utf8/embedded-nul 736s # Start of embedded-nul tests 736s # Start of subprocess tests 736s # End of subprocess tests 736s # End of embedded-nul tests 736s # End of locale-to-utf8 tests 736s # Start of locale-from-utf8 tests 736s ok 10 /conversion/locale-from-utf8/embedded-nul 736s # Start of embedded-nul tests 736s # Start of subprocess tests 736s # End of subprocess tests 736s # End of embedded-nul tests 736s # End of locale-from-utf8 tests 736s # Start of filename-to-utf8 tests 736s ok 11 /conversion/filename-to-utf8/embedded-nul 736s # Start of embedded-nul tests 736s # Start of subprocess tests 736s # End of subprocess tests 736s # End of embedded-nul tests 736s # End of filename-to-utf8 tests 736s # Start of filename-from-utf8 tests 736s ok 12 /conversion/filename-from-utf8/embedded-nul 736s # Start of embedded-nul tests 736s # Start of subprocess tests 736s # End of subprocess tests 736s # End of embedded-nul tests 736s # End of filename-from-utf8 tests 736s # Start of filename-from-uri tests 736s ok 13 /conversion/filename-from-uri/query-is-ignored 736s ok 14 /conversion/filename-from-uri/fragment-is-ignored 736s # End of filename-from-uri tests 736s # End of conversion tests 736s ok - glib/convert.test 736s # Running test: glib/cxx-11.test 736s TAP version 13 736s # random seed: R02S1fe1efff8a7d53b43ffbdc24c1b5cac6 736s 1..2 736s # Start of gtask tests 736s # 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. 736s ok 1 /gtask/name 736s # Start of name tests 736s # 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. 736s ok 2 /gtask/name/macro-wrapper 736s # End of name tests 736s # End of gtask tests 736s ok - glib/cxx-11.test 736s # Running test: glib/tls-interaction.test 736s TAP version 13 736s # random seed: R02S082f45065d64537172f944fbfbd3e053 736s 1..42 736s # Start of tls-interaction tests 736s # Start of ask-password tests 736s # Start of invoke-with-loop tests 736s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 736s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 736s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 736s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 736s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 736s # End of invoke-with-loop tests 736s # Start of invoke-without-loop tests 736s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 736s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 736s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 736s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 736s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 736s # End of invoke-without-loop tests 736s # Start of invoke-in-loop tests 736s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 736s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 736s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 736s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 736s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 736s # End of invoke-in-loop tests 736s # Start of sync tests 736s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 736s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 736s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 736s # End of sync tests 736s # Start of async tests 736s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 736s ok 20 /tls-interaction/ask-password/async/async-implementation-success 736s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 736s # End of async tests 736s # End of ask-password tests 736s # Start of request-certificate tests 736s # Start of invoke-with-loop tests 736s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 736s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 736s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 736s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 736s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 736s # End of invoke-with-loop tests 736s # Start of invoke-without-loop tests 736s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 736s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 736s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 736s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 736s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 736s # End of invoke-without-loop tests 736s # Start of invoke-in-loop tests 736s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 736s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 736s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 736s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 736s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 736s # End of invoke-in-loop tests 736s # Start of sync tests 736s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 736s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 736s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 736s # End of sync tests 736s # Start of async tests 736s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 736s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 736s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 736s # End of async tests 736s # End of request-certificate tests 736s # End of tls-interaction tests 736s ok - glib/tls-interaction.test 736s # Running test: glib/resolver-parsing.test 736s TAP version 13 736s # random seed: R02S9980447fab4656d4bd60e985fd70c45f 736s 1..20 736s # Start of gresolver tests 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/invalid-header/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/invalid-header/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/invalid-header/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/invalid-header/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/invalid-header/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/invalid-header/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/invalid-header/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/invalid-header/.dirs/runtime 736s ok 1 /gresolver/invalid-header 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/unknown-record-type/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/unknown-record-type/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/unknown-record-type/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/unknown-record-type/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/unknown-record-type/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/unknown-record-type/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/unknown-record-type/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/unknown-record-type/.dirs/runtime 736s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 736s ok 2 /gresolver/unknown-record-type 736s # Start of mx tests 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/valid/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/valid/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/mx/valid/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/valid/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/mx/valid/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/valid/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/valid/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/valid/.dirs/runtime 736s ok 3 /gresolver/mx/valid 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/.dirs/runtime 736s ok 4 /gresolver/mx/invalid 736s # Start of invalid tests 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short/.dirs/runtime 736s ok 5 /gresolver/mx/invalid/too-short 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short2/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short2/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short2/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short2/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short2/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short2/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short2/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/mx/invalid/too-short2/.dirs/runtime 736s ok 6 /gresolver/mx/invalid/too-short2 736s # End of invalid tests 736s # End of mx tests 736s # Start of ns tests 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/ns/valid/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/ns/valid/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/ns/valid/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/ns/valid/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/ns/valid/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/ns/valid/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/ns/valid/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/ns/valid/.dirs/runtime 736s ok 7 /gresolver/ns/valid 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/ns/invalid/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/ns/invalid/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/ns/invalid/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/ns/invalid/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/ns/invalid/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/ns/invalid/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/ns/invalid/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/ns/invalid/.dirs/runtime 736s ok 8 /gresolver/ns/invalid 736s # End of ns tests 736s # Start of soa tests 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/valid/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/valid/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/soa/valid/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/valid/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/soa/valid/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/valid/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/valid/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/valid/.dirs/runtime 736s ok 9 /gresolver/soa/valid 736s # Start of invalid tests 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/mname/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/mname/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/mname/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/mname/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/mname/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/mname/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/mname/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/mname/.dirs/runtime 736s ok 10 /gresolver/soa/invalid/mname 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/rname/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/rname/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/rname/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/rname/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/rname/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/rname/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/rname/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/rname/.dirs/runtime 736s ok 11 /gresolver/soa/invalid/rname 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/too-short/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/too-short/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/too-short/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/too-short/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/too-short/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/too-short/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/too-short/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/soa/invalid/too-short/.dirs/runtime 736s ok 12 /gresolver/soa/invalid/too-short 736s # End of invalid tests 736s # End of soa tests 736s # Start of srv tests 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/valid/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/valid/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/srv/valid/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/valid/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/srv/valid/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/valid/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/valid/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/valid/.dirs/runtime 736s ok 13 /gresolver/srv/valid 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/.dirs/runtime 736s ok 14 /gresolver/srv/invalid 736s # Start of invalid tests 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short/.dirs/runtime 736s ok 15 /gresolver/srv/invalid/too-short 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short2/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short2/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short2/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short2/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short2/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short2/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short2/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/srv/invalid/too-short2/.dirs/runtime 736s ok 16 /gresolver/srv/invalid/too-short2 736s # End of invalid tests 736s # End of srv tests 736s # Start of txt tests 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/.dirs/runtime 736s ok 17 /gresolver/txt/valid 736s # Start of valid tests 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/multiple-strings/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/multiple-strings/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/multiple-strings/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/multiple-strings/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/multiple-strings/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/valid/multiple-strings/.dirs/runtime 736s ok 18 /gresolver/txt/valid/multiple-strings 736s # End of valid tests 736s # Start of invalid tests 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/empty/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/empty/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/empty/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/empty/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/empty/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/empty/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/empty/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/empty/.dirs/runtime 736s ok 19 /gresolver/txt/invalid/empty 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/overflow/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/overflow/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/overflow/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/overflow/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/overflow/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/overflow/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/overflow/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2TMJK2/gresolver/txt/invalid/overflow/.dirs/runtime 736s ok 20 /gresolver/txt/invalid/overflow 736s # End of invalid tests 736s # End of txt tests 736s # End of gresolver tests 736s ok - glib/resolver-parsing.test 736s # Running test: glib/qdata.test 736s TAP version 13 736s # random seed: R02S529e9f8ba373a9e12516c41bd15ba899 736s 1..2 736s # Start of qdata tests 737s ok 1 /qdata/threaded 737s # slow test /qdata/threaded executed in 0.50 secs 737s ok 2 /qdata/dup 737s # End of qdata tests 737s ok - glib/qdata.test 737s # Running test: glib/performance-threaded.test 737s Running test "liststore-is-a" 738s 2572 runs, min/avg/max = 0.379/0.384/0.655 ms 738s Running test "liststore-interface-peek" 739s 4112 runs, min/avg/max = 0.234/0.238/0.579 ms 739s Running test "liststore-interface-peek-same" 740s 4143 runs, min/avg/max = 0.234/0.237/0.496 ms 740s ok - glib/performance-threaded.test 740s # Running test: glib/file-thumbnail.test 740s TAP version 13 740s # random seed: R02Sa300e9502090c8a2b7e20c820a31b7f8 740s 1..7 740s # Start of file-thumbnail tests 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/fail/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/fail/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_8CIRK2/file-thumbnail/fail/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/fail/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_8CIRK2/file-thumbnail/fail/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/fail/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/fail/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/fail/.dirs/runtime 740s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 740s # Created test thumbnail at /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 740s ok 1 /file-thumbnail/fail 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/size-priority/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/size-priority/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_8CIRK2/file-thumbnail/size-priority/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/size-priority/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_8CIRK2/file-thumbnail/size-priority/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/size-priority/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/size-priority/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/size-priority/.dirs/runtime 740s # Created test thumbnail at /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 740s # Created test thumbnail at /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 740s # Created test thumbnail at /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 740s # Created test thumbnail at /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 740s # Created test thumbnail at /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 740s ok 2 /file-thumbnail/size-priority 740s # Start of valid tests 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/normal/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/normal/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/normal/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/normal/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/normal/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/normal/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/normal/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/normal/.dirs/runtime 740s # Created test thumbnail at /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 740s ok 3 /file-thumbnail/valid/normal 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/large/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/large/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/large/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/large/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/large/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/large/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/large/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/large/.dirs/runtime 740s # Created test thumbnail at /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 740s ok 4 /file-thumbnail/valid/large 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/x-large/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/x-large/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/x-large/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/x-large/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/x-large/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/x-large/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/x-large/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/x-large/.dirs/runtime 740s # Created test thumbnail at /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 740s ok 5 /file-thumbnail/valid/x-large 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/xx-large/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/xx-large/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/xx-large/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/xx-large/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/xx-large/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/xx-large/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/xx-large/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/xx-large/.dirs/runtime 740s # Created test thumbnail at /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 740s ok 6 /file-thumbnail/valid/xx-large 740s # End of valid tests 740s # Start of unknown tests 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/unknown/super-large/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/unknown/super-large/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_8CIRK2/file-thumbnail/unknown/super-large/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/unknown/super-large/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_8CIRK2/file-thumbnail/unknown/super-large/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/unknown/super-large/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/unknown/super-large/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/unknown/super-large/.dirs/runtime 740s # Created test thumbnail at /tmp/test_file-thumbnail_8CIRK2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 740s ok 7 /file-thumbnail/unknown/super-large 740s # End of unknown tests 740s # End of file-thumbnail tests 740s # Executing: glib/file-thumbnail.test 740s ok - glib/file-thumbnail.test 740s # Running test: glib/gdbus-threading.test 740s TAP version 13 740s # random seed: R02Sa57adba36ce4334a111efdcaa85b43e5 740s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 740s ok - glib/gdbus-threading.test 740s # Running test: glib/queue.test 740s TAP version 13 740s # random seed: R02S8471c81839503f23f874d1cf6c129708 740s 1..12 740s # Start of queue tests 740s ok 1 /queue/basic 740s ok 2 /queue/copy 740s ok 3 /queue/off-by-one 740s ok 4 /queue/find-custom 740s ok 5 /queue/static 740s ok 6 /queue/clear 740s ok 7 /queue/free-full 740s ok 8 /queue/clear-full 740s ok 9 /queue/insert-sibling-link 740s ok 10 /queue/push-nth-link 740s # Start of clear-full tests 740s ok 11 /queue/clear-full/noop 740s # End of clear-full tests 740s # Start of random tests 740s ok 12 /queue/random/seed:426865730 740s # slow test /queue/random/seed:426865730 executed in 0.52 secs 740s # End of random tests 740s # End of queue tests 740s ok - glib/queue.test 740s # Running test: glib/memory-settings-backend.test 740s TAP version 13 740s # random seed: R02Sb33f4c59ccc0a44a12dde645caaea66d 740s 1..1 740s # Start of memory-settings-backend tests 740s ok 1 /memory-settings-backend/extension-point-registered 740s # End of memory-settings-backend tests 740s ok - glib/memory-settings-backend.test 740s # Running test: glib/flags.test 740s TAP version 13 740s # random seed: R02S48d00e0065da866e7f2c8bdd36682290 740s 1..1 740s # Start of gobject tests 740s # Start of flags tests 740s ok 1 /gobject/flags/validate 740s # End of flags tests 740s # End of gobject tests 740s ok - glib/flags.test 740s # Running test: glib/gobject-query.py.test 740s TAP version 13 740s ok 1 __main__.TestGobjectQuery.test_froots 740s # gobject-query: /usr/bin/gobject-query 740s # Running: ['/usr/bin/gobject-query', 'froots'] 740s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 740s # Output: ├void 740s # ├GInterface 740s # │ └GTypePlugin 740s # ├gchar 740s # ├guchar 740s # ├gboolean 740s # ├gint 740s # ├guint 740s # ├glong 740s # ├gulong 740s # ├gint64 740s # ├guint64 740s # ├GEnum 740s # ├GFlags 740s # ├gfloat 740s # ├gdouble 740s # ├gchararray 740s # ├gpointer 740s # │ └GType 740s # ├GBoxed 740s # │ └GValueArray 740s # ├GParam 740s # │ ├GParamChar 740s # │ ├GParamUChar 740s # │ ├GParamBoolean 740s # │ ├GParamInt 740s # │ ├GParamUInt 740s # │ ├GParamLong 740s # │ ├GParamULong 740s # │ ├GParamInt64 740s # │ ├GParamUInt64 740s # │ ├GParamUnichar 740s # │ ├GParamEnum 740s # │ ├GParamFlags 740s # │ ├GParamFloat 740s # │ ├GParamDouble 740s # │ ├GParamString 740s # │ ├GParamParam 740s # │ ├GParamBoxed 740s # │ ├GParamPointer 740s # │ ├GParamValueArray 740s # │ ├GParamObject 740s # │ ├GParamOverride 740s # │ ├GParamGType 740s # │ └GParamVariant 740s # ├GObject 740s # └GVariant 740s ok 2 __main__.TestGobjectQuery.test_help 740s # gobject-query: /usr/bin/gobject-query 740s # Running: ['/usr/bin/gobject-query', '--help'] 740s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 740s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 740s # -r specify root type 740s # -n don't descend type tree 740s # -h show help 740s # -b specify indent string 740s # -i specify incremental indent string 740s # -s specify line spacing 740s # qualifiers: 740s # froots iterate over fundamental roots 740s # tree print type tree 740s ok 3 __main__.TestGobjectQuery.test_tree 740s # gobject-query: /usr/bin/gobject-query 740s # Running: ['/usr/bin/gobject-query', 'tree'] 740s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 740s # Output: GObject 740s ok 4 __main__.TestGobjectQuery.test_version 740s # gobject-query: /usr/bin/gobject-query 740s # Running: ['/usr/bin/gobject-query', '--version'] 740s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 740s # Output: 2.79.2 740s 1..4 740s ok - glib/gobject-query.py.test 740s # Running test: glib/unicode.test 740s TAP version 13 740s # random seed: R02S30e76c5643105d0326a476cd58fac78e 740s 1..39 740s # Start of unicode tests 740s ok 1 /unicode/alnum 740s ok 2 /unicode/alpha 740s ok 3 /unicode/break-type 740s ok 4 /unicode/canonical-decomposition 740s ok 5 /unicode/casefold 740s # Cannot set locale to lt_LT, skipping 740s # Cannot set locale to lt_LT, skipping 740s # Cannot set locale to lt_LT, skipping 740s # Cannot set locale to lt_LT, skipping 740s # Cannot set locale to lt_LT, skipping 740s # Cannot set locale to lt_LT, skipping 740s # Cannot set locale to lt_LT, skipping 740s # Cannot set locale to lt_LT, skipping 740s # Cannot set locale to lt_LT, skipping 740s # Cannot set locale to lt_LT, skipping 740s # Cannot set locale to lt_LT, skipping 740s ok 6 /unicode/casemap_and_casefold 740s ok 7 /unicode/cases 740s ok 8 /unicode/character-type 740s ok 9 /unicode/cntrl 740s ok 10 /unicode/combining-class 740s ok 11 /unicode/compose 740s ok 12 /unicode/decompose 740s ok 13 /unicode/decompose-tail 740s ok 14 /unicode/defined 740s ok 15 /unicode/digit 740s ok 16 /unicode/digit-value 740s ok 17 /unicode/fully-decompose-canonical 741s ok 18 /unicode/fully-decompose-len 741s ok 19 /unicode/normalization 741s ok 20 /unicode/graph 741s # Testing script Zyyy (code 1517910393) 741s # Testing script Zinh (code 1516858984) 741s # Testing script Zmth (code 1517122664) 741s # Testing script Arab (code 1098015074) 741s # Testing script Armn (code 1098018158) 741s # Testing script Beng (code 1113943655) 741s # Testing script Bopo (code 1114599535) 741s # Testing script Cher (code 1130915186) 741s # Testing script Copt (code 1131376756) 741s # Testing script Cyrl (code 1132032620) 741s # Testing script Dsrt (code 1148416628) 741s # Testing script Deva (code 1147500129) 741s # Testing script Ethi (code 1165256809) 741s # Testing script Geor (code 1197830002) 741s # Testing script Goth (code 1198486632) 741s # Testing script Grek (code 1198679403) 741s # Testing script Gujr (code 1198877298) 741s # Testing script Guru (code 1198879349) 741s # Testing script Hani (code 1214344809) 741s # Testing script Hang (code 1214344807) 741s # Testing script Hebr (code 1214603890) 741s # Testing script Hira (code 1214870113) 741s # Testing script Knda (code 1265525857) 741s # Testing script Kana (code 1264676449) 741s # Testing script Khmr (code 1265134962) 741s # Testing script Laoo (code 1281453935) 741s # Testing script Latn (code 1281455214) 741s # Testing script Mlym (code 1298954605) 741s # Testing script Mong (code 1299148391) 741s # Testing script Mymr (code 1299803506) 741s # Testing script Ogam (code 1332175213) 741s # Testing script Ital (code 1232363884) 741s # Testing script Orya (code 1332902241) 741s # Testing script Runr (code 1383427698) 741s # Testing script Sinh (code 1399418472) 741s # Testing script Syrc (code 1400468067) 741s # Testing script Taml (code 1415671148) 741s # Testing script Telu (code 1415933045) 741s # Testing script Thaa (code 1416126817) 741s # Testing script Thai (code 1416126825) 741s # Testing script Tibt (code 1416192628) 741s # Testing script Cans (code 1130458739) 741s # Testing script Yiii (code 1500080489) 741s # Testing script Tglg (code 1416064103) 741s # Testing script Hano (code 1214344815) 741s # Testing script Buhd (code 1114990692) 741s # Testing script Tagb (code 1415669602) 741s # Testing script Brai (code 1114792297) 741s # Testing script Cprt (code 1131442804) 741s # Testing script Limb (code 1281977698) 741s # Testing script Osma (code 1332964705) 741s # Testing script Shaw (code 1399349623) 741s # Testing script Linb (code 1281977954) 741s # Testing script Tale (code 1415670885) 741s # Testing script Ugar (code 1432838514) 741s # Testing script Talu (code 1415670901) 741s # Testing script Bugi (code 1114990441) 741s # Testing script Glag (code 1198285159) 741s # Testing script Tfng (code 1415999079) 741s # Testing script Sylo (code 1400466543) 741s # Testing script Xpeo (code 1483761007) 741s # Testing script Khar (code 1265131890) 741s # Testing script Zzzz (code 1517976186) 741s # Testing script Bali (code 1113681001) 741s # Testing script Xsux (code 1483961720) 741s # Testing script Phnx (code 1349021304) 741s # Testing script Phag (code 1349017959) 741s # Testing script Nkoo (code 1315663727) 741s # Testing script Kali (code 1264675945) 741s # Testing script Lepc (code 1281716323) 741s # Testing script Rjng (code 1382706791) 741s # Testing script Sund (code 1400204900) 741s # Testing script Saur (code 1398895986) 741s # Testing script Cham (code 1130914157) 741s # Testing script Olck (code 1332503403) 741s # Testing script Vaii (code 1449224553) 741s # Testing script Cari (code 1130459753) 741s # Testing script Lyci (code 1283023721) 741s # Testing script Lydi (code 1283023977) 741s # Testing script Avst (code 1098281844) 741s # Testing script Bamu (code 1113681269) 741s # Testing script Egyp (code 1164409200) 741s # Testing script Armi (code 1098018153) 741s # Testing script Phli (code 1349020777) 741s # Testing script Prti (code 1349678185) 741s # Testing script Java (code 1247901281) 741s # Testing script Kthi (code 1265920105) 741s # Testing script Lisu (code 1281979253) 741s # Testing script Mtei (code 1299473769) 741s # Testing script Sarb (code 1398895202) 741s # Testing script Orkh (code 1332898664) 741s # Testing script Samr (code 1398893938) 741s # Testing script Lana (code 1281453665) 741s # Testing script Tavt (code 1415673460) 741s # Testing script Batk (code 1113683051) 741s # Testing script Brah (code 1114792296) 741s # Testing script Mand (code 1298230884) 741s # Testing script Cakm (code 1130457965) 741s # Testing script Merc (code 1298494051) 741s # Testing script Mero (code 1298494063) 741s # Testing script Plrd (code 1349284452) 741s # Testing script Shrd (code 1399353956) 741s # Testing script Sora (code 1399812705) 741s # Testing script Takr (code 1415670642) 741s # Testing script Bass (code 1113682803) 741s # Testing script Aghb (code 1097295970) 741s # Testing script Dupl (code 1148547180) 741s # Testing script Elba (code 1164730977) 741s # Testing script Gran (code 1198678382) 741s # Testing script Khoj (code 1265135466) 741s # Testing script Sind (code 1399418468) 741s # Testing script Lina (code 1281977953) 741s # Testing script Mahj (code 1298229354) 741s # Testing script Mani (code 1298230889) 741s # Testing script Mend (code 1298493028) 741s # Testing script Modi (code 1299145833) 741s # Testing script Mroo (code 1299345263) 741s # Testing script Nbat (code 1315070324) 741s # Testing script Narb (code 1315009122) 741s # Testing script Perm (code 1348825709) 741s # Testing script Hmng (code 1215131239) 741s # Testing script Palm (code 1348562029) 741s # Testing script Pauc (code 1348564323) 741s # Testing script Phlp (code 1349020784) 741s # Testing script Sidd (code 1399415908) 741s # Testing script Tirh (code 1416196712) 741s # Testing script Wara (code 1466004065) 741s # Testing script Ahom (code 1097363309) 741s # Testing script Hluw (code 1215067511) 741s # Testing script Hatr (code 1214346354) 741s # Testing script Mult (code 1299541108) 741s # Testing script Hung (code 1215655527) 741s # Testing script Sgnw (code 1399287415) 741s # Testing script Adlm (code 1097100397) 741s # Testing script Bhks (code 1114139507) 741s # Testing script Marc (code 1298231907) 741s # Testing script Newa (code 1315272545) 741s # Testing script Osge (code 1332963173) 741s # Testing script Tang (code 1415671399) 741s # Testing script Gonm (code 1198485101) 741s # Testing script Nshu (code 1316186229) 741s # Testing script Soyo (code 1399814511) 741s # Testing script Zanb (code 1516334690) 741s # Testing script Dogr (code 1148151666) 741s # Testing script Gong (code 1198485095) 741s # Testing script Rohg (code 1383032935) 741s # Testing script Maka (code 1298230113) 741s # Testing script Medf (code 1298490470) 741s # Testing script Sogo (code 1399809903) 741s # Testing script Sogd (code 1399809892) 741s # Testing script Elym (code 1164736877) 741s # Testing script Nand (code 1315008100) 741s # Testing script Hmnp (code 1215131248) 741s # Testing script Wcho (code 1466132591) 741s # Testing script Chrs (code 1130918515) 741s # Testing script Diak (code 1147756907) 741s # Testing script Kits (code 1265202291) 741s # Testing script Yezi (code 1499822697) 741s # Testing script Cpmn (code 1131441518) 741s # Testing script Ougr (code 1333094258) 741s # Testing script Tnsa (code 1416524641) 741s # Testing script Toto (code 1416590447) 741s # Testing script Vith (code 1449751656) 741s # Testing script Kawi (code 1264678761) 741s # Testing script Nagm (code 1315006317) 741s ok 21 /unicode/iso15924 741s ok 22 /unicode/lower 741s ok 23 /unicode/mark 741s ok 24 /unicode/mirror 741s ok 25 /unicode/print 741s ok 26 /unicode/punctuation 741s ok 27 /unicode/script 741s ok 28 /unicode/space 741s ok 29 /unicode/strdown 741s ok 30 /unicode/strup 741s ok 31 /unicode/turkish-strupdown 741s ok 32 /unicode/title 741s ok 33 /unicode/upper 741s ok 34 /unicode/validate 741s ok 35 /unicode/wide 741s ok 36 /unicode/xdigit 741s ok 37 /unicode/xdigit-value 741s ok 38 /unicode/zero-width 741s ok 39 /unicode/normalize 741s # End of unicode tests 741s ok - glib/unicode.test 741s # Running test: glib/pathbuf.test 741s TAP version 13 741s # random seed: R02S783ff3dc0e71d060430c27c330f1bf33 741s 1..3 741s # Start of pathbuf tests 741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_IUKTK2/pathbuf/init/.dirs/home 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_IUKTK2/pathbuf/init/.dirs/cache 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_IUKTK2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_IUKTK2/pathbuf/init/.dirs/system-config2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_IUKTK2/pathbuf/init/.dirs/config 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_IUKTK2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_IUKTK2/pathbuf/init/.dirs/system-data2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_IUKTK2/pathbuf/init/.dirs/data 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_IUKTK2/pathbuf/init/.dirs/state 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_IUKTK2/pathbuf/init/.dirs/runtime 741s # Initializing empty path buf 741s # Initializing with empty path 741s # Initializing with full path 741s # Initializing with no path 741s # Allocating GPathBuf on the heap 741s ok 1 /pathbuf/init 741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_IUKTK2/pathbuf/push-pop/.dirs/home 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_IUKTK2/pathbuf/push-pop/.dirs/cache 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_IUKTK2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_IUKTK2/pathbuf/push-pop/.dirs/system-config2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_IUKTK2/pathbuf/push-pop/.dirs/config 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_IUKTK2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_IUKTK2/pathbuf/push-pop/.dirs/system-data2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_IUKTK2/pathbuf/push-pop/.dirs/data 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_IUKTK2/pathbuf/push-pop/.dirs/state 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_IUKTK2/pathbuf/push-pop/.dirs/runtime 741s # Pushing relative path component 741s # Pushing absolute path component 741s # Popping a path component 741s # Can't pop the last element of a path buffer 741s ok 2 /pathbuf/push-pop 741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_IUKTK2/pathbuf/filename-extension/.dirs/home 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_IUKTK2/pathbuf/filename-extension/.dirs/cache 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_IUKTK2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_IUKTK2/pathbuf/filename-extension/.dirs/system-config2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_IUKTK2/pathbuf/filename-extension/.dirs/config 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_IUKTK2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_IUKTK2/pathbuf/filename-extension/.dirs/system-data2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_IUKTK2/pathbuf/filename-extension/.dirs/data 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_IUKTK2/pathbuf/filename-extension/.dirs/state 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_IUKTK2/pathbuf/filename-extension/.dirs/runtime 741s ok 3 /pathbuf/filename-extension 741s # End of pathbuf tests 741s ok - glib/pathbuf.test 741s # Running test: glib/portal-support-snap.test 741s TAP version 13 741s # random seed: R02S0c81492ce3834f63d5de397f150448f5 741s 1..7 741s # Start of portal-support tests 741s # Start of snap tests 741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/no-snapctl/.dirs/home 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/no-snapctl/.dirs/cache 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_QW7SK2/portal-support/snap/no-snapctl/.dirs/system-config2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/no-snapctl/.dirs/config 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_QW7SK2/portal-support/snap/no-snapctl/.dirs/system-data2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/no-snapctl/.dirs/data 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/no-snapctl/.dirs/state 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/no-snapctl/.dirs/runtime 741s # Created snap.yaml in /tmp/test_portal-support-snap_QW7SK2/meta/snap.yaml 741s ok 1 /portal-support/snap/no-snapctl 741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/none/.dirs/home 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/none/.dirs/cache 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_QW7SK2/portal-support/snap/none/.dirs/system-config2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/none/.dirs/config 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_QW7SK2/portal-support/snap/none/.dirs/system-data2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/none/.dirs/data 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/none/.dirs/state 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/none/.dirs/runtime 741s # Created snap.yaml in /tmp/test_portal-support-snap_QW7SK2/meta/snap.yaml 741s # Created snapctl in /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/none/.dirs/runtime/snapctl 741s ok 2 /portal-support/snap/none 741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/all/.dirs/home 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/all/.dirs/cache 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_QW7SK2/portal-support/snap/all/.dirs/system-config2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/all/.dirs/config 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_QW7SK2/portal-support/snap/all/.dirs/system-data2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/all/.dirs/data 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/all/.dirs/state 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/all/.dirs/runtime 741s # Created snap.yaml in /tmp/test_portal-support-snap_QW7SK2/meta/snap.yaml 741s # Created snapctl in /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/all/.dirs/runtime/snapctl 741s ok 3 /portal-support/snap/all 741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/desktop-only/.dirs/home 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/desktop-only/.dirs/cache 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_QW7SK2/portal-support/snap/desktop-only/.dirs/system-config2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/desktop-only/.dirs/config 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_QW7SK2/portal-support/snap/desktop-only/.dirs/system-data2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/desktop-only/.dirs/data 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/desktop-only/.dirs/state 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/desktop-only/.dirs/runtime 741s # Created snap.yaml in /tmp/test_portal-support-snap_QW7SK2/meta/snap.yaml 741s # Created snapctl in /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 741s ok 4 /portal-support/snap/desktop-only 741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/network-only/.dirs/home 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/network-only/.dirs/cache 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_QW7SK2/portal-support/snap/network-only/.dirs/system-config2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/network-only/.dirs/config 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_QW7SK2/portal-support/snap/network-only/.dirs/system-data2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/network-only/.dirs/data 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/network-only/.dirs/state 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/network-only/.dirs/runtime 741s # Created snap.yaml in /tmp/test_portal-support-snap_QW7SK2/meta/snap.yaml 741s # Created snapctl in /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/network-only/.dirs/runtime/snapctl 741s ok 5 /portal-support/snap/network-only 741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/gsettings-only/.dirs/home 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/gsettings-only/.dirs/cache 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_QW7SK2/portal-support/snap/gsettings-only/.dirs/system-config2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/gsettings-only/.dirs/config 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_QW7SK2/portal-support/snap/gsettings-only/.dirs/system-data2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/gsettings-only/.dirs/data 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/gsettings-only/.dirs/state 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/gsettings-only/.dirs/runtime 741s # Created snap.yaml in /tmp/test_portal-support-snap_QW7SK2/meta/snap.yaml 741s # Created snapctl in /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 741s ok 6 /portal-support/snap/gsettings-only 741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/home 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/cache 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/system-config2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/config 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/system-data2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/data 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/state 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/runtime 741s # Created snap.yaml in /tmp/test_portal-support-snap_QW7SK2/meta/snap.yaml 741s # Created snapctl in /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 741s # Created snapctl in /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 741s # Created snapctl in /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 741s # Created snapctl in /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 741s # Created snapctl in /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 741s # Created snapctl in /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 741s # Created snapctl in /tmp/test_portal-support-snap_QW7SK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 741s ok 7 /portal-support/snap/updates-dynamically 741s # End of snap tests 741s # End of portal-support tests 741s ok - glib/portal-support-snap.test 741s # Running test: glib/cxx-2b.test 741s TAP version 13 741s # random seed: R02S7c46f2bb30e3b3127ff9aeafcaa56de1 741s 1..2 741s # Start of gtask tests 741s # 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. 741s ok 1 /gtask/name 741s # Start of name tests 741s # 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. 741s ok 2 /gtask/name/macro-wrapper 741s # End of name tests 741s # End of gtask tests 741s ok - glib/cxx-2b.test 741s # Running test: glib/thread-deprecated.test 741s TAP version 13 741s # random seed: R02S0ec86a2c5cdd989768a820e01d086784 741s 1..6 741s # Start of thread tests 741s ok 1 /thread/mutex 741s ok 2 /thread/static-rec-mutex 745s # Executing: glib/thread-deprecated.test 746s ok 3 /thread/static-private 746s # slow test /thread/static-private executed in 4.40 secs 750s # Executing: glib/thread-deprecated.test 751s ok 4 /thread/static-rw-lock 751s # slow test /thread/static-rw-lock executed in 5.00 secs 751s ok 5 /thread/once 755s # Executing: glib/thread-deprecated.test 760s # Executing: glib/thread-deprecated.test 761s ok 6 /thread/rerun-all 761s # slow test /thread/rerun-all executed in 10.03 secs 761s # End of thread tests 761s ok - glib/thread-deprecated.test 761s # Running test: glib/hmac.test 761s TAP version 13 761s # random seed: R02S5cbe6eafece9e04bb31be6eeb251707f 761s 1..37 761s # Start of hmac tests 761s ok 1 /hmac/sha1-1 761s ok 2 /hmac/sha1-2 761s ok 3 /hmac/sha1-3 761s ok 4 /hmac/sha1-4 761s ok 5 /hmac/sha1-5 761s ok 6 /hmac/sha1-6 761s ok 7 /hmac/sha1-7 761s ok 8 /hmac/sha256-1 761s ok 9 /hmac/sha256-2 761s ok 10 /hmac/sha256-3 761s ok 11 /hmac/sha256-4 761s ok 12 /hmac/sha256-5 761s ok 13 /hmac/sha256-6 761s ok 14 /hmac/sha384-1 761s ok 15 /hmac/sha384-2 761s ok 16 /hmac/sha384-3 761s ok 17 /hmac/sha384-4 761s ok 18 /hmac/sha384-5 761s ok 19 /hmac/sha384-6 761s ok 20 /hmac/sha512-1 761s ok 21 /hmac/sha512-2 761s ok 22 /hmac/sha512-3 761s ok 23 /hmac/sha512-4 761s ok 24 /hmac/sha512-5 761s ok 25 /hmac/sha512-6 761s ok 26 /hmac/md5-1 761s ok 27 /hmac/md5-2 761s ok 28 /hmac/md5-3 761s ok 29 /hmac/md5-4 761s ok 30 /hmac/md5-5 761s ok 31 /hmac/md5-6 761s ok 32 /hmac/md5-7 761s ok 33 /hmac/ref-unref 761s ok 34 /hmac/copy 761s ok 35 /hmac/for-data 761s ok 36 /hmac/for-string 761s ok 37 /hmac/for-bytes 761s # End of hmac tests 761s ok - glib/hmac.test 761s # Running test: glib/mkenums.py.test 761s TAP version 13 761s ok 1 __main__.TestMkenums.test_available_in 761s # tmpdir: /tmp/tmp_x3k_amx 761s # rspfile: False, mkenums: /usr/bin/glib-mkenums 761s # /tmp/tmp_x3k_amx/tmpyy9byt59.h: 761s # typedef enum { 761s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 761s # } GDBusServerFlags; 761s # 761s # /tmp/tmp_x3k_amx/tmp_3tj5u8i.template: 761s # /*** BEGIN file-header ***/ 761s # file-header 761s # /*** END file-header ***/ 761s # 761s # /*** BEGIN file-production ***/ 761s # file-production 761s # filename: @filename@ 761s # basename: @basename@ 761s # /*** END file-production ***/ 761s # 761s # /*** BEGIN enumeration-production ***/ 761s # enumeration-production 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END enumeration-production ***/ 761s # 761s # /*** BEGIN value-header ***/ 761s # value-header 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-header ***/ 761s # 761s # /*** BEGIN value-production ***/ 761s # value-production 761s # VALUENAME: @VALUENAME@ 761s # valuenick: @valuenick@ 761s # valuenum: @valuenum@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-production ***/ 761s # 761s # /*** BEGIN value-tail ***/ 761s # value-tail 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-tail ***/ 761s # 761s # /*** BEGIN comment ***/ 761s # comment 761s # comment: @comment@ 761s # /*** END comment ***/ 761s # 761s # /*** BEGIN file-tail ***/ 761s # file-tail 761s # /*** END file-tail ***/ 761s # 761s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_x3k_amx/tmp_3tj5u8i.template', '/tmp/tmp_x3k_amx/tmpyy9byt59.h'] 761s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 761s # Output: comment 761s # 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. 761s # 761s # 761s # file-header 761s # file-production 761s # filename: /tmp/tmp_x3k_amx/tmpyy9byt59.h 761s # basename: tmpyy9byt59.h 761s # enumeration-production 761s # EnumName: GDBusServerFlags 761s # enum_name: g_dbus_server_flags 761s # ENUMNAME: G_DBUS_SERVER_FLAGS 761s # ENUMSHORT: DBUS_SERVER_FLAGS 761s # ENUMPREFIX: G 761s # enumsince: 761s # type: flags 761s # Type: Flags 761s # TYPE: FLAGS 761s # value-header 761s # EnumName: GDBusServerFlags 761s # enum_name: g_dbus_server_flags 761s # ENUMNAME: G_DBUS_SERVER_FLAGS 761s # ENUMSHORT: DBUS_SERVER_FLAGS 761s # ENUMPREFIX: G 761s # enumsince: 761s # type: flags 761s # Type: Flags 761s # TYPE: FLAGS 761s # value-production 761s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 761s # valuenick: user 761s # valuenum: 4 761s # type: flags 761s # Type: Flags 761s # TYPE: FLAGS 761s # value-tail 761s # EnumName: GDBusServerFlags 761s # enum_name: g_dbus_server_flags 761s # ENUMNAME: G_DBUS_SERVER_FLAGS 761s # ENUMSHORT: DBUS_SERVER_FLAGS 761s # ENUMPREFIX: G 761s # enumsince: 761s # type: flags 761s # Type: Flags 761s # TYPE: FLAGS 761s # file-tail 761s # 761s # comment 761s # comment: Generated data ends here 761s ok 2 __main__.TestMkenums.test_comma_in_enum_value 761s # tmpdir: /tmp/tmp7hbsxxek 761s # rspfile: False, mkenums: /usr/bin/glib-mkenums 761s # /tmp/tmp7hbsxxek/tmphkocbzbc.h: 761s # typedef enum { 761s # ENUM_VALUE_WITH_COMMA = ',', 761s # } TestCommaEnum; 761s # 761s # /tmp/tmp7hbsxxek/tmpxsvotp4i.template: 761s # /*** BEGIN file-header ***/ 761s # file-header 761s # /*** END file-header ***/ 761s # 761s # /*** BEGIN file-production ***/ 761s # file-production 761s # filename: @filename@ 761s # basename: @basename@ 761s # /*** END file-production ***/ 761s # 761s # /*** BEGIN enumeration-production ***/ 761s # enumeration-production 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END enumeration-production ***/ 761s # 761s # /*** BEGIN value-header ***/ 761s # value-header 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-header ***/ 761s # 761s # /*** BEGIN value-production ***/ 761s # value-production 761s # VALUENAME: @VALUENAME@ 761s # valuenick: @valuenick@ 761s # valuenum: @valuenum@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-production ***/ 761s # 761s # /*** BEGIN value-tail ***/ 761s # value-tail 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-tail ***/ 761s # 761s # /*** BEGIN comment ***/ 761s # comment 761s # comment: @comment@ 761s # /*** END comment ***/ 761s # 761s # /*** BEGIN file-tail ***/ 761s # file-tail 761s # /*** END file-tail ***/ 761s # 761s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7hbsxxek/tmpxsvotp4i.template', '/tmp/tmp7hbsxxek/tmphkocbzbc.h'] 761s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 761s # Output: comment 761s # 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. 761s # 761s # 761s # file-header 761s # file-production 761s # filename: /tmp/tmp7hbsxxek/tmphkocbzbc.h 761s # basename: tmphkocbzbc.h 761s # enumeration-production 761s # EnumName: TestCommaEnum 761s # enum_name: test_comma_enum 761s # ENUMNAME: TEST_COMMA_ENUM 761s # ENUMSHORT: COMMA_ENUM 761s # ENUMPREFIX: TEST 761s # enumsince: 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-header 761s # EnumName: TestCommaEnum 761s # enum_name: test_comma_enum 761s # ENUMNAME: TEST_COMMA_ENUM 761s # ENUMSHORT: COMMA_ENUM 761s # ENUMPREFIX: TEST 761s # enumsince: 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-production 761s # VALUENAME: ENUM_VALUE_WITH_COMMA 761s # valuenick: comma 761s # valuenum: 44 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-tail 761s # EnumName: TestCommaEnum 761s # enum_name: test_comma_enum 761s # ENUMNAME: TEST_COMMA_ENUM 761s # ENUMSHORT: COMMA_ENUM 761s # ENUMPREFIX: TEST 761s # enumsince: 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # file-tail 761s # 761s # comment 761s # comment: Generated data ends here 762s ok 3 __main__.TestMkenums.test_deprecated_in 762s # tmpdir: /tmp/tmpldml4zoo 762s # rspfile: False, mkenums: /usr/bin/glib-mkenums 762s # /tmp/tmpldml4zoo/tmppb_4iniy.h: 762s # typedef enum { 762s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 762s # } GDBusServerFlags; 762s # 762s # /tmp/tmpldml4zoo/tmpq28jcnr3.template: 762s # /*** BEGIN file-header ***/ 762s # file-header 762s # /*** END file-header ***/ 762s # 762s # /*** BEGIN file-production ***/ 762s # file-production 762s # filename: @filename@ 762s # basename: @basename@ 762s # /*** END file-production ***/ 762s # 762s # /*** BEGIN enumeration-production ***/ 762s # enumeration-production 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END enumeration-production ***/ 762s # 762s # /*** BEGIN value-header ***/ 762s # value-header 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-header ***/ 762s # 762s # /*** BEGIN value-production ***/ 762s # value-production 762s # VALUENAME: @VALUENAME@ 762s # valuenick: @valuenick@ 762s # valuenum: @valuenum@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-production ***/ 762s # 762s # /*** BEGIN value-tail ***/ 762s # value-tail 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-tail ***/ 762s # 762s # /*** BEGIN comment ***/ 762s # comment 762s # comment: @comment@ 762s # /*** END comment ***/ 762s # 762s # /*** BEGIN file-tail ***/ 762s # file-tail 762s # /*** END file-tail ***/ 762s # 762s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpldml4zoo/tmpq28jcnr3.template', '/tmp/tmpldml4zoo/tmppb_4iniy.h'] 762s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 762s # Output: comment 762s # 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. 762s # 762s # 762s # file-header 762s # file-production 762s # filename: /tmp/tmpldml4zoo/tmppb_4iniy.h 762s # basename: tmppb_4iniy.h 762s # enumeration-production 762s # EnumName: GDBusServerFlags 762s # enum_name: g_dbus_server_flags 762s # ENUMNAME: G_DBUS_SERVER_FLAGS 762s # ENUMSHORT: DBUS_SERVER_FLAGS 762s # ENUMPREFIX: G 762s # enumsince: 762s # type: flags 762s # Type: Flags 762s # TYPE: FLAGS 762s # value-header 762s # EnumName: GDBusServerFlags 762s # enum_name: g_dbus_server_flags 762s # ENUMNAME: G_DBUS_SERVER_FLAGS 762s # ENUMSHORT: DBUS_SERVER_FLAGS 762s # ENUMPREFIX: G 762s # enumsince: 762s # type: flags 762s # Type: Flags 762s # TYPE: FLAGS 762s # value-production 762s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 762s # valuenick: user 762s # valuenum: 4 762s # type: flags 762s # Type: Flags 762s # TYPE: FLAGS 762s # value-tail 762s # EnumName: GDBusServerFlags 762s # enum_name: g_dbus_server_flags 762s # ENUMNAME: G_DBUS_SERVER_FLAGS 762s # ENUMSHORT: DBUS_SERVER_FLAGS 762s # ENUMPREFIX: G 762s # enumsince: 762s # type: flags 762s # Type: Flags 762s # TYPE: FLAGS 762s # file-tail 762s # 762s # comment 762s # comment: Generated data ends here 762s ok 4 __main__.TestMkenums.test_deprecated_in_for 762s # tmpdir: /tmp/tmpkxbv6myw 762s # rspfile: False, mkenums: /usr/bin/glib-mkenums 762s # /tmp/tmpkxbv6myw/tmp6hjz0hyv.h: 762s # typedef enum { 762s # 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) 762s # } GDBusServerFlags; 762s # 762s # /tmp/tmpkxbv6myw/tmphz3lwxx6.template: 762s # /*** BEGIN file-header ***/ 762s # file-header 762s # /*** END file-header ***/ 762s # 762s # /*** BEGIN file-production ***/ 762s # file-production 762s # filename: @filename@ 762s # basename: @basename@ 762s # /*** END file-production ***/ 762s # 762s # /*** BEGIN enumeration-production ***/ 762s # enumeration-production 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END enumeration-production ***/ 762s # 762s # /*** BEGIN value-header ***/ 762s # value-header 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-header ***/ 762s # 762s # /*** BEGIN value-production ***/ 762s # value-production 762s # VALUENAME: @VALUENAME@ 762s # valuenick: @valuenick@ 762s # valuenum: @valuenum@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-production ***/ 762s # 762s # /*** BEGIN value-tail ***/ 762s # value-tail 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-tail ***/ 762s # 762s # /*** BEGIN comment ***/ 762s # comment 762s # comment: @comment@ 762s # /*** END comment ***/ 762s # 762s # /*** BEGIN file-tail ***/ 762s # file-tail 762s # /*** END file-tail ***/ 762s # 762s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkxbv6myw/tmphz3lwxx6.template', '/tmp/tmpkxbv6myw/tmp6hjz0hyv.h'] 762s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 762s # Output: comment 762s # 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. 762s # 762s # 762s # file-header 762s # file-production 762s # filename: /tmp/tmpkxbv6myw/tmp6hjz0hyv.h 762s # basename: tmp6hjz0hyv.h 762s # enumeration-production 762s # EnumName: GDBusServerFlags 762s # enum_name: g_dbus_server_flags 762s # ENUMNAME: G_DBUS_SERVER_FLAGS 762s # ENUMSHORT: DBUS_SERVER_FLAGS 762s # ENUMPREFIX: G 762s # enumsince: 762s # type: flags 762s # Type: Flags 762s # TYPE: FLAGS 762s # value-header 762s # EnumName: GDBusServerFlags 762s # enum_name: g_dbus_server_flags 762s # ENUMNAME: G_DBUS_SERVER_FLAGS 762s # ENUMSHORT: DBUS_SERVER_FLAGS 762s # ENUMPREFIX: G 762s # enumsince: 762s # type: flags 762s # Type: Flags 762s # TYPE: FLAGS 762s # value-production 762s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 762s # valuenick: user 762s # valuenum: 4 762s # type: flags 762s # Type: Flags 762s # TYPE: FLAGS 762s # value-tail 762s # EnumName: GDBusServerFlags 762s # enum_name: g_dbus_server_flags 762s # ENUMNAME: G_DBUS_SERVER_FLAGS 762s # ENUMSHORT: DBUS_SERVER_FLAGS 762s # ENUMPREFIX: G 762s # enumsince: 762s # type: flags 762s # Type: Flags 762s # TYPE: FLAGS 762s # file-tail 762s # 762s # comment 762s # comment: Generated data ends here 762s ok 5 __main__.TestMkenums.test_empty_header 762s # tmpdir: /tmp/tmpgwk9ekns 762s # rspfile: False, mkenums: /usr/bin/glib-mkenums 762s # /tmp/tmpgwk9ekns/tmp5f3bxygs.h: 762s # /tmp/tmpgwk9ekns/tmp004ge832.template: 762s # /*** BEGIN file-header ***/ 762s # file-header 762s # /*** END file-header ***/ 762s # 762s # /*** BEGIN file-production ***/ 762s # file-production 762s # filename: @filename@ 762s # basename: @basename@ 762s # /*** END file-production ***/ 762s # 762s # /*** BEGIN enumeration-production ***/ 762s # enumeration-production 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END enumeration-production ***/ 762s # 762s # /*** BEGIN value-header ***/ 762s # value-header 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-header ***/ 762s # 762s # /*** BEGIN value-production ***/ 762s # value-production 762s # VALUENAME: @VALUENAME@ 762s # valuenick: @valuenick@ 762s # valuenum: @valuenum@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-production ***/ 762s # 762s # /*** BEGIN value-tail ***/ 762s # value-tail 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-tail ***/ 762s # 762s # /*** BEGIN comment ***/ 762s # comment 762s # comment: @comment@ 762s # /*** END comment ***/ 762s # 762s # /*** BEGIN file-tail ***/ 762s # file-tail 762s # /*** END file-tail ***/ 762s # 762s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgwk9ekns/tmp004ge832.template', '/tmp/tmpgwk9ekns/tmp5f3bxygs.h'] 762s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 762s # Output: comment 762s # 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. 762s # 762s # 762s # file-header 762s # file-tail 762s # 762s # comment 762s # comment: Generated data ends here 762s ok 6 __main__.TestMkenums.test_empty_template 762s # tmpdir: /tmp/tmp_frdk0a0 762s # rspfile: False, mkenums: /usr/bin/glib-mkenums 762s # /tmp/tmp_frdk0a0/tmph52v_49w.template: 762s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_frdk0a0/tmph52v_49w.template'] 762s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 762s # Output: /* 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. */ 762s # 762s # 762s # /* Generated data ends here */ 762s ok 7 __main__.TestMkenums.test_enum_name 762s # tmpdir: /tmp/tmpdxkjkcj5 762s # rspfile: False, mkenums: /usr/bin/glib-mkenums 762s # /tmp/tmpdxkjkcj5/tmp6gtownf5.h: 762s # typedef enum _SomeEnumIdentifier { 762s # ENUM_VALUE 762s # } SomeEnumIdentifier; 762s # 762s # /tmp/tmpdxkjkcj5/tmpm9e9hq6j.template: 762s # /*** BEGIN file-header ***/ 762s # file-header 762s # /*** END file-header ***/ 762s # 762s # /*** BEGIN file-production ***/ 762s # file-production 762s # filename: @filename@ 762s # basename: @basename@ 762s # /*** END file-production ***/ 762s # 762s # /*** BEGIN enumeration-production ***/ 762s # enumeration-production 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END enumeration-production ***/ 762s # 762s # /*** BEGIN value-header ***/ 762s # value-header 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-header ***/ 762s # 762s # /*** BEGIN value-production ***/ 762s # value-production 762s # VALUENAME: @VALUENAME@ 762s # valuenick: @valuenick@ 762s # valuenum: @valuenum@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-production ***/ 762s # 762s # /*** BEGIN value-tail ***/ 762s # value-tail 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-tail ***/ 762s # 762s # /*** BEGIN comment ***/ 762s # comment 762s # comment: @comment@ 762s # /*** END comment ***/ 762s # 762s # /*** BEGIN file-tail ***/ 762s # file-tail 762s # /*** END file-tail ***/ 762s # 762s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdxkjkcj5/tmpm9e9hq6j.template', '/tmp/tmpdxkjkcj5/tmp6gtownf5.h'] 762s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 762s # Output: comment 762s # 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. 762s # 762s # 762s # file-header 762s # file-production 762s # filename: /tmp/tmpdxkjkcj5/tmp6gtownf5.h 762s # basename: tmp6gtownf5.h 762s # enumeration-production 762s # EnumName: SomeEnumIdentifier 762s # enum_name: some_enum_identifier 762s # ENUMNAME: SOME_ENUM_IDENTIFIER 762s # ENUMSHORT: ENUM_IDENTIFIER 762s # ENUMPREFIX: SOME 762s # enumsince: 762s # type: enum 762s # Type: Enum 762s # TYPE: ENUM 762s # value-header 762s # EnumName: SomeEnumIdentifier 762s # enum_name: some_enum_identifier 762s # ENUMNAME: SOME_ENUM_IDENTIFIER 762s # ENUMSHORT: ENUM_IDENTIFIER 762s # ENUMPREFIX: SOME 762s # enumsince: 762s # type: enum 762s # Type: Enum 762s # TYPE: ENUM 762s # value-production 762s # VALUENAME: ENUM_VALUE 762s # valuenick: value 762s # valuenum: 0 762s # type: enum 762s # Type: Enum 762s # TYPE: ENUM 762s # value-tail 762s # EnumName: SomeEnumIdentifier 762s # enum_name: some_enum_identifier 762s # ENUMNAME: SOME_ENUM_IDENTIFIER 762s # ENUMSHORT: ENUM_IDENTIFIER 762s # ENUMPREFIX: SOME 762s # enumsince: 762s # type: enum 762s # Type: Enum 762s # TYPE: ENUM 762s # file-tail 762s # 762s # comment 762s # comment: Generated data ends here 762s ok 8 __main__.TestMkenums.test_enum_private_public 762s # tmpdir: /tmp/tmp2r1bo8nb 762s # rspfile: False, mkenums: /usr/bin/glib-mkenums 762s # /tmp/tmp2r1bo8nb/tmpdwg6d_5m.h: 762s # typedef enum { 762s # ENUM_VALUE_PUBLIC1, 762s # /*< private >*/ 762s # ENUM_VALUE_PRIVATE, 762s # } SomeEnumA 762s # 762s # /tmp/tmp2r1bo8nb/tmpsgqoj3ze.template: 762s # /*** BEGIN file-header ***/ 762s # file-header 762s # /*** END file-header ***/ 762s # 762s # /*** BEGIN file-production ***/ 762s # file-production 762s # filename: @filename@ 762s # basename: @basename@ 762s # /*** END file-production ***/ 762s # 762s # /*** BEGIN enumeration-production ***/ 762s # enumeration-production 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END enumeration-production ***/ 762s # 762s # /*** BEGIN value-header ***/ 762s # value-header 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-header ***/ 762s # 762s # /*** BEGIN value-production ***/ 762s # value-production 762s # VALUENAME: @VALUENAME@ 762s # valuenick: @valuenick@ 762s # valuenum: @valuenum@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-production ***/ 762s # 762s # /*** BEGIN value-tail ***/ 762s # value-tail 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-tail ***/ 762s # 762s # /*** BEGIN comment ***/ 762s # comment 762s # comment: @comment@ 762s # /*** END comment ***/ 762s # 762s # /*** BEGIN file-tail ***/ 762s # file-tail 762s # /*** END file-tail ***/ 762s # 762s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2r1bo8nb/tmpsgqoj3ze.template', '/tmp/tmp2r1bo8nb/tmpdwg6d_5m.h'] 762s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 762s # Output: comment 762s # 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. 762s # 762s # 762s # file-header 762s # file-production 762s # filename: /tmp/tmp2r1bo8nb/tmpdwg6d_5m.h 762s # basename: tmpdwg6d_5m.h 762s # enumeration-production 762s # EnumName: SomeEnumA 762s # enum_name: some_enum_a 762s # ENUMNAME: SOME_ENUM_A 762s # ENUMSHORT: ENUM_A 762s # ENUMPREFIX: SOME 762s # enumsince: 762s # type: enum 762s # Type: Enum 762s # TYPE: ENUM 762s # value-header 762s # EnumName: SomeEnumA 762s # enum_name: some_enum_a 762s # ENUMNAME: SOME_ENUM_A 762s # ENUMSHORT: ENUM_A 762s # ENUMPREFIX: SOME 762s # enumsince: 762s # type: enum 762s # Type: Enum 762s # TYPE: ENUM 762s # value-production 762s # VALUENAME: ENUM_VALUE_PUBLIC1 762s # valuenick: public1 762s # valuenum: 0 762s # type: enum 762s # Type: Enum 762s # TYPE: ENUM 762s # value-tail 762s # EnumName: SomeEnumA 762s # enum_name: some_enum_a 762s # ENUMNAME: SOME_ENUM_A 762s # ENUMSHORT: ENUM_A 762s # ENUMPREFIX: SOME 762s # enumsince: 762s # type: enum 762s # Type: Enum 762s # TYPE: ENUM 762s # file-tail 762s # 762s # comment 762s # comment: Generated data ends here 762s # /tmp/tmp2r1bo8nb/tmpodqp24rz.h: 762s # typedef enum { 762s # /*< private >*/ 762s # ENUM_VALUE_PRIVATE, 762s # /*< public >*/ 762s # ENUM_VALUE_PUBLIC2, 762s # } SomeEnumB; 762s # 762s # /tmp/tmp2r1bo8nb/tmpvfa9eeil.template: 762s # /*** BEGIN file-header ***/ 762s # file-header 762s # /*** END file-header ***/ 762s # 762s # /*** BEGIN file-production ***/ 762s # file-production 762s # filename: @filename@ 762s # basename: @basename@ 762s # /*** END file-production ***/ 762s # 762s # /*** BEGIN enumeration-production ***/ 762s # enumeration-production 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END enumeration-production ***/ 762s # 762s # /*** BEGIN value-header ***/ 762s # value-header 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-header ***/ 762s # 762s # /*** BEGIN value-production ***/ 762s # value-production 762s # VALUENAME: @VALUENAME@ 762s # valuenick: @valuenick@ 762s # valuenum: @valuenum@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-production ***/ 762s # 762s # /*** BEGIN value-tail ***/ 762s # value-tail 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-tail ***/ 762s # 762s # /*** BEGIN comment ***/ 762s # comment 762s # comment: @comment@ 762s # /*** END comment ***/ 762s # 762s # /*** BEGIN file-tail ***/ 762s # file-tail 762s # /*** END file-tail ***/ 762s # 762s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2r1bo8nb/tmpvfa9eeil.template', '/tmp/tmp2r1bo8nb/tmpodqp24rz.h'] 762s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 762s # Output: comment 762s # 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. 762s # 762s # 762s # file-header 762s # file-production 762s # filename: /tmp/tmp2r1bo8nb/tmpodqp24rz.h 762s # basename: tmpodqp24rz.h 762s # enumeration-production 762s # EnumName: SomeEnumB 762s # enum_name: some_enum_b 762s # ENUMNAME: SOME_ENUM_B 762s # ENUMSHORT: ENUM_B 762s # ENUMPREFIX: SOME 762s # enumsince: 762s # type: enum 762s # Type: Enum 762s # TYPE: ENUM 762s # value-header 762s # EnumName: SomeEnumB 762s # enum_name: some_enum_b 762s # ENUMNAME: SOME_ENUM_B 762s # ENUMSHORT: ENUM_B 762s # ENUMPREFIX: SOME 762s # enumsince: 762s # type: enum 762s # Type: Enum 762s # TYPE: ENUM 762s # value-production 762s # VALUENAME: ENUM_VALUE_PUBLIC2 762s # valuenick: public2 762s # valuenum: 1 762s # type: enum 762s # Type: Enum 762s # TYPE: ENUM 762s # value-tail 762s # EnumName: SomeEnumB 762s # enum_name: some_enum_b 762s # ENUMNAME: SOME_ENUM_B 762s # ENUMSHORT: ENUM_B 762s # ENUMPREFIX: SOME 762s # enumsince: 762s # type: enum 762s # Type: Enum 762s # TYPE: ENUM 762s # file-tail 762s # 762s # comment 762s # comment: Generated data ends here 762s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 762s # tmpdir: /tmp/tmpjv8wfrz9 762s # rspfile: False, mkenums: /usr/bin/glib-mkenums 762s # /tmp/tmpjv8wfrz9/tmpq0il_0zn.h: 762s # typedef enum { 762s # /*< private >*/ 762s # ENUM_VALUE_PRIVATE = 5, 762s # /*< public >*/ 762s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 762s # } TestSymbolicEnum; 762s # 762s # /tmp/tmpjv8wfrz9/tmp_nv6fj0p.template: 762s # /*** BEGIN file-header ***/ 762s # file-header 762s # /*** END file-header ***/ 762s # 762s # /*** BEGIN file-production ***/ 762s # file-production 762s # filename: @filename@ 762s # basename: @basename@ 762s # /*** END file-production ***/ 762s # 762s # /*** BEGIN enumeration-production ***/ 762s # enumeration-production 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END enumeration-production ***/ 762s # 762s # /*** BEGIN value-header ***/ 762s # value-header 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-header ***/ 762s # 762s # /*** BEGIN value-production ***/ 762s # value-production 762s # VALUENAME: @VALUENAME@ 762s # valuenick: @valuenick@ 762s # valuenum: @valuenum@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-production ***/ 762s # 762s # /*** BEGIN value-tail ***/ 762s # value-tail 762s # EnumName: @EnumName@ 762s # enum_name: @enum_name@ 762s # ENUMNAME: @ENUMNAME@ 762s # ENUMSHORT: @ENUMSHORT@ 762s # ENUMPREFIX: @ENUMPREFIX@ 762s # enumsince: @enumsince@ 762s # type: @type@ 762s # Type: @Type@ 762s # TYPE: @TYPE@ 762s # /*** END value-tail ***/ 762s # 762s # /*** BEGIN comment ***/ 762s # comment 762s # comment: @comment@ 762s # /*** END comment ***/ 762s # 762s # /*** BEGIN file-tail ***/ 762s # file-tail 762s # /*** END file-tail ***/ 762s # 762s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjv8wfrz9/tmp_nv6fj0p.template', '/tmp/tmpjv8wfrz9/tmpq0il_0zn.h'] 762s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 762s # Output: comment 762s # 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. 762s # 762s # 762s # file-header 762s # file-production 762s # filename: /tmp/tmpjv8wfrz9/tmpq0il_0zn.h 762s # basename: tmpq0il_0zn.h 762s # enumeration-production 762s # EnumName: TestSymbolicEnum 762s # enum_name: test_symbolic_enum 762s # ENUMNAME: TEST_SYMBOLIC_ENUM 762s # ENUMSHORT: SYMBOLIC_ENUM 762s # ENUMPREFIX: TEST 762s # enumsince: 762s # type: enum 762s # Type: Enum 762s # TYPE: ENUM 762s # value-header 762s # EnumName: TestSymbolicEnum 762s # enum_name: test_symbolic_enum 762s # ENUMNAME: TEST_SYMBOLIC_ENUM 762s # ENUMSHORT: SYMBOLIC_ENUM 762s # ENUMPREFIX: TEST 762s # enumsince: 762s # type: enum 762s # Type: Enum 762s # TYPE: ENUM 762s # value-production 762s # VALUENAME: ENUM_VALUE_PUBLIC 762s # valuenick: public 762s # valuenum: 7 762s # type: enum 762s # Type: Enum 762s # TYPE: ENUM 762s # value-tail 762s # EnumName: TestSymbolicEnum 762s # enum_name: test_symbolic_enum 762s # ENUMNAME: TEST_SYMBOLIC_ENUM 762s # ENUMSHORT: SYMBOLIC_ENUM 762s # ENUMPREFIX: TEST 762s # enumsince: 762s # type: enum 762s # Type: Enum 762s # TYPE: ENUM 762s # file-tail 762s # 762s # comment 762s # comment: Generated data ends here 763s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 763s # tmpdir: /tmp/tmpd3_o5gv7 763s # rspfile: False, mkenums: /usr/bin/glib-mkenums 763s # /tmp/tmpd3_o5gv7/tmpb7x9n9_n.template: 763s # /*** BEGIN file-header ***/ 763s # file-header 763s # filename: @filename@ 763s # basename: @basename@ 763s # /*** END file-header ***/ 763s # 763s # /*** BEGIN comment ***/ 763s # comment 763s # comment: @comment@ 763s # /*** END comment ***/ 763s # 763s # /*** BEGIN file-tail ***/ 763s # file-tail 763s # filename: @filename@ 763s # basename: @basename@ 763s # /*** END file-tail ***/ 763s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpd3_o5gv7/tmpb7x9n9_n.template'] 763s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 763s # Output: comment 763s # 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. 763s # 763s # 763s # file-header 763s # filename: @filename@ 763s # basename: @basename@ 763s # file-tail 763s # filename: @filename@ 763s # basename: @basename@ 763s # 763s # comment 763s # comment: Generated data ends here 763s ok 11 __main__.TestMkenums.test_help 763s # tmpdir: /tmp/tmpwuz4kg68 763s # rspfile: False, mkenums: /usr/bin/glib-mkenums 763s # Running: ['/usr/bin/glib-mkenums', '--help'] 763s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 763s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 763s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 763s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 763s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 763s # [--comments COMMENT_TMPL] [--template TEMPLATE] 763s # [--output OUTPUT] [--version] 763s # [args ...] 763s # 763s # positional arguments: 763s # args One or more input files, or a single argument 763s # @rspfile_path pointing to a file that contains the 763s # actual arguments 763s # 763s # options: 763s # -h, --help show this help message and exit 763s # --identifier-prefix IDPREFIX 763s # Identifier prefix 763s # --symbol-prefix SYMPREFIX 763s # Symbol prefix 763s # --fhead FHEAD Output file header 763s # --ftail FTAIL Output file footer 763s # --fprod FPROD Put out TEXT every time a new input file is being 763s # processed. 763s # --eprod EPROD Per enum text, produced prior to value iterations 763s # --vhead VHEAD Value header, produced before iterating over enum 763s # values 763s # --vprod VPROD Value text, produced for each enum value. 763s # --vtail VTAIL Value tail, produced after iterating over enum values 763s # --comments COMMENT_TMPL 763s # Comment structure 763s # --template TEMPLATE Template file 763s # --output OUTPUT 763s # --version, -v Print version information 763s # 763s # Production text substitutions: 763s # @EnumName@ PrefixTheXEnum 763s # @enum_name@ prefix_the_xenum 763s # @ENUMNAME@ PREFIX_THE_XENUM 763s # @ENUMSHORT@ THE_XENUM 763s # @ENUMPREFIX@ PREFIX 763s # @enumsince@ the user-provided since value given 763s # @VALUENAME@ PREFIX_THE_XVALUE 763s # @valuenick@ the-xvalue 763s # @valuenum@ the integer value (limited support, Since: 2.26) 763s # @type@ either enum or flags 763s # @Type@ either Enum or Flags 763s # @TYPE@ either ENUM or FLAGS 763s # @filename@ name of current input file 763s # @basename@ base name of the current input file (Since: 2.22) 763s ok 12 __main__.TestMkenums.test_no_args 763s # tmpdir: /tmp/tmpe1au_t0w 763s # rspfile: False, mkenums: /usr/bin/glib-mkenums 763s # Running: ['/usr/bin/glib-mkenums'] 763s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 763s # Output: /* 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. */ 763s # 763s # 763s # /* Generated data ends here */ 763s ok 13 __main__.TestMkenums.test_no_headers 763s # tmpdir: /tmp/tmp6bw8xiuq 763s # rspfile: False, mkenums: /usr/bin/glib-mkenums 763s # /tmp/tmp6bw8xiuq/tmpfsj1zgv7.template: 763s # /*** BEGIN file-header ***/ 763s # file-header 763s # /*** END file-header ***/ 763s # 763s # /*** BEGIN file-production ***/ 763s # file-production 763s # filename: @filename@ 763s # basename: @basename@ 763s # /*** END file-production ***/ 763s # 763s # /*** BEGIN enumeration-production ***/ 763s # enumeration-production 763s # EnumName: @EnumName@ 763s # enum_name: @enum_name@ 763s # ENUMNAME: @ENUMNAME@ 763s # ENUMSHORT: @ENUMSHORT@ 763s # ENUMPREFIX: @ENUMPREFIX@ 763s # enumsince: @enumsince@ 763s # type: @type@ 763s # Type: @Type@ 763s # TYPE: @TYPE@ 763s # /*** END enumeration-production ***/ 763s # 763s # /*** BEGIN value-header ***/ 763s # value-header 763s # EnumName: @EnumName@ 763s # enum_name: @enum_name@ 763s # ENUMNAME: @ENUMNAME@ 763s # ENUMSHORT: @ENUMSHORT@ 763s # ENUMPREFIX: @ENUMPREFIX@ 763s # enumsince: @enumsince@ 763s # type: @type@ 763s # Type: @Type@ 763s # TYPE: @TYPE@ 763s # /*** END value-header ***/ 763s # 763s # /*** BEGIN value-production ***/ 763s # value-production 763s # VALUENAME: @VALUENAME@ 763s # valuenick: @valuenick@ 763s # valuenum: @valuenum@ 763s # type: @type@ 763s # Type: @Type@ 763s # TYPE: @TYPE@ 763s # /*** END value-production ***/ 763s # 763s # /*** BEGIN value-tail ***/ 763s # value-tail 763s # EnumName: @EnumName@ 763s # enum_name: @enum_name@ 763s # ENUMNAME: @ENUMNAME@ 763s # ENUMSHORT: @ENUMSHORT@ 763s # ENUMPREFIX: @ENUMPREFIX@ 763s # enumsince: @enumsince@ 763s # type: @type@ 763s # Type: @Type@ 763s # TYPE: @TYPE@ 763s # /*** END value-tail ***/ 763s # 763s # /*** BEGIN comment ***/ 763s # comment 763s # comment: @comment@ 763s # /*** END comment ***/ 763s # 763s # /*** BEGIN file-tail ***/ 763s # file-tail 763s # /*** END file-tail ***/ 763s # 763s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6bw8xiuq/tmpfsj1zgv7.template'] 763s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 763s # Output: comment 763s # 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. 763s # 763s # 763s # file-header 763s # file-tail 763s # 763s # comment 763s # comment: Generated data ends here 763s ok 14 __main__.TestMkenums.test_no_nick 763s # tmpdir: /tmp/tmpg1_whh3j 763s # rspfile: False, mkenums: /usr/bin/glib-mkenums 763s # /tmp/tmpg1_whh3j/tmpnyo3xvw2.h: 763s # typedef enum { 763s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 763s # } GeglSamplerType; 763s # 763s # /tmp/tmpg1_whh3j/tmpkcfr8b3x.template: 763s # /*** BEGIN file-header ***/ 763s # file-header 763s # /*** END file-header ***/ 763s # 763s # /*** BEGIN file-production ***/ 763s # file-production 763s # filename: @filename@ 763s # basename: @basename@ 763s # /*** END file-production ***/ 763s # 763s # /*** BEGIN enumeration-production ***/ 763s # enumeration-production 763s # EnumName: @EnumName@ 763s # enum_name: @enum_name@ 763s # ENUMNAME: @ENUMNAME@ 763s # ENUMSHORT: @ENUMSHORT@ 763s # ENUMPREFIX: @ENUMPREFIX@ 763s # enumsince: @enumsince@ 763s # type: @type@ 763s # Type: @Type@ 763s # TYPE: @TYPE@ 763s # /*** END enumeration-production ***/ 763s # 763s # /*** BEGIN value-header ***/ 763s # value-header 763s # EnumName: @EnumName@ 763s # enum_name: @enum_name@ 763s # ENUMNAME: @ENUMNAME@ 763s # ENUMSHORT: @ENUMSHORT@ 763s # ENUMPREFIX: @ENUMPREFIX@ 763s # enumsince: @enumsince@ 763s # type: @type@ 763s # Type: @Type@ 763s # TYPE: @TYPE@ 763s # /*** END value-header ***/ 763s # 763s # /*** BEGIN value-production ***/ 763s # value-production 763s # VALUENAME: @VALUENAME@ 763s # valuenick: @valuenick@ 763s # valuenum: @valuenum@ 763s # type: @type@ 763s # Type: @Type@ 763s # TYPE: @TYPE@ 763s # /*** END value-production ***/ 763s # 763s # /*** BEGIN value-tail ***/ 763s # value-tail 763s # EnumName: @EnumName@ 763s # enum_name: @enum_name@ 763s # ENUMNAME: @ENUMNAME@ 763s # ENUMSHORT: @ENUMSHORT@ 763s # ENUMPREFIX: @ENUMPREFIX@ 763s # enumsince: @enumsince@ 763s # type: @type@ 763s # Type: @Type@ 763s # TYPE: @TYPE@ 763s # /*** END value-tail ***/ 763s # 763s # /*** BEGIN comment ***/ 763s # comment 763s # comment: @comment@ 763s # /*** END comment ***/ 763s # 763s # /*** BEGIN file-tail ***/ 763s # file-tail 763s # /*** END file-tail ***/ 763s # 763s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpg1_whh3j/tmpkcfr8b3x.template', '/tmp/tmpg1_whh3j/tmpnyo3xvw2.h'] 763s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 763s # Output: comment 763s # 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. 763s # 763s # 763s # file-header 763s # file-production 763s # filename: /tmp/tmpg1_whh3j/tmpnyo3xvw2.h 763s # basename: tmpnyo3xvw2.h 763s # enumeration-production 763s # EnumName: GeglSamplerType 763s # enum_name: gegl_sampler_type 763s # ENUMNAME: GEGL_SAMPLER_TYPE 763s # ENUMSHORT: SAMPLER_TYPE 763s # ENUMPREFIX: GEGL 763s # enumsince: 763s # type: enum 763s # Type: Enum 763s # TYPE: ENUM 763s # value-header 763s # EnumName: GeglSamplerType 763s # enum_name: gegl_sampler_type 763s # ENUMNAME: GEGL_SAMPLER_TYPE 763s # ENUMSHORT: SAMPLER_TYPE 763s # ENUMPREFIX: GEGL 763s # enumsince: 763s # type: enum 763s # Type: Enum 763s # TYPE: ENUM 763s # value-production 763s # VALUENAME: GEGL_SAMPLER_NEAREST 763s # valuenick: nearest 763s # valuenum: 0 763s # type: enum 763s # Type: Enum 763s # TYPE: ENUM 763s # value-tail 763s # EnumName: GeglSamplerType 763s # enum_name: gegl_sampler_type 763s # ENUMNAME: GEGL_SAMPLER_TYPE 763s # ENUMSHORT: SAMPLER_TYPE 763s # ENUMPREFIX: GEGL 763s # enumsince: 763s # type: enum 763s # Type: Enum 763s # TYPE: ENUM 763s # file-tail 763s # 763s # comment 763s # comment: Generated data ends here 763s ok 15 __main__.TestMkenums.test_non_utf8_encoding 763s # tmpdir: /tmp/tmp7zz9btxa 763s # rspfile: False, mkenums: /usr/bin/glib-mkenums 763s # /tmp/tmp7zz9btxa/tmpjs4fb4ck.h: 763s # /* Copyright © La Peña */ 763s # typedef enum { 763s # ENUM_VALUE 763s # } SomeEnumIdentifier; 763s # 763s # /tmp/tmp7zz9btxa/tmpxztkbd0n.template: 763s # /*** BEGIN file-header ***/ 763s # file-header 763s # /*** END file-header ***/ 763s # 763s # /*** BEGIN file-production ***/ 763s # file-production 763s # filename: @filename@ 763s # basename: @basename@ 763s # /*** END file-production ***/ 763s # 763s # /*** BEGIN enumeration-production ***/ 763s # enumeration-production 763s # EnumName: @EnumName@ 763s # enum_name: @enum_name@ 763s # ENUMNAME: @ENUMNAME@ 763s # ENUMSHORT: @ENUMSHORT@ 763s # ENUMPREFIX: @ENUMPREFIX@ 763s # enumsince: @enumsince@ 763s # type: @type@ 763s # Type: @Type@ 763s # TYPE: @TYPE@ 763s # /*** END enumeration-production ***/ 763s # 763s # /*** BEGIN value-header ***/ 763s # value-header 763s # EnumName: @EnumName@ 763s # enum_name: @enum_name@ 763s # ENUMNAME: @ENUMNAME@ 763s # ENUMSHORT: @ENUMSHORT@ 763s # ENUMPREFIX: @ENUMPREFIX@ 763s # enumsince: @enumsince@ 763s # type: @type@ 763s # Type: @Type@ 763s # TYPE: @TYPE@ 763s # /*** END value-header ***/ 763s # 763s # /*** BEGIN value-production ***/ 763s # value-production 763s # VALUENAME: @VALUENAME@ 763s # valuenick: @valuenick@ 763s # valuenum: @valuenum@ 763s # type: @type@ 763s # Type: @Type@ 763s # TYPE: @TYPE@ 763s # /*** END value-production ***/ 763s # 763s # /*** BEGIN value-tail ***/ 763s # value-tail 763s # EnumName: @EnumName@ 763s # enum_name: @enum_name@ 763s # ENUMNAME: @ENUMNAME@ 763s # ENUMSHORT: @ENUMSHORT@ 763s # ENUMPREFIX: @ENUMPREFIX@ 763s # enumsince: @enumsince@ 763s # type: @type@ 763s # Type: @Type@ 763s # TYPE: @TYPE@ 763s # /*** END value-tail ***/ 763s # 763s # /*** BEGIN comment ***/ 763s # comment 763s # comment: @comment@ 763s # /*** END comment ***/ 763s # 763s # /*** BEGIN file-tail ***/ 763s # file-tail 763s # /*** END file-tail ***/ 763s # 763s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7zz9btxa/tmpxztkbd0n.template', '/tmp/tmp7zz9btxa/tmpjs4fb4ck.h'] 763s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 763s # Output: comment 763s # 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. 763s # 763s # 763s # file-header 763s # file-production 763s # filename: /tmp/tmp7zz9btxa/tmpjs4fb4ck.h 763s # basename: tmpjs4fb4ck.h 763s # enumeration-production 763s # EnumName: SomeEnumIdentifier 763s # enum_name: some_enum_identifier 763s # ENUMNAME: SOME_ENUM_IDENTIFIER 763s # ENUMSHORT: ENUM_IDENTIFIER 763s # ENUMPREFIX: SOME 763s # enumsince: 763s # type: enum 763s # Type: Enum 763s # TYPE: ENUM 763s # value-header 763s # EnumName: SomeEnumIdentifier 763s # enum_name: some_enum_identifier 763s # ENUMNAME: SOME_ENUM_IDENTIFIER 763s # ENUMSHORT: ENUM_IDENTIFIER 763s # ENUMPREFIX: SOME 763s # enumsince: 763s # type: enum 763s # Type: Enum 763s # TYPE: ENUM 763s # value-production 763s # VALUENAME: ENUM_VALUE 763s # valuenick: value 763s # valuenum: 0 763s # type: enum 763s # Type: Enum 763s # TYPE: ENUM 763s # value-tail 763s # EnumName: SomeEnumIdentifier 763s # enum_name: some_enum_identifier 763s # ENUMNAME: SOME_ENUM_IDENTIFIER 763s # ENUMSHORT: ENUM_IDENTIFIER 763s # ENUMPREFIX: SOME 763s # enumsince: 763s # type: enum 763s # Type: Enum 763s # TYPE: ENUM 763s # file-tail 763s # 763s # comment 763s # comment: Generated data ends here 764s ok 16 __main__.TestMkenums.test_reproducible 764s # tmpdir: /tmp/tmp6m_txtbg 764s # rspfile: False, mkenums: /usr/bin/glib-mkenums 764s # /tmp/tmp6m_txtbg/tmp14fj04wj.template: template 764s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6m_txtbg/tmp14fj04wj.template', '/tmp/tmp6m_txtbg/tmpqeicqypa1.h', '/tmp/tmp6m_txtbg/tmp_m899knn2.h'] 764s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 764s # Output: /* 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. */ 764s # 764s # 764s # /* Generated data ends here */ 764s # /tmp/tmp6m_txtbg/tmp4tbwym_z.template: template 764s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6m_txtbg/tmp4tbwym_z.template', '/tmp/tmp6m_txtbg/tmp_m899knn2.h', '/tmp/tmp6m_txtbg/tmpqeicqypa1.h'] 764s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 764s # Output: /* 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. */ 764s # 764s # 764s # /* Generated data ends here */ 764s ok 17 __main__.TestMkenums.test_since 764s # tmpdir: /tmp/tmpelpslen5 764s # rspfile: False, mkenums: /usr/bin/glib-mkenums 764s # /tmp/tmpelpslen5/tmpn88_lkpr.h: 764s # typedef enum { /*< since=1.0 >*/ 764s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 764s # } QmiWmsMessageProtocol; 764s # 764s # /tmp/tmpelpslen5/tmp3clgtcvv.template: 764s # /*** BEGIN file-header ***/ 764s # file-header 764s # /*** END file-header ***/ 764s # 764s # /*** BEGIN file-production ***/ 764s # file-production 764s # filename: @filename@ 764s # basename: @basename@ 764s # /*** END file-production ***/ 764s # 764s # /*** BEGIN enumeration-production ***/ 764s # enumeration-production 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END enumeration-production ***/ 764s # 764s # /*** BEGIN value-header ***/ 764s # value-header 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-header ***/ 764s # 764s # /*** BEGIN value-production ***/ 764s # value-production 764s # VALUENAME: @VALUENAME@ 764s # valuenick: @valuenick@ 764s # valuenum: @valuenum@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-production ***/ 764s # 764s # /*** BEGIN value-tail ***/ 764s # value-tail 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-tail ***/ 764s # 764s # /*** BEGIN comment ***/ 764s # comment 764s # comment: @comment@ 764s # /*** END comment ***/ 764s # 764s # /*** BEGIN file-tail ***/ 764s # file-tail 764s # /*** END file-tail ***/ 764s # 764s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpelpslen5/tmp3clgtcvv.template', '/tmp/tmpelpslen5/tmpn88_lkpr.h'] 764s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 764s # Output: comment 764s # 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. 764s # 764s # 764s # file-header 764s # file-production 764s # filename: /tmp/tmpelpslen5/tmpn88_lkpr.h 764s # basename: tmpn88_lkpr.h 764s # enumeration-production 764s # EnumName: QmiWmsMessageProtocol 764s # enum_name: qmi_wms_message_protocol 764s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 764s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 764s # ENUMPREFIX: QMI 764s # enumsince: 1.0 764s # type: enum 764s # Type: Enum 764s # TYPE: ENUM 764s # value-header 764s # EnumName: QmiWmsMessageProtocol 764s # enum_name: qmi_wms_message_protocol 764s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 764s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 764s # ENUMPREFIX: QMI 764s # enumsince: 1.0 764s # type: enum 764s # Type: Enum 764s # TYPE: ENUM 764s # value-production 764s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 764s # valuenick: cdma 764s # valuenum: 0 764s # type: enum 764s # Type: Enum 764s # TYPE: ENUM 764s # value-tail 764s # EnumName: QmiWmsMessageProtocol 764s # enum_name: qmi_wms_message_protocol 764s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 764s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 764s # ENUMPREFIX: QMI 764s # enumsince: 1.0 764s # type: enum 764s # Type: Enum 764s # TYPE: ENUM 764s # file-tail 764s # 764s # comment 764s # comment: Generated data ends here 764s ok 18 __main__.TestMkenums.test_with_double_quotes 764s # tmpdir: /tmp/tmp6azmtxka 764s # rspfile: False, mkenums: /usr/bin/glib-mkenums 764s # /tmp/tmp6azmtxka/tmpkqdvmyg_.h: 764s # typedef enum { 764s # FOO_VALUE /*< nick="eek, a comma" >*/ 764s # } Foo; 764s # 764s # /tmp/tmp6azmtxka/tmpa2rb1n90.template: 764s # /*** BEGIN file-header ***/ 764s # file-header 764s # /*** END file-header ***/ 764s # 764s # /*** BEGIN file-production ***/ 764s # file-production 764s # filename: @filename@ 764s # basename: @basename@ 764s # /*** END file-production ***/ 764s # 764s # /*** BEGIN enumeration-production ***/ 764s # enumeration-production 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END enumeration-production ***/ 764s # 764s # /*** BEGIN value-header ***/ 764s # value-header 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-header ***/ 764s # 764s # /*** BEGIN value-production ***/ 764s # value-production 764s # VALUENAME: @VALUENAME@ 764s # valuenick: @valuenick@ 764s # valuenum: @valuenum@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-production ***/ 764s # 764s # /*** BEGIN value-tail ***/ 764s # value-tail 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-tail ***/ 764s # 764s # /*** BEGIN comment ***/ 764s # comment 764s # comment: @comment@ 764s # /*** END comment ***/ 764s # 764s # /*** BEGIN file-tail ***/ 764s # file-tail 764s # /*** END file-tail ***/ 764s # 764s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6azmtxka/tmpa2rb1n90.template', '/tmp/tmp6azmtxka/tmpkqdvmyg_.h'] 764s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 764s # Output: comment 764s # 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. 764s # 764s # 764s # file-header 764s # file-production 764s # filename: /tmp/tmp6azmtxka/tmpkqdvmyg_.h 764s # basename: tmpkqdvmyg_.h 764s # enumeration-production 764s # EnumName: Foo 764s # enum_name: foo_ 764s # ENUMNAME: FOO_ 764s # ENUMSHORT: 764s # ENUMPREFIX: FOO 764s # enumsince: 764s # type: enum 764s # Type: Enum 764s # TYPE: ENUM 764s # value-header 764s # EnumName: Foo 764s # enum_name: foo_ 764s # ENUMNAME: FOO_ 764s # ENUMSHORT: 764s # ENUMPREFIX: FOO 764s # enumsince: 764s # type: enum 764s # Type: Enum 764s # TYPE: ENUM 764s # value-production 764s # VALUENAME: FOO_VALUE 764s # valuenick: eek, a comma 764s # valuenum: 0 764s # type: enum 764s # Type: Enum 764s # TYPE: ENUM 764s # value-tail 764s # EnumName: Foo 764s # enum_name: foo_ 764s # ENUMNAME: FOO_ 764s # ENUMSHORT: 764s # ENUMPREFIX: FOO 764s # enumsince: 764s # type: enum 764s # Type: Enum 764s # TYPE: ENUM 764s # file-tail 764s # 764s # comment 764s # comment: Generated data ends here 764s ok 19 __main__.TestRspMkenums.test_available_in 764s # tmpdir: /tmp/tmp1b2d2t33 764s # rspfile: True, mkenums: /usr/bin/glib-mkenums 764s # /tmp/tmp1b2d2t33/tmpf2mqa9kt.h: 764s # typedef enum { 764s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 764s # } GDBusServerFlags; 764s # 764s # /tmp/tmp1b2d2t33/tmpe6qpzcuf.template: 764s # /*** BEGIN file-header ***/ 764s # file-header 764s # /*** END file-header ***/ 764s # 764s # /*** BEGIN file-production ***/ 764s # file-production 764s # filename: @filename@ 764s # basename: @basename@ 764s # /*** END file-production ***/ 764s # 764s # /*** BEGIN enumeration-production ***/ 764s # enumeration-production 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END enumeration-production ***/ 764s # 764s # /*** BEGIN value-header ***/ 764s # value-header 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-header ***/ 764s # 764s # /*** BEGIN value-production ***/ 764s # value-production 764s # VALUENAME: @VALUENAME@ 764s # valuenick: @valuenick@ 764s # valuenum: @valuenum@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-production ***/ 764s # 764s # /*** BEGIN value-tail ***/ 764s # value-tail 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-tail ***/ 764s # 764s # /*** BEGIN comment ***/ 764s # comment 764s # comment: @comment@ 764s # /*** END comment ***/ 764s # 764s # /*** BEGIN file-tail ***/ 764s # file-tail 764s # /*** END file-tail ***/ 764s # 764s # Response file contains: --template /tmp/tmp1b2d2t33/tmpe6qpzcuf.template /tmp/tmp1b2d2t33/tmpf2mqa9kt.h 764s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1b2d2t33/tmp_orlx1df'] 764s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 764s # Output: comment 764s # 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. 764s # 764s # 764s # file-header 764s # file-production 764s # filename: /tmp/tmp1b2d2t33/tmpf2mqa9kt.h 764s # basename: tmpf2mqa9kt.h 764s # enumeration-production 764s # EnumName: GDBusServerFlags 764s # enum_name: g_dbus_server_flags 764s # ENUMNAME: G_DBUS_SERVER_FLAGS 764s # ENUMSHORT: DBUS_SERVER_FLAGS 764s # ENUMPREFIX: G 764s # enumsince: 764s # type: flags 764s # Type: Flags 764s # TYPE: FLAGS 764s # value-header 764s # EnumName: GDBusServerFlags 764s # enum_name: g_dbus_server_flags 764s # ENUMNAME: G_DBUS_SERVER_FLAGS 764s # ENUMSHORT: DBUS_SERVER_FLAGS 764s # ENUMPREFIX: G 764s # enumsince: 764s # type: flags 764s # Type: Flags 764s # TYPE: FLAGS 764s # value-production 764s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 764s # valuenick: user 764s # valuenum: 4 764s # type: flags 764s # Type: Flags 764s # TYPE: FLAGS 764s # value-tail 764s # EnumName: GDBusServerFlags 764s # enum_name: g_dbus_server_flags 764s # ENUMNAME: G_DBUS_SERVER_FLAGS 764s # ENUMSHORT: DBUS_SERVER_FLAGS 764s # ENUMPREFIX: G 764s # enumsince: 764s # type: flags 764s # Type: Flags 764s # TYPE: FLAGS 764s # file-tail 764s # 764s # comment 764s # comment: Generated data ends here 764s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 764s # tmpdir: /tmp/tmpf1a416cv 764s # rspfile: True, mkenums: /usr/bin/glib-mkenums 764s # /tmp/tmpf1a416cv/tmp1q4c2vz0.h: 764s # typedef enum { 764s # ENUM_VALUE_WITH_COMMA = ',', 764s # } TestCommaEnum; 764s # 764s # /tmp/tmpf1a416cv/tmp66nssjb9.template: 764s # /*** BEGIN file-header ***/ 764s # file-header 764s # /*** END file-header ***/ 764s # 764s # /*** BEGIN file-production ***/ 764s # file-production 764s # filename: @filename@ 764s # basename: @basename@ 764s # /*** END file-production ***/ 764s # 764s # /*** BEGIN enumeration-production ***/ 764s # enumeration-production 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END enumeration-production ***/ 764s # 764s # /*** BEGIN value-header ***/ 764s # value-header 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-header ***/ 764s # 764s # /*** BEGIN value-production ***/ 764s # value-production 764s # VALUENAME: @VALUENAME@ 764s # valuenick: @valuenick@ 764s # valuenum: @valuenum@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-production ***/ 764s # 764s # /*** BEGIN value-tail ***/ 764s # value-tail 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-tail ***/ 764s # 764s # /*** BEGIN comment ***/ 764s # comment 764s # comment: @comment@ 764s # /*** END comment ***/ 764s # 764s # /*** BEGIN file-tail ***/ 764s # file-tail 764s # /*** END file-tail ***/ 764s # 764s # Response file contains: --template /tmp/tmpf1a416cv/tmp66nssjb9.template /tmp/tmpf1a416cv/tmp1q4c2vz0.h 764s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpf1a416cv/tmpmeg3tjbc'] 764s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 764s # Output: comment 764s # 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. 764s # 764s # 764s # file-header 764s # file-production 764s # filename: /tmp/tmpf1a416cv/tmp1q4c2vz0.h 764s # basename: tmp1q4c2vz0.h 764s # enumeration-production 764s # EnumName: TestCommaEnum 764s # enum_name: test_comma_enum 764s # ENUMNAME: TEST_COMMA_ENUM 764s # ENUMSHORT: COMMA_ENUM 764s # ENUMPREFIX: TEST 764s # enumsince: 764s # type: enum 764s # Type: Enum 764s # TYPE: ENUM 764s # value-header 764s # EnumName: TestCommaEnum 764s # enum_name: test_comma_enum 764s # ENUMNAME: TEST_COMMA_ENUM 764s # ENUMSHORT: COMMA_ENUM 764s # ENUMPREFIX: TEST 764s # enumsince: 764s # type: enum 764s # Type: Enum 764s # TYPE: ENUM 764s # value-production 764s # VALUENAME: ENUM_VALUE_WITH_COMMA 764s # valuenick: comma 764s # valuenum: 44 764s # type: enum 764s # Type: Enum 764s # TYPE: ENUM 764s # value-tail 764s # EnumName: TestCommaEnum 764s # enum_name: test_comma_enum 764s # ENUMNAME: TEST_COMMA_ENUM 764s # ENUMSHORT: COMMA_ENUM 764s # ENUMPREFIX: TEST 764s # enumsince: 764s # type: enum 764s # Type: Enum 764s # TYPE: ENUM 764s # file-tail 764s # 764s # comment 764s # comment: Generated data ends here 764s ok 21 __main__.TestRspMkenums.test_deprecated_in 764s # tmpdir: /tmp/tmp29unx656 764s # rspfile: True, mkenums: /usr/bin/glib-mkenums 764s # /tmp/tmp29unx656/tmp9a4zv6nb.h: 764s # typedef enum { 764s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 764s # } GDBusServerFlags; 764s # 764s # /tmp/tmp29unx656/tmpsw6pv3vm.template: 764s # /*** BEGIN file-header ***/ 764s # file-header 764s # /*** END file-header ***/ 764s # 764s # /*** BEGIN file-production ***/ 764s # file-production 764s # filename: @filename@ 764s # basename: @basename@ 764s # /*** END file-production ***/ 764s # 764s # /*** BEGIN enumeration-production ***/ 764s # enumeration-production 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END enumeration-production ***/ 764s # 764s # /*** BEGIN value-header ***/ 764s # value-header 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-header ***/ 764s # 764s # /*** BEGIN value-production ***/ 764s # value-production 764s # VALUENAME: @VALUENAME@ 764s # valuenick: @valuenick@ 764s # valuenum: @valuenum@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-production ***/ 764s # 764s # /*** BEGIN value-tail ***/ 764s # value-tail 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-tail ***/ 764s # 764s # /*** BEGIN comment ***/ 764s # comment 764s # comment: @comment@ 764s # /*** END comment ***/ 764s # 764s # /*** BEGIN file-tail ***/ 764s # file-tail 764s # /*** END file-tail ***/ 764s # 764s # Response file contains: --template /tmp/tmp29unx656/tmpsw6pv3vm.template /tmp/tmp29unx656/tmp9a4zv6nb.h 764s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp29unx656/tmpp39a6t_0'] 764s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 764s # Output: comment 764s # 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. 764s # 764s # 764s # file-header 764s # file-production 764s # filename: /tmp/tmp29unx656/tmp9a4zv6nb.h 764s # basename: tmp9a4zv6nb.h 764s # enumeration-production 764s # EnumName: GDBusServerFlags 764s # enum_name: g_dbus_server_flags 764s # ENUMNAME: G_DBUS_SERVER_FLAGS 764s # ENUMSHORT: DBUS_SERVER_FLAGS 764s # ENUMPREFIX: G 764s # enumsince: 764s # type: flags 764s # Type: Flags 764s # TYPE: FLAGS 764s # value-header 764s # EnumName: GDBusServerFlags 764s # enum_name: g_dbus_server_flags 764s # ENUMNAME: G_DBUS_SERVER_FLAGS 764s # ENUMSHORT: DBUS_SERVER_FLAGS 764s # ENUMPREFIX: G 764s # enumsince: 764s # type: flags 764s # Type: Flags 764s # TYPE: FLAGS 764s # value-production 764s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 764s # valuenick: user 764s # valuenum: 4 764s # type: flags 764s # Type: Flags 764s # TYPE: FLAGS 764s # value-tail 764s # EnumName: GDBusServerFlags 764s # enum_name: g_dbus_server_flags 764s # ENUMNAME: G_DBUS_SERVER_FLAGS 764s # ENUMSHORT: DBUS_SERVER_FLAGS 764s # ENUMPREFIX: G 764s # enumsince: 764s # type: flags 764s # Type: Flags 764s # TYPE: FLAGS 764s # file-tail 764s # 764s # comment 764s # comment: Generated data ends here 764s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 764s # tmpdir: /tmp/tmpc8_ab94e 764s # rspfile: True, mkenums: /usr/bin/glib-mkenums 764s # /tmp/tmpc8_ab94e/tmp3w3oj55n.h: 764s # typedef enum { 764s # 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) 764s # } GDBusServerFlags; 764s # 764s # /tmp/tmpc8_ab94e/tmpaphiht3y.template: 764s # /*** BEGIN file-header ***/ 764s # file-header 764s # /*** END file-header ***/ 764s # 764s # /*** BEGIN file-production ***/ 764s # file-production 764s # filename: @filename@ 764s # basename: @basename@ 764s # /*** END file-production ***/ 764s # 764s # /*** BEGIN enumeration-production ***/ 764s # enumeration-production 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END enumeration-production ***/ 764s # 764s # /*** BEGIN value-header ***/ 764s # value-header 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-header ***/ 764s # 764s # /*** BEGIN value-production ***/ 764s # value-production 764s # VALUENAME: @VALUENAME@ 764s # valuenick: @valuenick@ 764s # valuenum: @valuenum@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-production ***/ 764s # 764s # /*** BEGIN value-tail ***/ 764s # value-tail 764s # EnumName: @EnumName@ 764s # enum_name: @enum_name@ 764s # ENUMNAME: @ENUMNAME@ 764s # ENUMSHORT: @ENUMSHORT@ 764s # ENUMPREFIX: @ENUMPREFIX@ 764s # enumsince: @enumsince@ 764s # type: @type@ 764s # Type: @Type@ 764s # TYPE: @TYPE@ 764s # /*** END value-tail ***/ 764s # 764s # /*** BEGIN comment ***/ 764s # comment 764s # comment: @comment@ 764s # /*** END comment ***/ 764s # 764s # /*** BEGIN file-tail ***/ 764s # file-tail 764s # /*** END file-tail ***/ 764s # 764s # Response file contains: --template /tmp/tmpc8_ab94e/tmpaphiht3y.template /tmp/tmpc8_ab94e/tmp3w3oj55n.h 764s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpc8_ab94e/tmpm662tmas'] 764s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 764s # Output: comment 764s # 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. 764s # 764s # 764s # file-header 764s # file-production 764s # filename: /tmp/tmpc8_ab94e/tmp3w3oj55n.h 764s # basename: tmp3w3oj55n.h 764s # enumeration-production 764s # EnumName: GDBusServerFlags 764s # enum_name: g_dbus_server_flags 764s # ENUMNAME: G_DBUS_SERVER_FLAGS 764s # ENUMSHORT: DBUS_SERVER_FLAGS 764s # ENUMPREFIX: G 764s # enumsince: 764s # type: flags 764s # Type: Flags 764s # TYPE: FLAGS 764s # value-header 764s # EnumName: GDBusServerFlags 764s # enum_name: g_dbus_server_flags 764s # ENUMNAME: G_DBUS_SERVER_FLAGS 764s # ENUMSHORT: DBUS_SERVER_FLAGS 764s # ENUMPREFIX: G 764s # enumsince: 764s # type: flags 764s # Type: Flags 764s # TYPE: FLAGS 764s # value-production 764s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 764s # valuenick: user 764s # valuenum: 4 764s # type: flags 764s # Type: Flags 764s # TYPE: FLAGS 764s # value-tail 764s # EnumName: GDBusServerFlags 764s # enum_name: g_dbus_server_flags 764s # ENUMNAME: G_DBUS_SERVER_FLAGS 764s # ENUMSHORT: DBUS_SERVER_FLAGS 764s # ENUMPREFIX: G 764s # enumsince: 764s # type: flags 764s # Type: Flags 764s # TYPE: FLAGS 764s # file-tail 764s # 764s # comment 764s # comment: Generated data ends here 765s ok 23 __main__.TestRspMkenums.test_empty_header 765s # tmpdir: /tmp/tmp_84_tr4c 765s # rspfile: True, mkenums: /usr/bin/glib-mkenums 765s # /tmp/tmp_84_tr4c/tmpx8rfr3zc.h: 765s # /tmp/tmp_84_tr4c/tmpstgb_08b.template: 765s # /*** BEGIN file-header ***/ 765s # file-header 765s # /*** END file-header ***/ 765s # 765s # /*** BEGIN file-production ***/ 765s # file-production 765s # filename: @filename@ 765s # basename: @basename@ 765s # /*** END file-production ***/ 765s # 765s # /*** BEGIN enumeration-production ***/ 765s # enumeration-production 765s # EnumName: @EnumName@ 765s # enum_name: @enum_name@ 765s # ENUMNAME: @ENUMNAME@ 765s # ENUMSHORT: @ENUMSHORT@ 765s # ENUMPREFIX: @ENUMPREFIX@ 765s # enumsince: @enumsince@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END enumeration-production ***/ 765s # 765s # /*** BEGIN value-header ***/ 765s # value-header 765s # EnumName: @EnumName@ 765s # enum_name: @enum_name@ 765s # ENUMNAME: @ENUMNAME@ 765s # ENUMSHORT: @ENUMSHORT@ 765s # ENUMPREFIX: @ENUMPREFIX@ 765s # enumsince: @enumsince@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END value-header ***/ 765s # 765s # /*** BEGIN value-production ***/ 765s # value-production 765s # VALUENAME: @VALUENAME@ 765s # valuenick: @valuenick@ 765s # valuenum: @valuenum@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END value-production ***/ 765s # 765s # /*** BEGIN value-tail ***/ 765s # value-tail 765s # EnumName: @EnumName@ 765s # enum_name: @enum_name@ 765s # ENUMNAME: @ENUMNAME@ 765s # ENUMSHORT: @ENUMSHORT@ 765s # ENUMPREFIX: @ENUMPREFIX@ 765s # enumsince: @enumsince@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END value-tail ***/ 765s # 765s # /*** BEGIN comment ***/ 765s # comment 765s # comment: @comment@ 765s # /*** END comment ***/ 765s # 765s # /*** BEGIN file-tail ***/ 765s # file-tail 765s # /*** END file-tail ***/ 765s # 765s # Response file contains: --template /tmp/tmp_84_tr4c/tmpstgb_08b.template /tmp/tmp_84_tr4c/tmpx8rfr3zc.h 765s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_84_tr4c/tmp7fv5yp1c'] 765s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 765s # Output: comment 765s # 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. 765s # 765s # 765s # file-header 765s # file-tail 765s # 765s # comment 765s # comment: Generated data ends here 765s # Executing: glib/mkenums.py.test 765s ok 24 __main__.TestRspMkenums.test_empty_template 765s # tmpdir: /tmp/tmpw63_41_h 765s # rspfile: True, mkenums: /usr/bin/glib-mkenums 765s # /tmp/tmpw63_41_h/tmp1ii2mfcj.template: 765s # Response file contains: --template /tmp/tmpw63_41_h/tmp1ii2mfcj.template 765s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpw63_41_h/tmpy9uycr7u'] 765s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 765s # Output: /* 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. */ 765s # 765s # 765s # /* Generated data ends here */ 765s ok 25 __main__.TestRspMkenums.test_enum_name 765s # tmpdir: /tmp/tmp393l0kf9 765s # rspfile: True, mkenums: /usr/bin/glib-mkenums 765s # /tmp/tmp393l0kf9/tmppm182bwm.h: 765s # typedef enum _SomeEnumIdentifier { 765s # ENUM_VALUE 765s # } SomeEnumIdentifier; 765s # 765s # /tmp/tmp393l0kf9/tmp97xvl3kx.template: 765s # /*** BEGIN file-header ***/ 765s # file-header 765s # /*** END file-header ***/ 765s # 765s # /*** BEGIN file-production ***/ 765s # file-production 765s # filename: @filename@ 765s # basename: @basename@ 765s # /*** END file-production ***/ 765s # 765s # /*** BEGIN enumeration-production ***/ 765s # enumeration-production 765s # EnumName: @EnumName@ 765s # enum_name: @enum_name@ 765s # ENUMNAME: @ENUMNAME@ 765s # ENUMSHORT: @ENUMSHORT@ 765s # ENUMPREFIX: @ENUMPREFIX@ 765s # enumsince: @enumsince@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END enumeration-production ***/ 765s # 765s # /*** BEGIN value-header ***/ 765s # value-header 765s # EnumName: @EnumName@ 765s # enum_name: @enum_name@ 765s # ENUMNAME: @ENUMNAME@ 765s # ENUMSHORT: @ENUMSHORT@ 765s # ENUMPREFIX: @ENUMPREFIX@ 765s # enumsince: @enumsince@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END value-header ***/ 765s # 765s # /*** BEGIN value-production ***/ 765s # value-production 765s # VALUENAME: @VALUENAME@ 765s # valuenick: @valuenick@ 765s # valuenum: @valuenum@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END value-production ***/ 765s # 765s # /*** BEGIN value-tail ***/ 765s # value-tail 765s # EnumName: @EnumName@ 765s # enum_name: @enum_name@ 765s # ENUMNAME: @ENUMNAME@ 765s # ENUMSHORT: @ENUMSHORT@ 765s # ENUMPREFIX: @ENUMPREFIX@ 765s # enumsince: @enumsince@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END value-tail ***/ 765s # 765s # /*** BEGIN comment ***/ 765s # comment 765s # comment: @comment@ 765s # /*** END comment ***/ 765s # 765s # /*** BEGIN file-tail ***/ 765s # file-tail 765s # /*** END file-tail ***/ 765s # 765s # Response file contains: --template /tmp/tmp393l0kf9/tmp97xvl3kx.template /tmp/tmp393l0kf9/tmppm182bwm.h 765s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp393l0kf9/tmpin2o3e7o'] 765s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 765s # Output: comment 765s # 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. 765s # 765s # 765s # file-header 765s # file-production 765s # filename: /tmp/tmp393l0kf9/tmppm182bwm.h 765s # basename: tmppm182bwm.h 765s # enumeration-production 765s # EnumName: SomeEnumIdentifier 765s # enum_name: some_enum_identifier 765s # ENUMNAME: SOME_ENUM_IDENTIFIER 765s # ENUMSHORT: ENUM_IDENTIFIER 765s # ENUMPREFIX: SOME 765s # enumsince: 765s # type: enum 765s # Type: Enum 765s # TYPE: ENUM 765s # value-header 765s # EnumName: SomeEnumIdentifier 765s # enum_name: some_enum_identifier 765s # ENUMNAME: SOME_ENUM_IDENTIFIER 765s # ENUMSHORT: ENUM_IDENTIFIER 765s # ENUMPREFIX: SOME 765s # enumsince: 765s # type: enum 765s # Type: Enum 765s # TYPE: ENUM 765s # value-production 765s # VALUENAME: ENUM_VALUE 765s # valuenick: value 765s # valuenum: 0 765s # type: enum 765s # Type: Enum 765s # TYPE: ENUM 765s # value-tail 765s # EnumName: SomeEnumIdentifier 765s # enum_name: some_enum_identifier 765s # ENUMNAME: SOME_ENUM_IDENTIFIER 765s # ENUMSHORT: ENUM_IDENTIFIER 765s # ENUMPREFIX: SOME 765s # enumsince: 765s # type: enum 765s # Type: Enum 765s # TYPE: ENUM 765s # file-tail 765s # 765s # comment 765s # comment: Generated data ends here 765s ok 26 __main__.TestRspMkenums.test_enum_private_public 765s # tmpdir: /tmp/tmp0ljnhu90 765s # rspfile: True, mkenums: /usr/bin/glib-mkenums 765s # /tmp/tmp0ljnhu90/tmph8cedzat.h: 765s # typedef enum { 765s # ENUM_VALUE_PUBLIC1, 765s # /*< private >*/ 765s # ENUM_VALUE_PRIVATE, 765s # } SomeEnumA 765s # 765s # /tmp/tmp0ljnhu90/tmpsg7jtpg1.template: 765s # /*** BEGIN file-header ***/ 765s # file-header 765s # /*** END file-header ***/ 765s # 765s # /*** BEGIN file-production ***/ 765s # file-production 765s # filename: @filename@ 765s # basename: @basename@ 765s # /*** END file-production ***/ 765s # 765s # /*** BEGIN enumeration-production ***/ 765s # enumeration-production 765s # EnumName: @EnumName@ 765s # enum_name: @enum_name@ 765s # ENUMNAME: @ENUMNAME@ 765s # ENUMSHORT: @ENUMSHORT@ 765s # ENUMPREFIX: @ENUMPREFIX@ 765s # enumsince: @enumsince@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END enumeration-production ***/ 765s # 765s # /*** BEGIN value-header ***/ 765s # value-header 765s # EnumName: @EnumName@ 765s # enum_name: @enum_name@ 765s # ENUMNAME: @ENUMNAME@ 765s # ENUMSHORT: @ENUMSHORT@ 765s # ENUMPREFIX: @ENUMPREFIX@ 765s # enumsince: @enumsince@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END value-header ***/ 765s # 765s # /*** BEGIN value-production ***/ 765s # value-production 765s # VALUENAME: @VALUENAME@ 765s # valuenick: @valuenick@ 765s # valuenum: @valuenum@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END value-production ***/ 765s # 765s # /*** BEGIN value-tail ***/ 765s # value-tail 765s # EnumName: @EnumName@ 765s # enum_name: @enum_name@ 765s # ENUMNAME: @ENUMNAME@ 765s # ENUMSHORT: @ENUMSHORT@ 765s # ENUMPREFIX: @ENUMPREFIX@ 765s # enumsince: @enumsince@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END value-tail ***/ 765s # 765s # /*** BEGIN comment ***/ 765s # comment 765s # comment: @comment@ 765s # /*** END comment ***/ 765s # 765s # /*** BEGIN file-tail ***/ 765s # file-tail 765s # /*** END file-tail ***/ 765s # 765s # Response file contains: --template /tmp/tmp0ljnhu90/tmpsg7jtpg1.template /tmp/tmp0ljnhu90/tmph8cedzat.h 765s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0ljnhu90/tmpatvpcgwf'] 765s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 765s # Output: comment 765s # 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. 765s # 765s # 765s # file-header 765s # file-production 765s # filename: /tmp/tmp0ljnhu90/tmph8cedzat.h 765s # basename: tmph8cedzat.h 765s # enumeration-production 765s # EnumName: SomeEnumA 765s # enum_name: some_enum_a 765s # ENUMNAME: SOME_ENUM_A 765s # ENUMSHORT: ENUM_A 765s # ENUMPREFIX: SOME 765s # enumsince: 765s # type: enum 765s # Type: Enum 765s # TYPE: ENUM 765s # value-header 765s # EnumName: SomeEnumA 765s # enum_name: some_enum_a 765s # ENUMNAME: SOME_ENUM_A 765s # ENUMSHORT: ENUM_A 765s # ENUMPREFIX: SOME 765s # enumsince: 765s # type: enum 765s # Type: Enum 765s # TYPE: ENUM 765s # value-production 765s # VALUENAME: ENUM_VALUE_PUBLIC1 765s # valuenick: public1 765s # valuenum: 0 765s # type: enum 765s # Type: Enum 765s # TYPE: ENUM 765s # value-tail 765s # EnumName: SomeEnumA 765s # enum_name: some_enum_a 765s # ENUMNAME: SOME_ENUM_A 765s # ENUMSHORT: ENUM_A 765s # ENUMPREFIX: SOME 765s # enumsince: 765s # type: enum 765s # Type: Enum 765s # TYPE: ENUM 765s # file-tail 765s # 765s # comment 765s # comment: Generated data ends here 765s # /tmp/tmp0ljnhu90/tmp5eslb_an.h: 765s # typedef enum { 765s # /*< private >*/ 765s # ENUM_VALUE_PRIVATE, 765s # /*< public >*/ 765s # ENUM_VALUE_PUBLIC2, 765s # } SomeEnumB; 765s # 765s # /tmp/tmp0ljnhu90/tmpp84wbku4.template: 765s # /*** BEGIN file-header ***/ 765s # file-header 765s # /*** END file-header ***/ 765s # 765s # /*** BEGIN file-production ***/ 765s # file-production 765s # filename: @filename@ 765s # basename: @basename@ 765s # /*** END file-production ***/ 765s # 765s # /*** BEGIN enumeration-production ***/ 765s # enumeration-production 765s # EnumName: @EnumName@ 765s # enum_name: @enum_name@ 765s # ENUMNAME: @ENUMNAME@ 765s # ENUMSHORT: @ENUMSHORT@ 765s # ENUMPREFIX: @ENUMPREFIX@ 765s # enumsince: @enumsince@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END enumeration-production ***/ 765s # 765s # /*** BEGIN value-header ***/ 765s # value-header 765s # EnumName: @EnumName@ 765s # enum_name: @enum_name@ 765s # ENUMNAME: @ENUMNAME@ 765s # ENUMSHORT: @ENUMSHORT@ 765s # ENUMPREFIX: @ENUMPREFIX@ 765s # enumsince: @enumsince@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END value-header ***/ 765s # 765s # /*** BEGIN value-production ***/ 765s # value-production 765s # VALUENAME: @VALUENAME@ 765s # valuenick: @valuenick@ 765s # valuenum: @valuenum@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END value-production ***/ 765s # 765s # /*** BEGIN value-tail ***/ 765s # value-tail 765s # EnumName: @EnumName@ 765s # enum_name: @enum_name@ 765s # ENUMNAME: @ENUMNAME@ 765s # ENUMSHORT: @ENUMSHORT@ 765s # ENUMPREFIX: @ENUMPREFIX@ 765s # enumsince: @enumsince@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END value-tail ***/ 765s # 765s # /*** BEGIN comment ***/ 765s # comment 765s # comment: @comment@ 765s # /*** END comment ***/ 765s # 765s # /*** BEGIN file-tail ***/ 765s # file-tail 765s # /*** END file-tail ***/ 765s # 765s # Response file contains: --template /tmp/tmp0ljnhu90/tmpp84wbku4.template /tmp/tmp0ljnhu90/tmp5eslb_an.h 765s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0ljnhu90/tmpfhbhqptq'] 765s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 765s # Output: comment 765s # 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. 765s # 765s # 765s # file-header 765s # file-production 765s # filename: /tmp/tmp0ljnhu90/tmp5eslb_an.h 765s # basename: tmp5eslb_an.h 765s # enumeration-production 765s # EnumName: SomeEnumB 765s # enum_name: some_enum_b 765s # ENUMNAME: SOME_ENUM_B 765s # ENUMSHORT: ENUM_B 765s # ENUMPREFIX: SOME 765s # enumsince: 765s # type: enum 765s # Type: Enum 765s # TYPE: ENUM 765s # value-header 765s # EnumName: SomeEnumB 765s # enum_name: some_enum_b 765s # ENUMNAME: SOME_ENUM_B 765s # ENUMSHORT: ENUM_B 765s # ENUMPREFIX: SOME 765s # enumsince: 765s # type: enum 765s # Type: Enum 765s # TYPE: ENUM 765s # value-production 765s # VALUENAME: ENUM_VALUE_PUBLIC2 765s # valuenick: public2 765s # valuenum: 1 765s # type: enum 765s # Type: Enum 765s # TYPE: ENUM 765s # value-tail 765s # EnumName: SomeEnumB 765s # enum_name: some_enum_b 765s # ENUMNAME: SOME_ENUM_B 765s # ENUMSHORT: ENUM_B 765s # ENUMPREFIX: SOME 765s # enumsince: 765s # type: enum 765s # Type: Enum 765s # TYPE: ENUM 765s # file-tail 765s # 765s # comment 765s # comment: Generated data ends here 765s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 765s # tmpdir: /tmp/tmpju_i_0u3 765s # rspfile: True, mkenums: /usr/bin/glib-mkenums 765s # /tmp/tmpju_i_0u3/tmp03paoypu.h: 765s # typedef enum { 765s # /*< private >*/ 765s # ENUM_VALUE_PRIVATE = 5, 765s # /*< public >*/ 765s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 765s # } TestSymbolicEnum; 765s # 765s # /tmp/tmpju_i_0u3/tmpn8e_7pih.template: 765s # /*** BEGIN file-header ***/ 765s # file-header 765s # /*** END file-header ***/ 765s # 765s # /*** BEGIN file-production ***/ 765s # file-production 765s # filename: @filename@ 765s # basename: @basename@ 765s # /*** END file-production ***/ 765s # 765s # /*** BEGIN enumeration-production ***/ 765s # enumeration-production 765s # EnumName: @EnumName@ 765s # enum_name: @enum_name@ 765s # ENUMNAME: @ENUMNAME@ 765s # ENUMSHORT: @ENUMSHORT@ 765s # ENUMPREFIX: @ENUMPREFIX@ 765s # enumsince: @enumsince@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END enumeration-production ***/ 765s # 765s # /*** BEGIN value-header ***/ 765s # value-header 765s # EnumName: @EnumName@ 765s # enum_name: @enum_name@ 765s # ENUMNAME: @ENUMNAME@ 765s # ENUMSHORT: @ENUMSHORT@ 765s # ENUMPREFIX: @ENUMPREFIX@ 765s # enumsince: @enumsince@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END value-header ***/ 765s # 765s # /*** BEGIN value-production ***/ 765s # value-production 765s # VALUENAME: @VALUENAME@ 765s # valuenick: @valuenick@ 765s # valuenum: @valuenum@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END value-production ***/ 765s # 765s # /*** BEGIN value-tail ***/ 765s # value-tail 765s # EnumName: @EnumName@ 765s # enum_name: @enum_name@ 765s # ENUMNAME: @ENUMNAME@ 765s # ENUMSHORT: @ENUMSHORT@ 765s # ENUMPREFIX: @ENUMPREFIX@ 765s # enumsince: @enumsince@ 765s # type: @type@ 765s # Type: @Type@ 765s # TYPE: @TYPE@ 765s # /*** END value-tail ***/ 765s # 765s # /*** BEGIN comment ***/ 765s # comment 765s # comment: @comment@ 765s # /*** END comment ***/ 765s # 765s # /*** BEGIN file-tail ***/ 765s # file-tail 765s # /*** END file-tail ***/ 765s # 765s # Response file contains: --template /tmp/tmpju_i_0u3/tmpn8e_7pih.template /tmp/tmpju_i_0u3/tmp03paoypu.h 765s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpju_i_0u3/tmpsc7pcc15'] 765s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 765s # Output: comment 765s # 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. 765s # 765s # 765s # file-header 765s # file-production 765s # filename: /tmp/tmpju_i_0u3/tmp03paoypu.h 765s # basename: tmp03paoypu.h 765s # enumeration-production 765s # EnumName: TestSymbolicEnum 765s # enum_name: test_symbolic_enum 765s # ENUMNAME: TEST_SYMBOLIC_ENUM 765s # ENUMSHORT: SYMBOLIC_ENUM 765s # ENUMPREFIX: TEST 765s # enumsince: 765s # type: enum 765s # Type: Enum 765s # TYPE: ENUM 765s # value-header 765s # EnumName: TestSymbolicEnum 765s # enum_name: test_symbolic_enum 765s # ENUMNAME: TEST_SYMBOLIC_ENUM 765s # ENUMSHORT: SYMBOLIC_ENUM 765s # ENUMPREFIX: TEST 765s # enumsince: 765s # type: enum 765s # Type: Enum 765s # TYPE: ENUM 765s # value-production 765s # VALUENAME: ENUM_VALUE_PUBLIC 765s # valuenick: public 765s # valuenum: 7 765s # type: enum 765s # Type: Enum 765s # TYPE: ENUM 765s # value-tail 765s # EnumName: TestSymbolicEnum 765s # enum_name: test_symbolic_enum 765s # ENUMNAME: TEST_SYMBOLIC_ENUM 765s # ENUMSHORT: SYMBOLIC_ENUM 765s # ENUMPREFIX: TEST 765s # enumsince: 765s # type: enum 765s # Type: Enum 765s # TYPE: ENUM 765s # file-tail 765s # 765s # comment 765s # comment: Generated data ends here 765s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 765s # tmpdir: /tmp/tmpctoa4a46 765s # rspfile: True, mkenums: /usr/bin/glib-mkenums 765s # /tmp/tmpctoa4a46/tmpfz1c6vwc.template: 765s # /*** BEGIN file-header ***/ 765s # file-header 765s # filename: @filename@ 765s # basename: @basename@ 765s # /*** END file-header ***/ 765s # 765s # /*** BEGIN comment ***/ 765s # comment 765s # comment: @comment@ 765s # /*** END comment ***/ 765s # 765s # /*** BEGIN file-tail ***/ 765s # file-tail 765s # filename: @filename@ 765s # basename: @basename@ 765s # /*** END file-tail ***/ 765s # Response file contains: --template /tmp/tmpctoa4a46/tmpfz1c6vwc.template 765s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpctoa4a46/tmp3agj7q4m'] 765s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 765s # Output: comment 765s # 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. 765s # 765s # 765s # file-header 765s # filename: @filename@ 765s # basename: @basename@ 765s # file-tail 765s # filename: @filename@ 765s # basename: @basename@ 765s # 765s # comment 765s # comment: Generated data ends here 766s ok 29 __main__.TestRspMkenums.test_help 766s # tmpdir: /tmp/tmp2z3fbrr8 766s # rspfile: True, mkenums: /usr/bin/glib-mkenums 766s # Response file contains: --help 766s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2z3fbrr8/tmp2stun7rv'] 766s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 766s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 766s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 766s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 766s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 766s # [--comments COMMENT_TMPL] [--template TEMPLATE] 766s # [--output OUTPUT] [--version] 766s # [args ...] 766s # 766s # positional arguments: 766s # args One or more input files, or a single argument 766s # @rspfile_path pointing to a file that contains the 766s # actual arguments 766s # 766s # options: 766s # -h, --help show this help message and exit 766s # --identifier-prefix IDPREFIX 766s # Identifier prefix 766s # --symbol-prefix SYMPREFIX 766s # Symbol prefix 766s # --fhead FHEAD Output file header 766s # --ftail FTAIL Output file footer 766s # --fprod FPROD Put out TEXT every time a new input file is being 766s # processed. 766s # --eprod EPROD Per enum text, produced prior to value iterations 766s # --vhead VHEAD Value header, produced before iterating over enum 766s # values 766s # --vprod VPROD Value text, produced for each enum value. 766s # --vtail VTAIL Value tail, produced after iterating over enum values 766s # --comments COMMENT_TMPL 766s # Comment structure 766s # --template TEMPLATE Template file 766s # --output OUTPUT 766s # --version, -v Print version information 766s # 766s # Production text substitutions: 766s # @EnumName@ PrefixTheXEnum 766s # @enum_name@ prefix_the_xenum 766s # @ENUMNAME@ PREFIX_THE_XENUM 766s # @ENUMSHORT@ THE_XENUM 766s # @ENUMPREFIX@ PREFIX 766s # @enumsince@ the user-provided since value given 766s # @VALUENAME@ PREFIX_THE_XVALUE 766s # @valuenick@ the-xvalue 766s # @valuenum@ the integer value (limited support, Since: 2.26) 766s # @type@ either enum or flags 766s # @Type@ either Enum or Flags 766s # @TYPE@ either ENUM or FLAGS 766s # @filename@ name of current input file 766s # @basename@ base name of the current input file (Since: 2.22) 766s ok 30 __main__.TestRspMkenums.test_no_args 766s # tmpdir: /tmp/tmpvgb5dpsq 766s # rspfile: True, mkenums: /usr/bin/glib-mkenums 766s # Response file contains: 766s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvgb5dpsq/tmp62np68lf'] 766s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 766s # Output: /* 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. */ 766s # 766s # 766s # /* Generated data ends here */ 766s ok 31 __main__.TestRspMkenums.test_no_headers 766s # tmpdir: /tmp/tmp9vaua7dv 766s # rspfile: True, mkenums: /usr/bin/glib-mkenums 766s # /tmp/tmp9vaua7dv/tmpqbr4w6lt.template: 766s # /*** BEGIN file-header ***/ 766s # file-header 766s # /*** END file-header ***/ 766s # 766s # /*** BEGIN file-production ***/ 766s # file-production 766s # filename: @filename@ 766s # basename: @basename@ 766s # /*** END file-production ***/ 766s # 766s # /*** BEGIN enumeration-production ***/ 766s # enumeration-production 766s # EnumName: @EnumName@ 766s # enum_name: @enum_name@ 766s # ENUMNAME: @ENUMNAME@ 766s # ENUMSHORT: @ENUMSHORT@ 766s # ENUMPREFIX: @ENUMPREFIX@ 766s # enumsince: @enumsince@ 766s # type: @type@ 766s # Type: @Type@ 766s # TYPE: @TYPE@ 766s # /*** END enumeration-production ***/ 766s # 766s # /*** BEGIN value-header ***/ 766s # value-header 766s # EnumName: @EnumName@ 766s # enum_name: @enum_name@ 766s # ENUMNAME: @ENUMNAME@ 766s # ENUMSHORT: @ENUMSHORT@ 766s # ENUMPREFIX: @ENUMPREFIX@ 766s # enumsince: @enumsince@ 766s # type: @type@ 766s # Type: @Type@ 766s # TYPE: @TYPE@ 766s # /*** END value-header ***/ 766s # 766s # /*** BEGIN value-production ***/ 766s # value-production 766s # VALUENAME: @VALUENAME@ 766s # valuenick: @valuenick@ 766s # valuenum: @valuenum@ 766s # type: @type@ 766s # Type: @Type@ 766s # TYPE: @TYPE@ 766s # /*** END value-production ***/ 766s # 766s # /*** BEGIN value-tail ***/ 766s # value-tail 766s # EnumName: @EnumName@ 766s # enum_name: @enum_name@ 766s # ENUMNAME: @ENUMNAME@ 766s # ENUMSHORT: @ENUMSHORT@ 766s # ENUMPREFIX: @ENUMPREFIX@ 766s # enumsince: @enumsince@ 766s # type: @type@ 766s # Type: @Type@ 766s # TYPE: @TYPE@ 766s # /*** END value-tail ***/ 766s # 766s # /*** BEGIN comment ***/ 766s # comment 766s # comment: @comment@ 766s # /*** END comment ***/ 766s # 766s # /*** BEGIN file-tail ***/ 766s # file-tail 766s # /*** END file-tail ***/ 766s # 766s # Response file contains: --template /tmp/tmp9vaua7dv/tmpqbr4w6lt.template 766s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9vaua7dv/tmpbo0bvuml'] 766s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 766s # Output: comment 766s # 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. 766s # 766s # 766s # file-header 766s # file-tail 766s # 766s # comment 766s # comment: Generated data ends here 766s ok 32 __main__.TestRspMkenums.test_no_nick 766s # tmpdir: /tmp/tmpji4uo7kb 766s # rspfile: True, mkenums: /usr/bin/glib-mkenums 766s # /tmp/tmpji4uo7kb/tmp8veqkhvt.h: 766s # typedef enum { 766s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 766s # } GeglSamplerType; 766s # 766s # /tmp/tmpji4uo7kb/tmp84s69ts5.template: 766s # /*** BEGIN file-header ***/ 766s # file-header 766s # /*** END file-header ***/ 766s # 766s # /*** BEGIN file-production ***/ 766s # file-production 766s # filename: @filename@ 766s # basename: @basename@ 766s # /*** END file-production ***/ 766s # 766s # /*** BEGIN enumeration-production ***/ 766s # enumeration-production 766s # EnumName: @EnumName@ 766s # enum_name: @enum_name@ 766s # ENUMNAME: @ENUMNAME@ 766s # ENUMSHORT: @ENUMSHORT@ 766s # ENUMPREFIX: @ENUMPREFIX@ 766s # enumsince: @enumsince@ 766s # type: @type@ 766s # Type: @Type@ 766s # TYPE: @TYPE@ 766s # /*** END enumeration-production ***/ 766s # 766s # /*** BEGIN value-header ***/ 766s # value-header 766s # EnumName: @EnumName@ 766s # enum_name: @enum_name@ 766s # ENUMNAME: @ENUMNAME@ 766s # ENUMSHORT: @ENUMSHORT@ 766s # ENUMPREFIX: @ENUMPREFIX@ 766s # enumsince: @enumsince@ 766s # type: @type@ 766s # Type: @Type@ 766s # TYPE: @TYPE@ 766s # /*** END value-header ***/ 766s # 766s # /*** BEGIN value-production ***/ 766s # value-production 766s # VALUENAME: @VALUENAME@ 766s # valuenick: @valuenick@ 766s # valuenum: @valuenum@ 766s # type: @type@ 766s # Type: @Type@ 766s # TYPE: @TYPE@ 766s # /*** END value-production ***/ 766s # 766s # /*** BEGIN value-tail ***/ 766s # value-tail 766s # EnumName: @EnumName@ 766s # enum_name: @enum_name@ 766s # ENUMNAME: @ENUMNAME@ 766s # ENUMSHORT: @ENUMSHORT@ 766s # ENUMPREFIX: @ENUMPREFIX@ 766s # enumsince: @enumsince@ 766s # type: @type@ 766s # Type: @Type@ 766s # TYPE: @TYPE@ 766s # /*** END value-tail ***/ 766s # 766s # /*** BEGIN comment ***/ 766s # comment 766s # comment: @comment@ 766s # /*** END comment ***/ 766s # 766s # /*** BEGIN file-tail ***/ 766s # file-tail 766s # /*** END file-tail ***/ 766s # 766s # Response file contains: --template /tmp/tmpji4uo7kb/tmp84s69ts5.template /tmp/tmpji4uo7kb/tmp8veqkhvt.h 766s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpji4uo7kb/tmpol7g6xp4'] 766s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 766s # Output: comment 766s # 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. 766s # 766s # 766s # file-header 766s # file-production 766s # filename: /tmp/tmpji4uo7kb/tmp8veqkhvt.h 766s # basename: tmp8veqkhvt.h 766s # enumeration-production 766s # EnumName: GeglSamplerType 766s # enum_name: gegl_sampler_type 766s # ENUMNAME: GEGL_SAMPLER_TYPE 766s # ENUMSHORT: SAMPLER_TYPE 766s # ENUMPREFIX: GEGL 766s # enumsince: 766s # type: enum 766s # Type: Enum 766s # TYPE: ENUM 766s # value-header 766s # EnumName: GeglSamplerType 766s # enum_name: gegl_sampler_type 766s # ENUMNAME: GEGL_SAMPLER_TYPE 766s # ENUMSHORT: SAMPLER_TYPE 766s # ENUMPREFIX: GEGL 766s # enumsince: 766s # type: enum 766s # Type: Enum 766s # TYPE: ENUM 766s # value-production 766s # VALUENAME: GEGL_SAMPLER_NEAREST 766s # valuenick: nearest 766s # valuenum: 0 766s # type: enum 766s # Type: Enum 766s # TYPE: ENUM 766s # value-tail 766s # EnumName: GeglSamplerType 766s # enum_name: gegl_sampler_type 766s # ENUMNAME: GEGL_SAMPLER_TYPE 766s # ENUMSHORT: SAMPLER_TYPE 766s # ENUMPREFIX: GEGL 766s # enumsince: 766s # type: enum 766s # Type: Enum 766s # TYPE: ENUM 766s # file-tail 766s # 766s # comment 766s # comment: Generated data ends here 766s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 766s # tmpdir: /tmp/tmpga0pl2un 766s # rspfile: True, mkenums: /usr/bin/glib-mkenums 766s # /tmp/tmpga0pl2un/tmpzlin6qft.h: 766s # /* Copyright © La Peña */ 766s # typedef enum { 766s # ENUM_VALUE 766s # } SomeEnumIdentifier; 766s # 766s # /tmp/tmpga0pl2un/tmp7wu3dbwi.template: 766s # /*** BEGIN file-header ***/ 766s # file-header 766s # /*** END file-header ***/ 766s # 766s # /*** BEGIN file-production ***/ 766s # file-production 766s # filename: @filename@ 766s # basename: @basename@ 766s # /*** END file-production ***/ 766s # 766s # /*** BEGIN enumeration-production ***/ 766s # enumeration-production 766s # EnumName: @EnumName@ 766s # enum_name: @enum_name@ 766s # ENUMNAME: @ENUMNAME@ 766s # ENUMSHORT: @ENUMSHORT@ 766s # ENUMPREFIX: @ENUMPREFIX@ 766s # enumsince: @enumsince@ 766s # type: @type@ 766s # Type: @Type@ 766s # TYPE: @TYPE@ 766s # /*** END enumeration-production ***/ 766s # 766s # /*** BEGIN value-header ***/ 766s # value-header 766s # EnumName: @EnumName@ 766s # enum_name: @enum_name@ 766s # ENUMNAME: @ENUMNAME@ 766s # ENUMSHORT: @ENUMSHORT@ 766s # ENUMPREFIX: @ENUMPREFIX@ 766s # enumsince: @enumsince@ 766s # type: @type@ 766s # Type: @Type@ 766s # TYPE: @TYPE@ 766s # /*** END value-header ***/ 766s # 766s # /*** BEGIN value-production ***/ 766s # value-production 766s # VALUENAME: @VALUENAME@ 766s # valuenick: @valuenick@ 766s # valuenum: @valuenum@ 766s # type: @type@ 766s # Type: @Type@ 766s # TYPE: @TYPE@ 766s # /*** END value-production ***/ 766s # 766s # /*** BEGIN value-tail ***/ 766s # value-tail 766s # EnumName: @EnumName@ 766s # enum_name: @enum_name@ 766s # ENUMNAME: @ENUMNAME@ 766s # ENUMSHORT: @ENUMSHORT@ 766s # ENUMPREFIX: @ENUMPREFIX@ 766s # enumsince: @enumsince@ 766s # type: @type@ 766s # Type: @Type@ 766s # TYPE: @TYPE@ 766s # /*** END value-tail ***/ 766s # 766s # /*** BEGIN comment ***/ 766s # comment 766s # comment: @comment@ 766s # /*** END comment ***/ 766s # 766s # /*** BEGIN file-tail ***/ 766s # file-tail 766s # /*** END file-tail ***/ 766s # 766s # Response file contains: --template /tmp/tmpga0pl2un/tmp7wu3dbwi.template /tmp/tmpga0pl2un/tmpzlin6qft.h 766s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpga0pl2un/tmpwovb1aeg'] 766s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 766s # Output: comment 766s # 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. 766s # 766s # 766s # file-header 766s # file-production 766s # filename: /tmp/tmpga0pl2un/tmpzlin6qft.h 766s # basename: tmpzlin6qft.h 766s # enumeration-production 766s # EnumName: SomeEnumIdentifier 766s # enum_name: some_enum_identifier 766s # ENUMNAME: SOME_ENUM_IDENTIFIER 766s # ENUMSHORT: ENUM_IDENTIFIER 766s # ENUMPREFIX: SOME 766s # enumsince: 766s # type: enum 766s # Type: Enum 766s # TYPE: ENUM 766s # value-header 766s # EnumName: SomeEnumIdentifier 766s # enum_name: some_enum_identifier 766s # ENUMNAME: SOME_ENUM_IDENTIFIER 766s # ENUMSHORT: ENUM_IDENTIFIER 766s # ENUMPREFIX: SOME 766s # enumsince: 766s # type: enum 766s # Type: Enum 766s # TYPE: ENUM 766s # value-production 766s # VALUENAME: ENUM_VALUE 766s # valuenick: value 766s # valuenum: 0 766s # type: enum 766s # Type: Enum 766s # TYPE: ENUM 766s # value-tail 766s # EnumName: SomeEnumIdentifier 766s # enum_name: some_enum_identifier 766s # ENUMNAME: SOME_ENUM_IDENTIFIER 766s # ENUMSHORT: ENUM_IDENTIFIER 766s # ENUMPREFIX: SOME 766s # enumsince: 766s # type: enum 766s # Type: Enum 766s # TYPE: ENUM 766s # file-tail 766s # 766s # comment 766s # comment: Generated data ends here 766s ok 34 __main__.TestRspMkenums.test_reproducible 766s # tmpdir: /tmp/tmpkv6a1neq 766s # rspfile: True, mkenums: /usr/bin/glib-mkenums 766s # /tmp/tmpkv6a1neq/tmptvmkihs8.template: template 766s # Response file contains: --template /tmp/tmpkv6a1neq/tmptvmkihs8.template /tmp/tmpkv6a1neq/tmpa21uv7du1.h /tmp/tmpkv6a1neq/tmp3_2gobb62.h 766s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkv6a1neq/tmpsw73t44e'] 766s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 766s # Output: /* 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. */ 766s # 766s # 766s # /* Generated data ends here */ 766s # /tmp/tmpkv6a1neq/tmpzu8u4go0.template: template 766s # Response file contains: --template /tmp/tmpkv6a1neq/tmpzu8u4go0.template /tmp/tmpkv6a1neq/tmp3_2gobb62.h /tmp/tmpkv6a1neq/tmpa21uv7du1.h 766s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkv6a1neq/tmp73ina2hh'] 766s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 766s # Output: /* 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. */ 766s # 766s # 766s # /* Generated data ends here */ 767s ok 35 __main__.TestRspMkenums.test_since 767s # tmpdir: /tmp/tmpg2twjd6t 767s # rspfile: True, mkenums: /usr/bin/glib-mkenums 767s # /tmp/tmpg2twjd6t/tmp96tg_t7i.h: 767s # typedef enum { /*< since=1.0 >*/ 767s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 767s # } QmiWmsMessageProtocol; 767s # 767s # /tmp/tmpg2twjd6t/tmp915fmdea.template: 767s # /*** BEGIN file-header ***/ 767s # file-header 767s # /*** END file-header ***/ 767s # 767s # /*** BEGIN file-production ***/ 767s # file-production 767s # filename: @filename@ 767s # basename: @basename@ 767s # /*** END file-production ***/ 767s # 767s # /*** BEGIN enumeration-production ***/ 767s # enumeration-production 767s # EnumName: @EnumName@ 767s # enum_name: @enum_name@ 767s # ENUMNAME: @ENUMNAME@ 767s # ENUMSHORT: @ENUMSHORT@ 767s # ENUMPREFIX: @ENUMPREFIX@ 767s # enumsince: @enumsince@ 767s # type: @type@ 767s # Type: @Type@ 767s # TYPE: @TYPE@ 767s # /*** END enumeration-production ***/ 767s # 767s # /*** BEGIN value-header ***/ 767s # value-header 767s # EnumName: @EnumName@ 767s # enum_name: @enum_name@ 767s # ENUMNAME: @ENUMNAME@ 767s # ENUMSHORT: @ENUMSHORT@ 767s # ENUMPREFIX: @ENUMPREFIX@ 767s # enumsince: @enumsince@ 767s # type: @type@ 767s # Type: @Type@ 767s # TYPE: @TYPE@ 767s # /*** END value-header ***/ 767s # 767s # /*** BEGIN value-production ***/ 767s # value-production 767s # VALUENAME: @VALUENAME@ 767s # valuenick: @valuenick@ 767s # valuenum: @valuenum@ 767s # type: @type@ 767s # Type: @Type@ 767s # TYPE: @TYPE@ 767s # /*** END value-production ***/ 767s # 767s # /*** BEGIN value-tail ***/ 767s # value-tail 767s # EnumName: @EnumName@ 767s # enum_name: @enum_name@ 767s # ENUMNAME: @ENUMNAME@ 767s # ENUMSHORT: @ENUMSHORT@ 767s # ENUMPREFIX: @ENUMPREFIX@ 767s # enumsince: @enumsince@ 767s # type: @type@ 767s # Type: @Type@ 767s # TYPE: @TYPE@ 767s # /*** END value-tail ***/ 767s # 767s # /*** BEGIN comment ***/ 767s # comment 767s # comment: @comment@ 767s # /*** END comment ***/ 767s # 767s # /*** BEGIN file-tail ***/ 767s # file-tail 767s # /*** END file-tail ***/ 767s # 767s # Response file contains: --template /tmp/tmpg2twjd6t/tmp915fmdea.template /tmp/tmpg2twjd6t/tmp96tg_t7i.h 767s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpg2twjd6t/tmpgeotoq8g'] 767s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 767s # Output: comment 767s # 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. 767s # 767s # 767s # file-header 767s # file-production 767s # filename: /tmp/tmpg2twjd6t/tmp96tg_t7i.h 767s # basename: tmp96tg_t7i.h 767s # enumeration-production 767s # EnumName: QmiWmsMessageProtocol 767s # enum_name: qmi_wms_message_protocol 767s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 767s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 767s # ENUMPREFIX: QMI 767s # enumsince: 1.0 767s # type: enum 767s # Type: Enum 767s # TYPE: ENUM 767s # value-header 767s # EnumName: QmiWmsMessageProtocol 767s # enum_name: qmi_wms_message_protocol 767s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 767s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 767s # ENUMPREFIX: QMI 767s # enumsince: 1.0 767s # type: enum 767s # Type: Enum 767s # TYPE: ENUM 767s # value-production 767s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 767s # valuenick: cdma 767s # valuenum: 0 767s # type: enum 767s # Type: Enum 767s # TYPE: ENUM 767s # value-tail 767s # EnumName: QmiWmsMessageProtocol 767s # enum_name: qmi_wms_message_protocol 767s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 767s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 767s # ENUMPREFIX: QMI 767s # enumsince: 1.0 767s # type: enum 767s # Type: Enum 767s # TYPE: ENUM 767s # file-tail 767s # 767s # comment 767s # comment: Generated data ends here 767s ok 36 __main__.TestRspMkenums.test_with_double_quotes 767s # tmpdir: /tmp/tmp71n7xrp5 767s # rspfile: True, mkenums: /usr/bin/glib-mkenums 767s # /tmp/tmp71n7xrp5/tmpz61oui64.h: 767s # typedef enum { 767s # FOO_VALUE /*< nick="eek, a comma" >*/ 767s # } Foo; 767s # 767s # /tmp/tmp71n7xrp5/tmplcrfu7eg.template: 767s # /*** BEGIN file-header ***/ 767s # file-header 767s # /*** END file-header ***/ 767s # 767s # /*** BEGIN file-production ***/ 767s # file-production 767s # filename: @filename@ 767s # basename: @basename@ 767s # /*** END file-production ***/ 767s # 767s # /*** BEGIN enumeration-production ***/ 767s # enumeration-production 767s # EnumName: @EnumName@ 767s # enum_name: @enum_name@ 767s # ENUMNAME: @ENUMNAME@ 767s # ENUMSHORT: @ENUMSHORT@ 767s # ENUMPREFIX: @ENUMPREFIX@ 767s # enumsince: @enumsince@ 767s # type: @type@ 767s # Type: @Type@ 767s # TYPE: @TYPE@ 767s # /*** END enumeration-production ***/ 767s # 767s # /*** BEGIN value-header ***/ 767s # value-header 767s # EnumName: @EnumName@ 767s # enum_name: @enum_name@ 767s # ENUMNAME: @ENUMNAME@ 767s # ENUMSHORT: @ENUMSHORT@ 767s # ENUMPREFIX: @ENUMPREFIX@ 767s # enumsince: @enumsince@ 767s # type: @type@ 767s # Type: @Type@ 767s # TYPE: @TYPE@ 767s # /*** END value-header ***/ 767s # 767s # /*** BEGIN value-production ***/ 767s # value-production 767s # VALUENAME: @VALUENAME@ 767s # valuenick: @valuenick@ 767s # valuenum: @valuenum@ 767s # type: @type@ 767s # Type: @Type@ 767s # TYPE: @TYPE@ 767s # /*** END value-production ***/ 767s # 767s # /*** BEGIN value-tail ***/ 767s # value-tail 767s # EnumName: @EnumName@ 767s # enum_name: @enum_name@ 767s # ENUMNAME: @ENUMNAME@ 767s # ENUMSHORT: @ENUMSHORT@ 767s # ENUMPREFIX: @ENUMPREFIX@ 767s # enumsince: @enumsince@ 767s # type: @type@ 767s # Type: @Type@ 767s # TYPE: @TYPE@ 767s # /*** END value-tail ***/ 767s # 767s # /*** BEGIN comment ***/ 767s # comment 767s # comment: @comment@ 767s # /*** END comment ***/ 767s # 767s # /*** BEGIN file-tail ***/ 767s # file-tail 767s # /*** END file-tail ***/ 767s # 767s # Response file contains: --template /tmp/tmp71n7xrp5/tmplcrfu7eg.template /tmp/tmp71n7xrp5/tmpz61oui64.h 767s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp71n7xrp5/tmpny26z2vh'] 767s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 767s # Output: comment 767s # 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. 767s # 767s # 767s # file-header 767s # file-production 767s # filename: /tmp/tmp71n7xrp5/tmpz61oui64.h 767s # basename: tmpz61oui64.h 767s # enumeration-production 767s # EnumName: Foo 767s # enum_name: foo_ 767s # ENUMNAME: FOO_ 767s # ENUMSHORT: 767s # ENUMPREFIX: FOO 767s # enumsince: 767s # type: enum 767s # Type: Enum 767s # TYPE: ENUM 767s # value-header 767s # EnumName: Foo 767s # enum_name: foo_ 767s # ENUMNAME: FOO_ 767s # ENUMSHORT: 767s # ENUMPREFIX: FOO 767s # enumsince: 767s # type: enum 767s # Type: Enum 767s # TYPE: ENUM 767s # value-production 767s # VALUENAME: FOO_VALUE 767s # valuenick: eek, a comma 767s # valuenum: 0 767s # type: enum 767s # Type: Enum 767s # TYPE: ENUM 767s # value-tail 767s # EnumName: Foo 767s # enum_name: foo_ 767s # ENUMNAME: FOO_ 767s # ENUMSHORT: 767s # ENUMPREFIX: FOO 767s # enumsince: 767s # type: enum 767s # Type: Enum 767s # TYPE: ENUM 767s # file-tail 767s # 767s # comment 767s # comment: Generated data ends here 767s 1..36 767s ok - glib/mkenums.py.test 767s # Running test: glib/g-file-info.test 767s TAP version 13 767s # random seed: R02Sd5ecfebef2d4cde7c0cebd1f952e1c96 767s 1..6 767s # Start of g-file-info tests 767s ok 1 /g-file-info/test_g_file_info 767s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 767s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 767s ok 2 /g-file-info/xattrs 767s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 767s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 767s ok 3 /g-file-info/set-modified-date-time-precision 767s # Start of test_g_file_info tests 767s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 767s ok 4 /g-file-info/test_g_file_info/modification-time 767s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 767s ok 5 /g-file-info/test_g_file_info/access-time 767s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 767s ok 6 /g-file-info/test_g_file_info/creation-time 767s # End of test_g_file_info tests 767s # End of g-file-info tests 767s ok - glib/g-file-info.test 767s # Running test: glib/thread-pool.test 767s TAP version 13 767s # random seed: R02Sf3982eb2936c5a7f307c283bcc2356fb 767s 1..5 767s # Start of thread_pool tests 767s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 767s ok 1 /thread_pool/shared 767s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 767s ok 2 /thread_pool/exclusive 767s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 767s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 767s ok 3 /thread_pool/create_shared_after_exclusive 767s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 767s ok 4 /thread_pool/create_full 767s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 767s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 767s ok 5 /thread_pool/create_exclusive_after_shared 767s # End of thread_pool tests 767s ok - glib/thread-pool.test 767s # Running test: glib/memory-monitor-dbus.test 767s TAP version 13 767s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 767s 1..1 767s ok - glib/memory-monitor-dbus.test 767s # Running test: glib/repository-search-paths.test 767s TAP version 13 767s # random seed: R02S1f8282e61a1bfab7a6c90fb4d20fc65f 767s 1..4 767s # Start of repository tests 767s # Start of search-paths tests 767s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_1LW1K2/repository/search-paths/default/.dirs/home 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_1LW1K2/repository/search-paths/default/.dirs/cache 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_1LW1K2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_1LW1K2/repository/search-paths/default/.dirs/system-config2 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_1LW1K2/repository/search-paths/default/.dirs/config 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_1LW1K2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_1LW1K2/repository/search-paths/default/.dirs/system-data2 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_1LW1K2/repository/search-paths/default/.dirs/data 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_1LW1K2/repository/search-paths/default/.dirs/state 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_1LW1K2/repository/search-paths/default/.dirs/runtime 767s ok 1 /repository/search-paths/default 767s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_1LW1K2/repository/search-paths/prepend/.dirs/home 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_1LW1K2/repository/search-paths/prepend/.dirs/cache 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_1LW1K2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_1LW1K2/repository/search-paths/prepend/.dirs/system-config2 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_1LW1K2/repository/search-paths/prepend/.dirs/config 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_1LW1K2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_1LW1K2/repository/search-paths/prepend/.dirs/system-data2 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_1LW1K2/repository/search-paths/prepend/.dirs/data 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_1LW1K2/repository/search-paths/prepend/.dirs/state 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_1LW1K2/repository/search-paths/prepend/.dirs/runtime 767s ok 2 /repository/search-paths/prepend 767s # End of search-paths tests 767s # Start of library-paths tests 767s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_1LW1K2/repository/library-paths/default/.dirs/home 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_1LW1K2/repository/library-paths/default/.dirs/cache 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_1LW1K2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_1LW1K2/repository/library-paths/default/.dirs/system-config2 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_1LW1K2/repository/library-paths/default/.dirs/config 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_1LW1K2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_1LW1K2/repository/library-paths/default/.dirs/system-data2 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_1LW1K2/repository/library-paths/default/.dirs/data 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_1LW1K2/repository/library-paths/default/.dirs/state 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_1LW1K2/repository/library-paths/default/.dirs/runtime 767s ok 3 /repository/library-paths/default 767s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_1LW1K2/repository/library-paths/prepend/.dirs/home 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_1LW1K2/repository/library-paths/prepend/.dirs/cache 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_1LW1K2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_1LW1K2/repository/library-paths/prepend/.dirs/system-config2 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_1LW1K2/repository/library-paths/prepend/.dirs/config 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_1LW1K2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_1LW1K2/repository/library-paths/prepend/.dirs/system-data2 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_1LW1K2/repository/library-paths/prepend/.dirs/data 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_1LW1K2/repository/library-paths/prepend/.dirs/state 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_1LW1K2/repository/library-paths/prepend/.dirs/runtime 767s ok 4 /repository/library-paths/prepend 767s # End of library-paths tests 767s # End of repository tests 767s ok - glib/repository-search-paths.test 767s # Running test: glib/override.test 767s TAP version 13 767s # random seed: R02Sc37b206171e409f168af4df65f8ada1a 767s 1..1 767s # Start of gobject tests 767s # *** emitting foo on a TestA instance 767s # Expecting: TestA::foo,TestI::foo 767s # Got: TestA::foo,TestI::foo 767s # *** emitting bar on a TestA instance 767s # Expecting: TestA::bar 767s # Got: TestA::bar 767s # *** emitting baz on a TestA instance 767s # Expecting: TestA::baz 767s # Got: TestA::baz 767s # *** emitting foo on a TestB instance 767s # Expecting: TestB::foo,TestA::foo,TestI::foo 767s # Got: TestB::foo,TestA::foo,TestI::foo 767s # *** emitting bar on a TestB instance 767s # Expecting: TestB::bar,TestA::bar 767s # Got: TestB::bar,TestA::bar 767s # *** emitting baz on a TestB instance 767s # Expecting: TestB::baz,TestA::baz 767s # Got: TestB::baz,TestA::baz 767s # *** emitting foo on a TestC instance 767s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 767s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 767s # *** emitting bar on a TestC instance 767s # Expecting: TestC::bar,TestB::bar,TestA::bar 767s # Got: TestC::bar,TestB::bar,TestA::bar 767s # *** emitting baz on a TestC instance 767s # Expecting: TestC::baz,TestB::baz,TestA::baz 767s # Got: TestC::baz,TestB::baz,TestA::baz 767s ok 1 /gobject/override 767s # End of gobject tests 767s ok - glib/override.test 767s # Running test: glib/properties-refcount3.test 767s TAP version 13 767s # random seed: R02Sbdd915c7dd483bd60c8d32f9ff1bbc8b 767s 1..1 767s # Start of gobject tests 767s # Start of refcount tests 770s # Executing: glib/properties-refcount3.test 775s # Executing: glib/properties-refcount3.test 780s # Executing: glib/properties-refcount3.test 785s # Executing: glib/properties-refcount3.test 790s # Executing: glib/properties-refcount3.test 795s # Executing: glib/properties-refcount3.test 797s # 797s # stopping 797s # 797s # stopped 797s # 797s # 9339361 300572 797s # 797s ok 1 /gobject/refcount/properties-3 797s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 797s # End of refcount tests 797s # End of gobject tests 797s ok - glib/properties-refcount3.test 797s # Running test: glib/bitlock.test 797s TAP version 13 797s # random seed: R02S61cbc701e045ae6af8ba183fa3b288b5 797s 1..1 797s # Start of bitlock tests 797s # Start of performance tests 797s # max perf: iterations per second 797s ok 1 /bitlock/performance/uncontended 797s # End of performance tests 797s # End of bitlock tests 797s ok - glib/bitlock.test 797s # Running test: glib/g-icon.test 797s TAP version 13 797s # random seed: R02Saee815131c0a43ff62fe91fb58a36db8 797s 1..6 797s # Start of icons tests 797s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 797s ok 1 /icons/to-string 797s ok 2 /icons/serialize 797s ok 3 /icons/themed 797s ok 4 /icons/emblemed 797s ok 5 /icons/file 797s ok 6 /icons/bytes 797s # End of icons tests 797s ok - glib/g-icon.test 797s # Running test: glib/network-address.test 797s TAP version 13 797s # random seed: R02Sbde546c7d6964919e65d0978d162e49b 797s 1..72 797s # Start of network-address tests 797s ok 1 /network-address/basic 797s ok 2 /network-address/scope-id 797s ok 3 /network-address/uri-scope-id 797s ok 4 /network-address/to-string 797s # Start of parse-host tests 797s ok 5 /network-address/parse-host/0 797s ok 6 /network-address/parse-host/1 797s ok 7 /network-address/parse-host/2 797s ok 8 /network-address/parse-host/3 797s ok 9 /network-address/parse-host/4 797s ok 10 /network-address/parse-host/5 797s ok 11 /network-address/parse-host/6 797s ok 12 /network-address/parse-host/7 797s ok 13 /network-address/parse-host/8 797s ok 14 /network-address/parse-host/9 797s ok 15 /network-address/parse-host/10 797s ok 16 /network-address/parse-host/11 797s ok 17 /network-address/parse-host/12 797s ok 18 /network-address/parse-host/13 797s # End of parse-host tests 797s # Start of parse-uri tests 797s ok 19 /network-address/parse-uri/0 797s ok 20 /network-address/parse-uri/1 797s ok 21 /network-address/parse-uri/2 797s ok 22 /network-address/parse-uri/3 797s ok 23 /network-address/parse-uri/4 797s ok 24 /network-address/parse-uri/5 797s ok 25 /network-address/parse-uri/6 797s ok 26 /network-address/parse-uri/7 797s ok 27 /network-address/parse-uri/8 797s ok 28 /network-address/parse-uri/9 797s # End of parse-uri tests 797s # Start of resolve-address tests 797s # Input: 192.168.1.2 797s ok 29 /network-address/resolve-address/0 797s # Input: fe80::42 797s ok 30 /network-address/resolve-address/1 797s # Input: 192.168.1.2:80 797s ok 31 /network-address/resolve-address/2 797s # Input: [fe80::42] 797s ok 32 /network-address/resolve-address/3 797s # Input: [fe80::42]:80 797s ok 33 /network-address/resolve-address/4 797s # Input: 192.168.258 797s ok 34 /network-address/resolve-address/5 797s # Input: 192.11010306 797s ok 35 /network-address/resolve-address/6 797s # Input: 3232235778 797s ok 36 /network-address/resolve-address/7 797s # Input: 0300.0250.0001.0001 797s ok 37 /network-address/resolve-address/8 797s # Input: 0xC0.0xA8.0x01.0x02 797s ok 38 /network-address/resolve-address/9 797s # Input: 0xc0.0xa8.0x01.0x02 797s ok 39 /network-address/resolve-address/10 797s # Input: 0xc0a80102 797s ok 40 /network-address/resolve-address/11 797s # End of resolve-address tests 797s # Start of loopback tests 797s ok 41 /network-address/loopback/basic 797s ok 42 /network-address/loopback/sync 797s ok 43 /network-address/loopback/async 797s # End of loopback tests 797s # Start of localhost tests 797s ok 44 /network-address/localhost/async 797s ok 45 /network-address/localhost/sync 797s # End of localhost tests 797s # Start of happy-eyeballs tests 797s ok 46 /network-address/happy-eyeballs/basic 798s ok 47 /network-address/happy-eyeballs/parallel 798s ok 48 /network-address/happy-eyeballs/slow-ipv4 798s ok 49 /network-address/happy-eyeballs/slow-ipv6 798s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 799s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 799s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 799s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 799s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 799s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 799s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 799s # /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. 799s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 799s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 799s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 799s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 799s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 799s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 799s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 799s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 799s ok 57 /network-address/happy-eyeballs/both-error 799s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 799s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 799s ok 58 /network-address/happy-eyeballs/both-error-delays-1 799s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 799s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 799s ok 59 /network-address/happy-eyeballs/both-error-delays-2 799s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 799s ok 60 /network-address/happy-eyeballs/both-error-delays-3 799s # End of happy-eyeballs tests 799s # End of network-address tests 799s # Start of gresolver tests 799s # Start of resolve-address tests 799s # Input: 192.168.1.2 799s ok 61 /gresolver/resolve-address/0 799s # Input: fe80::42 799s ok 62 /gresolver/resolve-address/1 799s # Input: 192.168.1.2:80 799s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 799s ok 63 /gresolver/resolve-address/2 799s # Input: [fe80::42] 799s # Error: Error resolving ?[fe80::42]?: Name or service not known 799s ok 64 /gresolver/resolve-address/3 799s # Input: [fe80::42]:80 799s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 799s ok 65 /gresolver/resolve-address/4 799s # Input: 192.168.258 799s # Error: Error resolving ?192.168.258?: Name or service not known 799s ok 66 /gresolver/resolve-address/5 799s # Input: 192.11010306 799s # Error: Error resolving ?192.11010306?: Name or service not known 799s ok 67 /gresolver/resolve-address/6 799s # Input: 3232235778 799s # Error: Error resolving ?3232235778?: Name or service not known 799s ok 68 /gresolver/resolve-address/7 799s # Input: 0300.0250.0001.0001 799s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 799s ok 69 /gresolver/resolve-address/8 799s # Input: 0xC0.0xA8.0x01.0x02 799s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 799s ok 70 /gresolver/resolve-address/9 799s # Input: 0xc0.0xa8.0x01.0x02 799s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 799s ok 71 /gresolver/resolve-address/10 799s # Input: 0xc0a80102 799s # Error: Error resolving ?0xc0a80102?: Name or service not known 799s ok 72 /gresolver/resolve-address/11 799s # End of resolve-address tests 799s # End of gresolver tests 799s ok - glib/network-address.test 799s # Running test: glib/1bit-mutex.test 799s TAP version 13 799s # random seed: R02S3625a2c1e43f6d9adee2711bc063797c 799s 1..2 799s # Start of glib tests 799s # Start of 1bit-mutex tests 800s # Executing: glib/1bit-mutex.test 803s ok 1 /glib/1bit-mutex/int 803s # slow test /glib/1bit-mutex/int executed in 4.27 secs 805s # Executing: glib/1bit-mutex.test 807s ok 2 /glib/1bit-mutex/pointer 807s # slow test /glib/1bit-mutex/pointer executed in 3.82 secs 807s # End of 1bit-mutex tests 807s # End of glib tests 807s ok - glib/1bit-mutex.test 807s # Running test: glib/timeout.test 807s TAP version 13 807s # random seed: R02S40583caa403a4cd5fd66bba0234a6269 807s 1..5 807s # Start of timeout tests 807s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 809s ok 1 /timeout/seconds 809s # slow test /timeout/seconds executed in 2.10 secs 810s # Executing: glib/timeout.test 811s ok 2 /timeout/seconds-once 811s # slow test /timeout/seconds-once executed in 2.10 secs 811s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 813s ok 3 /timeout/weeks-overflow 813s # slow test /timeout/weeks-overflow executed in 2.10 secs 813s ok 4 /timeout/far-future-ready-time 813s ok 5 /timeout/rounding # SKIP Not reliable on older ARM hardware 813s # End of timeout tests 813s ok - glib/timeout.test 813s # Running test: glib/data-output-stream.test 813s TAP version 13 813s # random seed: R02Sa1c43faf5cc082b7442d278a8cb2b498 813s 1..7 813s # Start of data-output-stream tests 813s ok 1 /data-output-stream/basic 813s ok 2 /data-output-stream/write-lines-LF 813s ok 3 /data-output-stream/write-lines-CR 813s ok 4 /data-output-stream/write-lines-CR-LF 813s ok 5 /data-output-stream/write-int 813s ok 6 /data-output-stream/seek 813s ok 7 /data-output-stream/truncate 813s # End of data-output-stream tests 813s ok - glib/data-output-stream.test 813s # Running test: glib/io-channel.test 813s TAP version 13 813s # random seed: R02Sd15c1728580c77cf54531a1174ccaffd 813s 1..2 813s # Start of io-channel tests 813s # Line one 813s # 813s # Line two 813s # 813s # Line three 813s # 813s # /* Hello */ 813s # 813s # \x1234\x567890\x6666 813s # 813s # read 62 bytes, wrote 62 bytes 813s ok 1 /io-channel/read-write 813s # Start of read-line tests 813s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 813s ok 2 /io-channel/read-line/embedded-nuls 813s # End of read-line tests 813s # End of io-channel tests 813s ok - glib/io-channel.test 813s # Running test: glib/appmonitor.test 813s TAP version 13 813s # random seed: R02S7fe30e5d4c5856d9fea60e990ef36fe9 813s 1..1 813s # Start of monitor tests 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_Y24XK2/monitor/app/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_Y24XK2/monitor/app/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_Y24XK2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_Y24XK2/monitor/app/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_Y24XK2/monitor/app/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_Y24XK2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_Y24XK2/monitor/app/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_Y24XK2/monitor/app/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_Y24XK2/monitor/app/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_Y24XK2/monitor/app/.dirs/runtime 813s # Using data directory: /tmp/test_appmonitor_Y24XK2/monitor/app/.dirs/data 813s ok 1 /monitor/app 813s # End of monitor tests 813s ok - glib/appmonitor.test 813s # Running test: glib/strfuncs.test 813s TAP version 13 813s # random seed: R02Sf5bc97e715b1b0d269f557914ed78a23 813s 1..50 813s # Start of strfuncs tests 813s ok 1 /strfuncs/ascii-strcasecmp 813s ok 2 /strfuncs/ascii_strdown 813s ok 3 /strfuncs/ascii_strdup 813s ok 4 /strfuncs/ascii_strtod 813s ok 5 /strfuncs/bounds-check 813s ok 6 /strfuncs/has-prefix 813s ok 7 /strfuncs/has-prefix-macro 813s ok 8 /strfuncs/has-suffix 813s ok 9 /strfuncs/has-suffix-macro 813s ok 10 /strfuncs/memdup 813s ok 11 /strfuncs/memdup2 813s ok 12 /strfuncs/set_str 813s ok 13 /strfuncs/stpcpy 813s ok 14 /strfuncs/str_match_string 813s ok 15 /strfuncs/str_tokenize_and_fold 813s ok 16 /strfuncs/strcanon 813s ok 17 /strfuncs/strchomp 813s ok 18 /strfuncs/strchug 813s ok 19 /strfuncs/strcompress-strescape 813s ok 20 /strfuncs/strconcat 813s ok 21 /strfuncs/strdelimit 813s ok 22 /strfuncs/strdup 813s ok 23 /strfuncs/strdup-printf 813s ok 24 /strfuncs/strdupv 813s ok 25 /strfuncs/strerror 813s ok 26 /strfuncs/strip-context 813s ok 27 /strfuncs/strjoin 813s ok 28 /strfuncs/strjoinv 813s ok 29 /strfuncs/strlcat 813s ok 30 /strfuncs/strlcpy 813s ok 31 /strfuncs/strncasecmp 813s ok 32 /strfuncs/strndup 813s ok 33 /strfuncs/strnfill 813s ok 34 /strfuncs/strreverse 813s ok 35 /strfuncs/strsignal 813s ok 36 /strfuncs/strsplit 813s ok 37 /strfuncs/strsplit-set 813s ok 38 /strfuncs/strstr 813s ok 39 /strfuncs/strtod 813s ok 40 /strfuncs/strtoull-strtoll 813s ok 41 /strfuncs/strup 813s ok 42 /strfuncs/strv-contains 813s ok 43 /strfuncs/strv-equal 813s ok 44 /strfuncs/strv-length 813s ok 45 /strfuncs/test-is-to-digit 813s ok 46 /strfuncs/transliteration 813s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 813s ok 47 /strfuncs/str-equal 813s # Start of ascii-string-to-num tests 813s ok 48 /strfuncs/ascii-string-to-num/pathological 813s ok 49 /strfuncs/ascii-string-to-num/usual 813s # End of ascii-string-to-num tests 813s # Start of strdup tests 813s ok 50 /strfuncs/strdup/inline 813s # End of strdup tests 813s # End of strfuncs tests 813s ok - glib/strfuncs.test 813s # Running test: glib/testfilemonitor.test 813s TAP version 13 813s # random seed: R02S9575a839bc462051fc67823f8959f36d 813s 1..8 813s # Start of monitor tests 813s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 813s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 813s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 813s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 813s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 813s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 813s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 813s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 813s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 813s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 813s # Start of file tests 813s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 813s # End of file tests 813s # End of monitor tests 813s ok - glib/testfilemonitor.test 813s # Running test: glib/properties.test 813s TAP version 13 813s # random seed: R02Sf5a201cfb3a62cdcad529c29837e5c95 813s 1..13 813s # Start of properties tests 813s ok 1 /properties/install 813s ok 2 /properties/install-many 813s ok 3 /properties/notify 813s ok 4 /properties/notify-queue 813s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 813s ok 5 /properties/construct 813s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 813s # Test g_object_get_property with an initialized value 813s # Test g_object_get_property with an uninitialized value 813s # Test g_object_get_property with a transformable value 813s ok 6 /properties/get-property 813s ok 7 /properties/testv_with_no_properties 813s ok 8 /properties/testv_with_valid_properties 813s ok 9 /properties/testv_with_invalid_property_type 813s ok 10 /properties/testv_with_invalid_property_names 813s ok 11 /properties/testv_getv 813s ok 12 /properties/testv_notify_queue 813s # Start of set-property tests 813s # Start of variant tests 813s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 813s ok 13 /properties/set-property/variant/floating 813s # End of variant tests 813s # End of set-property tests 813s # End of properties tests 813s ok - glib/properties.test 813s # Running test: glib/gdbus-connection-slow.test 813s TAP version 13 813s # random seed: R02Sb380b85bb7522931d53844fa443fa9e0 813s 1..2 813s # Start of gdbus tests 813s # Start of connection tests 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/flush/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/flush/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/flush/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/flush/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/flush/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/flush/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/flush/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/flush/.dirs/runtime 813s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 814s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 814s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 814s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 814s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 814s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 814s ok 1 /gdbus/connection/flush 814s # slow test /gdbus/connection/flush executed in 0.66 secs 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/large_message/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/large_message/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/large_message/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/large_message/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/large_message/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/large_message/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/large_message/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_YIRWK2/gdbus/connection/large_message/.dirs/runtime 814s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 814s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 814s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 814s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 814s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 814s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 814s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 815s # Executing: glib/gdbus-connection-slow.test 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s ok 2 /gdbus/connection/large_message 816s # slow test /gdbus/connection/large_message executed in 2.13 secs 816s # End of connection tests 816s # End of gdbus tests 816s ok - glib/gdbus-connection-slow.test 816s # Running test: glib/init.test 816s TAP version 13 816s # random seed: R02S820f3ae2a1f645033e5ef01650921166 816s 1..2 816s # Start of thread tests 816s # Start of deprecated tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_J4T0K2/thread/deprecated/init/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_J4T0K2/thread/deprecated/init/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_J4T0K2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_J4T0K2/thread/deprecated/init/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_J4T0K2/thread/deprecated/init/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_J4T0K2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_J4T0K2/thread/deprecated/init/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_J4T0K2/thread/deprecated/init/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_J4T0K2/thread/deprecated/init/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_J4T0K2/thread/deprecated/init/.dirs/runtime 816s ok 1 /thread/deprecated/init 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_J4T0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_J4T0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_J4T0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_J4T0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_J4T0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_J4T0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_J4T0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_J4T0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_J4T0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_J4T0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 816s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 816s # End of deprecated tests 816s # End of thread tests 816s ok - glib/init.test 816s # Running test: glib/volumemonitor.test 816s TAP version 13 816s # random seed: R02Sb116c50a30de49f721735910afed501b 816s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 816s 1..3 816s # Start of volumemonitor tests 816s ok 1 /volumemonitor/connected_drives 816s ok 2 /volumemonitor/volumes 816s ok 3 /volumemonitor/mounts 816s # End of volumemonitor tests 816s ok - glib/volumemonitor.test 816s # Running test: glib/unix-mounts.test 816s TAP version 13 816s # random seed: R02S4c067d145ccbea5a84cc313f806241ed 816s 1..2 816s # Start of unix-mounts tests 816s ok 1 /unix-mounts/is-system-fs-type 816s ok 2 /unix-mounts/is-system-device-path 816s # End of unix-mounts tests 816s ok - glib/unix-mounts.test 816s # Running test: glib/buffered-output-stream.test 816s TAP version 13 816s # random seed: R02S1ce848933ab0bb31feae43a8ee98b800 816s 1..5 816s # Start of buffered-output-stream tests 816s ok 1 /buffered-output-stream/write 816s ok 2 /buffered-output-stream/grow 816s ok 3 /buffered-output-stream/seek 816s ok 4 /buffered-output-stream/truncate 816s # End of buffered-output-stream tests 816s # Start of filter-output-stream tests 816s ok 5 /filter-output-stream/close 816s # End of filter-output-stream tests 816s ok - glib/buffered-output-stream.test 816s # Running test: glib/object.test 816s TAP version 13 816s # random seed: R02Sa2e82bc7d217d31bf03453044658f383 816s 1..2 816s # Start of object tests 816s # Start of constructor tests 816s ok 1 /object/constructor/singleton 816s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 816s # End of constructor tests 816s # End of object tests 816s ok - glib/object.test 816s # Running test: glib/refcount-macro.test 816s TAP version 13 816s # random seed: R02S04b1f572dc450df79789ac1e6f5bb32a 816s 1..4 816s # Start of refcount tests 816s ok 1 /refcount/grefcount 816s ok 2 /refcount/gatomicrefcount 816s # Start of grefcount tests 816s ok 3 /refcount/grefcount/saturation 816s # End of grefcount tests 816s # Start of gatomicrefcount tests 816s ok 4 /refcount/gatomicrefcount/saturation 816s # End of gatomicrefcount tests 816s # End of refcount tests 816s ok - glib/refcount-macro.test 816s # Running test: glib/signal-handler.test 816s TAP version 13 816s # random seed: R02S8adb61a51b541bf4551dcbcb7f2e3978 816s 1..7 816s # Start of signal tests 816s # Start of handler tests 816s # min perf: connected 1 handlers in 0.000 seconds 816s ok 1 /signal/handler/connect-many 816s # min perf: disconnected 1 handlers in 0.000 seconds 816s ok 2 /signal/handler/disconnect-many-ordered 816s # min perf: disconnected 1 handlers in 0.000 seconds 816s ok 3 /signal/handler/disconnect-many-inverse 816s # min perf: disconnected 1 handlers in 0.000 seconds 816s ok 4 /signal/handler/disconnect-many-random 816s # min perf: disconnected 1 handlers in 0.000 seconds 816s ok 5 /signal/handler/disconnect-2-signals 816s # min perf: disconnected 1 handlers in 0.000 seconds 816s ok 6 /signal/handler/disconnect-2-objects 816s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 816s ok 7 /signal/handler/block-many 816s # End of handler tests 816s # End of signal tests 816s ok - glib/signal-handler.test 816s # Running test: glib/converter-stream.test 816s TAP version 13 816s # random seed: R02S1854d043c1c1d698b6833574ca5081ee 816s 1..17 816s # Start of converter tests 816s ok 1 /converter/basics 816s # End of converter tests 816s # Start of converter-input-stream tests 816s ok 2 /converter-input-stream/expander 816s ok 3 /converter-input-stream/compressor 816s # Start of truncation tests 817s ok 4 /converter-input-stream/truncation/zlib 817s ok 5 /converter-input-stream/truncation/gzip 818s ok 6 /converter-input-stream/truncation/raw 818s # End of truncation tests 818s # Start of charset tests 818s ok 7 /converter-input-stream/charset/utf8->latin1 818s ok 8 /converter-input-stream/charset/latin1->utf8 818s ok 9 /converter-input-stream/charset/fallbacks 818s # End of charset tests 818s # End of converter-input-stream tests 818s # Start of converter-output-stream tests 818s # Start of roundtrip tests 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 818s ok 10 /converter-output-stream/roundtrip/zlib-0 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 818s ok 11 /converter-output-stream/roundtrip/zlib-9 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 818s ok 12 /converter-output-stream/roundtrip/gzip-0 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 819s ok 13 /converter-output-stream/roundtrip/gzip-9 819s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 819s ok 14 /converter-output-stream/roundtrip/raw-0 819s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 819s ok 15 /converter-output-stream/roundtrip/raw-9 819s # End of roundtrip tests 819s # End of converter-output-stream tests 819s # Start of converter-stream tests 819s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 819s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1b7cae0 and GSocketClientAsyncConnectData 0x1b76d18 819s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 819s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 819s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1b7d720 for GSocketClientAsyncConnectData 0x1b76d18 819s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 819s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 819s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 819s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 819s ok 16 /converter-stream/pollable 819s ok 17 /converter-stream/leftover 819s # End of converter-stream tests 819s ok - glib/converter-stream.test 819s # Running test: glib/shell.test 819s TAP version 13 819s # random seed: R02S09622e3384c7957bab12030c53207524 819s 1..51 819s # Start of shell tests 819s # Start of cmdline tests 819s test cmdline: foo bar 819s ok 1 /shell/cmdline/0 819s test cmdline: foo 'bar' 819s ok 2 /shell/cmdline/1 819s test cmdline: foo "bar" 819s ok 3 /shell/cmdline/2 819s test cmdline: foo '' 'bar' 819s ok 4 /shell/cmdline/3 819s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 819s ok 5 /shell/cmdline/4 819s test cmdline: foo blah foo bar baz 819s ok 6 /shell/cmdline/5 819s test cmdline: foo ' spaces more spaces lots of spaces in this ' 819s ok 7 /shell/cmdline/6 819s test cmdline: foo \ 819s bar 819s ok 8 /shell/cmdline/7 819s test cmdline: foo '' '' 819s ok 9 /shell/cmdline/8 819s test cmdline: foo \" la la la 819s ok 10 /shell/cmdline/9 819s test cmdline: foo \ foo woo woo\ 819s ok 11 /shell/cmdline/10 819s test cmdline: foo "yada yada \$\"" 819s ok 12 /shell/cmdline/11 819s test cmdline: foo "c:\\" 819s ok 13 /shell/cmdline/12 819s test cmdline: foo # bla bla bla 819s bar 819s ok 14 /shell/cmdline/13 819s test cmdline: foo a#b 819s ok 15 /shell/cmdline/14 819s test cmdline: #foo 819s ok 16 /shell/cmdline/15 819s test cmdline: foo bar \ 819s ok 17 /shell/cmdline/16 819s test cmdline: foo 'bar baz 819s ok 18 /shell/cmdline/17 819s test cmdline: foo '"bar" baz 819s ok 19 /shell/cmdline/18 819s test cmdline: 819s ok 20 /shell/cmdline/19 819s test cmdline: 819s ok 21 /shell/cmdline/20 819s test cmdline: # foo bar 819s ok 22 /shell/cmdline/21 819s test cmdline: foo '/bar/summer'\''09 tours.pdf' 819s ok 23 /shell/cmdline/22 819s # End of cmdline tests 819s # Start of quote tests 819s ok 24 /shell/quote/0 819s ok 25 /shell/quote/1 819s ok 26 /shell/quote/2 819s ok 27 /shell/quote/3 819s ok 28 /shell/quote/4 819s ok 29 /shell/quote/5 819s ok 30 /shell/quote/6 819s # End of quote tests 819s # Start of unquote tests 819s ok 31 /shell/unquote/0 819s ok 32 /shell/unquote/1 819s ok 33 /shell/unquote/2 819s ok 34 /shell/unquote/3 819s ok 35 /shell/unquote/4 819s ok 36 /shell/unquote/5 819s ok 37 /shell/unquote/6 819s ok 38 /shell/unquote/7 819s ok 39 /shell/unquote/8 819s ok 40 /shell/unquote/9 819s ok 41 /shell/unquote/10 819s ok 42 /shell/unquote/11 819s ok 43 /shell/unquote/12 819s ok 44 /shell/unquote/13 819s ok 45 /shell/unquote/14 819s ok 46 /shell/unquote/15 819s ok 47 /shell/unquote/16 819s ok 48 /shell/unquote/17 819s ok 49 /shell/unquote/18 819s ok 50 /shell/unquote/19 819s ok 51 /shell/unquote/20 819s # End of unquote tests 819s # End of shell tests 819s ok - glib/shell.test 819s # Running test: glib/simple-async-result.test 819s TAP version 13 819s # random seed: R02S683b2a4220c1b580421eca1dc2f579e9 819s 1..2 819s # Start of gio tests 819s # Start of simple-async-result tests 819s ok 1 /gio/simple-async-result/test 819s # GLib-GIO-DEBUG: GTask 0x157c1e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 819s ok 2 /gio/simple-async-result/valid 819s # End of simple-async-result tests 819s # End of gio tests 819s ok - glib/simple-async-result.test 819s # Running test: glib/cxx-20.test 819s TAP version 13 819s # random seed: R02Sde9771ed7f0eaad4f65b532489740017 819s 1..2 819s # Start of gtask tests 819s # 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. 819s ok 1 /gtask/name 819s # Start of name tests 819s # 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. 819s ok 2 /gtask/name/macro-wrapper 819s # End of name tests 819s # End of gtask tests 819s ok - glib/cxx-20.test 819s # Running test: glib/registered-type-info.test 819s TAP version 13 819s # random seed: R02Se41327e301d50724a1c328eab748259f 819s 1..1 819s # Start of registered-type-info tests 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_JAAYK2/registered-type-info/boxed/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_JAAYK2/registered-type-info/boxed/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_JAAYK2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_JAAYK2/registered-type-info/boxed/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_JAAYK2/registered-type-info/boxed/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_JAAYK2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_JAAYK2/registered-type-info/boxed/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_JAAYK2/registered-type-info/boxed/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_JAAYK2/registered-type-info/boxed/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_JAAYK2/registered-type-info/boxed/.dirs/runtime 819s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 819s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 819s # Expecting CClosure to not be boxed 819s # Expecting TypeCValue to not be boxed 819s # Expecting InitiallyUnownedClass to not be boxed 819s # Expecting BookmarkFile to be boxed 819s # Expecting Closure to be boxed 819s # Expecting Object to not be boxed 819s ok 1 /registered-type-info/boxed 819s # End of registered-type-info tests 819s ok - glib/registered-type-info.test 819s # Running test: glib/refcount.test 819s TAP version 13 819s # random seed: R02Sd0b65b26f8f94a045109f60b14a4cd7c 819s 1..4 819s # Start of refcount tests 819s ok 1 /refcount/grefcount 819s ok 2 /refcount/gatomicrefcount 819s # Start of grefcount tests 819s ok 3 /refcount/grefcount/saturation 819s # End of grefcount tests 819s # Start of gatomicrefcount tests 819s ok 4 /refcount/gatomicrefcount/saturation 819s # End of gatomicrefcount tests 819s # End of refcount tests 819s ok - glib/refcount.test 819s # Running test: glib/portal-support-flatpak-network-only.test 819s TAP version 13 819s # random seed: R02S4ccd88814beb17e0fe5751205d93af31 819s 1..1 819s # Start of portal-support tests 819s # Start of flatpak tests 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_JS3YK2/portal-support/flatpak/network/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_JS3YK2/portal-support/flatpak/network/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_JS3YK2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_JS3YK2/portal-support/flatpak/network/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_JS3YK2/portal-support/flatpak/network/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_JS3YK2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_JS3YK2/portal-support/flatpak/network/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_JS3YK2/portal-support/flatpak/network/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_JS3YK2/portal-support/flatpak/network/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_JS3YK2/portal-support/flatpak/network/.dirs/runtime 819s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_JS3YK2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 819s ok 1 /portal-support/flatpak/network 819s # End of flatpak tests 819s # End of portal-support tests 819s ok - glib/portal-support-flatpak-network-only.test 819s # Running test: glib/testing.test 819s TAP version 13 819s # random seed: R02Sef01f2c38b1849eae0a95a01f7a836a5 819s 1..1 819s # Start of assert tests 819s ok 1 /assert/finalize_object 819s # Start of finalize_object tests 819s # Start of subprocess tests 819s # End of subprocess tests 819s # End of finalize_object tests 819s # End of assert tests 819s ok - glib/testing.test 819s # Running test: glib/642026-ec.test 819s TAP version 13 819s # random seed: R02Sdedaa63fed85422c4e865d54edcab385 819s 1..1 819s # Start of glib tests 819s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 820s ok 1 /glib/642026 820s # End of glib tests 820s ok - glib/642026-ec.test 820s # Running test: glib/power-profile-monitor-portal.test 820s # Executing: glib/power-profile-monitor-portal.test 820s TAP version 13 820s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 821s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 821s 1..2 821s ok - glib/power-profile-monitor-portal.test 821s # Running test: glib/signals-refcount3.test 821s TAP version 13 821s # random seed: R02S2d110cb47e71e84a406a41792474574e 821s 1..1 821s # Start of gobject tests 821s # Start of refcount tests 821s # init 0x86fa50 821s # 821s # init 0x86fba8 821s # 825s # Executing: glib/signals-refcount3.test 826s # dispose 0x86fa50! 826s # 826s # dispose 0x86fba8! 826s # 826s ok 1 /gobject/refcount/signals 826s # slow test /gobject/refcount/signals executed in 5.00 secs 826s # End of refcount tests 826s # End of gobject tests 826s ok - glib/signals-refcount3.test 826s # Running test: glib/rand.test 826s TAP version 13 826s # random seed: R02Sbe2cb245f94001be5dd64f27450949ba 826s 1..2 826s # Start of rand tests 826s ok 1 /rand/test-rand 826s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 826s ok 2 /rand/double-range 826s # End of rand tests 826s ok - glib/rand.test 826s # Running test: glib/gdatetime.test 826s TAP version 13 826s # random seed: R02S8bcb8477c9268e6f7b7c3a25568bb559 826s 1..68 826s # Start of GDateTime tests 826s # Bug Reference: http://bugzilla.gnome.org/702674 826s ok 1 /GDateTime/invalid 826s ok 2 /GDateTime/add_days 826s ok 3 /GDateTime/add_full 826s ok 4 /GDateTime/add_hours 826s ok 5 /GDateTime/add_minutes 826s ok 6 /GDateTime/add_months 826s ok 7 /GDateTime/add_seconds 826s ok 8 /GDateTime/add_weeks 826s ok 9 /GDateTime/add_years 826s ok 10 /GDateTime/compare 826s ok 11 /GDateTime/diff 826s ok 12 /GDateTime/equal 826s ok 13 /GDateTime/get_day_of_week 826s ok 14 /GDateTime/get_day_of_month 826s ok 15 /GDateTime/get_day_of_year 826s ok 16 /GDateTime/get_hour 826s ok 17 /GDateTime/get_microsecond 826s ok 18 /GDateTime/get_minute 826s ok 19 /GDateTime/get_month 826s ok 20 /GDateTime/get_second 826s ok 21 /GDateTime/get_utc_offset 826s ok 22 /GDateTime/get_year 826s ok 23 /GDateTime/hash 826s ok 24 /GDateTime/new_from_unix 826s ok 25 /GDateTime/new_from_unix_utc 826s ok 26 /GDateTime/new_from_timeval 826s ok 27 /GDateTime/new_from_timeval_utc 826s ok 28 /GDateTime/new_from_iso8601 826s ok 29 /GDateTime/new_full 826s ok 30 /GDateTime/now 826s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 826s ok 31 /GDateTime/test-6-days-until-end-of-the-month 826s ok 32 /GDateTime/printf 826s ok 33 /GDateTime/non_utf8_printf 826s ok 34 /GDateTime/format_unrepresentable 826s ok 35 /GDateTime/format_iso8601 827s ok 36 /GDateTime/strftime 827s # slow test /GDateTime/strftime executed in 0.72 secs 827s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 827s # Bug Reference: http://bugzilla.gnome.org/749206 827s ok 38 /GDateTime/month_names 827s ok 39 /GDateTime/to_local 827s ok 40 /GDateTime/to_unix 827s ok 41 /GDateTime/to_timeval 827s ok 42 /GDateTime/to_utc 827s ok 43 /GDateTime/now_utc 827s ok 44 /GDateTime/dst 827s # Bug Reference: http://bugzilla.gnome.org/642935 827s ok 45 /GDateTime/test_z 830s # Executing: glib/gdatetime.test 831s ok 46 /GDateTime/test-all-dates 831s # slow test /GDateTime/test-all-dates executed in 4.75 secs 831s ok 47 /GDateTime/unix_usec 831s # Start of new_from_unix tests 831s # Bug Reference: http://bugzilla.gnome.org/782089 831s ok 48 /GDateTime/new_from_unix/overflow 831s # End of new_from_unix tests 831s # Start of new_from_timeval tests 831s # Bug Reference: http://bugzilla.gnome.org/782089 831s # Maximum supported GTimeVal.tv_sec = 2147483647 831s ok 49 /GDateTime/new_from_timeval/overflow 831s # End of new_from_timeval tests 831s # Start of new_from_iso8601 tests 831s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 831s # Vector 0: 1990-11-01T10:21:17Z 831s # Vector 1: 19901101T102117Z 831s # Vector 2: 1970-01-01T00:00:17.12Z 831s # Vector 3: 1970-01-01T00:00:17.1234Z 831s # Vector 4: 1970-01-01T00:00:17.123456Z 831s # Vector 5: 1980-02-22T12:36:00+02:00 831s # Vector 6: 1990-12-31T15:59:60-08:00 831s # Vector 7: 831s # Vector 8: x 831s # Vector 9: 123x 831s # Vector 10: 2001-10+x 831s # Vector 11: 1980-02-22T 831s # Vector 12: 2001-10-08Tx 831s # Vector 13: 2001-10-08T10:11x 831s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 831s # Vector 15: 1980-02-22T10:36:00Zulu 831s # Vector 16: 2T0+819855292164632335 831s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 831s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 831s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 831s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 831s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 831s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 831s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 831s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 831s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 831s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 831s # Vector 27: 20180803T140805.446178377+0100 831s # Vector 28: 21474836480803T140805.446178377+0100 831s # Vector 29: 20181303T140805.446178377+0100 831s # Vector 30: 20180003T140805.446178377+0100 831s # Vector 31: 20180800T140805.446178377+0100 831s # Vector 32: 20180832T140805.446178377+0100 831s # Vector 33: 20180803T240805.446178377+0100 831s # Vector 34: 20180803T146005.446178377+0100 831s # Vector 35: 20180803T140863.446178377+0100 831s # Vector 36: 20180803T140805.446178377+10000 831s # Vector 37: -0005-01-01T00:00:00Z 831s # Vector 38: 2018-08-06 831s # Vector 39: 20180803T140805,446178377+0100 831s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 831s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 831s # Vector 42: 1990-11-01T10:21:17 831s # Vector 43: 1719W462 407777-07 831s # Vector 44: 4011090 260528Z 831s # Vector 45: 0000W011 228214-22 831s ok 50 /GDateTime/new_from_iso8601/2 831s # End of new_from_iso8601 tests 831s # Start of format_mixed tests 831s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 831s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 831s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 831s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 831s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 831s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 831s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 831s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 831s # End of format_mixed tests 831s # Start of strftime tests 831s ok 55 /GDateTime/strftime/error_handling 831s # End of strftime tests 831s # Start of eras tests 831s ok 56 /GDateTime/eras/japan 831s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 831s # Vector 0: 831s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 831s # 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年 831s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 831s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 831s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 831s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 831s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 831s # Vector 8: + 831s # Vector 9: +: 831s # Vector 10: +:: 831s # Vector 11: +:200 831s # Vector 12: +:2nonsense 831s # Vector 13: +:2nonsense: 831s # Vector 14: +:2: 831s # Vector 15: +:2:: 831s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 831s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 831s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 831s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 831s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 831s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 831s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 831s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 831s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 831s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 831s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 831s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 831s # Vector 28: +:2:2020/01/01 831s # Vector 29: +:2:2020/01/01: 831s # Vector 30: +:2:2020/01/01:: 831s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 831s # Vector 32: +:2:2020/01/01:+* 831s # Vector 33: +:2:2020/01/01:+*: 831s # Vector 34: +:2:2020/01/01:+*:: 831s # Vector 35: +:2:2020/01/01:+*:令和 831s # Vector 36: +:2:2020/01/01:+*:令和: 831s # Vector 37: +:2:2020/01/01:+*:令和:; 831s ok 58 /GDateTime/eras/parsing 831s # End of eras tests 831s # End of GDateTime tests 831s # Start of GTimeZone tests 831s ok 59 /GTimeZone/find-interval 831s ok 60 /GTimeZone/adjust-time 831s ok 61 /GTimeZone/no-header 831s ok 62 /GTimeZone/no-header-identifier 831s ok 63 /GTimeZone/posix-parse 831s # Bug Reference: http://bugzilla.gnome.org/697715 831s ok 64 /GTimeZone/floating-point 831s # System time zone identifier: Etc/UTC 831s ok 65 /GTimeZone/identifier 831s # Vector 0: -158400 831s # Vector 1: -10000 831s # Vector 2: -3600 831s # Vector 3: -61 831s # Vector 4: -60 831s # Vector 5: -59 831s # Vector 6: 0 831s # Vector 7: 59 831s # Vector 8: 60 831s # Vector 9: 61 831s # Vector 10: 3600 831s # Vector 11: 10000 831s # Vector 12: 158400 831s ok 66 /GTimeZone/new-offset 831s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 831s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 831s ok 67 /GTimeZone/parse-rfc8536 831s # /GTimeZone/caching summary: GTimeZone instances are cached 831s ok 68 /GTimeZone/caching 831s # End of GTimeZone tests 831s ok - glib/gdatetime.test 831s # Running test: glib/io-channel-basic.test 831s TAP version 13 831s # random seed: R02S307f576902794d81bb967a25de602445 831s 1..1 831s # Start of gio tests 831s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 831s # # random seed: R02S634cfecd7b14189c1cfac231cd7d6bab 832s # # GLib-DEBUG: io-channel-basic: child writing 8+3355 bytes to 6 832s # GLib-DEBUG: io-channel-basic: ...from 5: IN 832s # GLib-DEBUG: io-channel-basic: ...from 5: 3355 bytes 832s # GLib-DEBUG: io-channel-basic: ...from 5: OK 832s # # GLib-DEBUG: io-channel-basic: child writing 8+2880 bytes to 6 832s # GLib-DEBUG: io-channel-basic: ...from 5: IN 832s # GLib-DEBUG: io-channel-basic: ...from 5: 2880 bytes 832s # GLib-DEBUG: io-channel-basic: ...from 5: OK 832s # # GLib-DEBUG: io-channel-basic: child writing 8+3976 bytes to 6 832s # GLib-DEBUG: io-channel-basic: ...from 5: IN 832s # GLib-DEBUG: io-channel-basic: ...from 5: 3976 bytes 832s # GLib-DEBUG: io-channel-basic: ...from 5: OK 832s # # GLib-DEBUG: io-channel-basic: child writing 8+1632 bytes to 6 832s # GLib-DEBUG: io-channel-basic: ...from 5: IN 832s # GLib-DEBUG: io-channel-basic: ...from 5: 1632 bytes 832s # GLib-DEBUG: io-channel-basic: ...from 5: OK 833s # # GLib-DEBUG: io-channel-basic: child writing 8+4808 bytes to 6 833s # GLib-DEBUG: io-channel-basic: ...from 5: IN 833s # GLib-DEBUG: io-channel-basic: ...from 5: 4808 bytes 833s # GLib-DEBUG: io-channel-basic: ...from 5: OK 833s # # GLib-DEBUG: io-channel-basic: child writing 8+646 bytes to 6 833s # GLib-DEBUG: io-channel-basic: ...from 5: IN 833s # GLib-DEBUG: io-channel-basic: ...from 5: 646 bytes 833s # GLib-DEBUG: io-channel-basic: ...from 5: OK 833s # # GLib-DEBUG: io-channel-basic: child writing 8+3480 bytes to 6 833s # GLib-DEBUG: io-channel-basic: ...from 5: IN 833s # GLib-DEBUG: io-channel-basic: ...from 5: 3480 bytes 833s # GLib-DEBUG: io-channel-basic: ...from 5: OK 834s # # GLib-DEBUG: io-channel-basic: child writing 8+2724 bytes to 6 834s # GLib-DEBUG: io-channel-basic: ...from 5: IN 834s # GLib-DEBUG: io-channel-basic: ...from 5: 2724 bytes 834s # GLib-DEBUG: io-channel-basic: ...from 5: OK 834s # # GLib-DEBUG: io-channel-basic: child writing 8+3346 bytes to 6 834s # GLib-DEBUG: io-channel-basic: ...from 5: IN 834s # GLib-DEBUG: io-channel-basic: ...from 5: 3346 bytes 834s # GLib-DEBUG: io-channel-basic: ...from 5: OK 834s # # GLib-DEBUG: io-channel-basic: child writing 8+3111 bytes to 6 834s # GLib-DEBUG: io-channel-basic: ...from 5: IN 834s # GLib-DEBUG: io-channel-basic: ...from 5: 3111 bytes 834s # GLib-DEBUG: io-channel-basic: ...from 5: OK 834s # # GLib-DEBUG: io-channel-basic: child writing 8+77 bytes to 6 834s # GLib-DEBUG: io-channel-basic: ...from 5: IN 834s # GLib-DEBUG: io-channel-basic: ...from 5: 77 bytes 834s # GLib-DEBUG: io-channel-basic: ...from 5: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+4756 bytes to 6 835s # GLib-DEBUG: io-channel-basic: ...from 5: IN 835s # GLib-DEBUG: io-channel-basic: ...from 5: 4756 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 5: OK 835s # Executing: glib/io-channel-basic.test 835s # # GLib-DEBUG: io-channel-basic: child writing 8+4100 bytes to 6 835s # GLib-DEBUG: io-channel-basic: ...from 5: IN 835s # GLib-DEBUG: io-channel-basic: ...from 5: 4100 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 5: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+343 bytes to 6 835s # GLib-DEBUG: io-channel-basic: ...from 5: IN 835s # GLib-DEBUG: io-channel-basic: ...from 5: 343 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 5: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+125 bytes to 6 835s # GLib-DEBUG: io-channel-basic: ...from 5: IN 835s # GLib-DEBUG: io-channel-basic: ...from 5: 125 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 5: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+3776 bytes to 6 836s # GLib-DEBUG: io-channel-basic: ...from 5: IN 836s # GLib-DEBUG: io-channel-basic: ...from 5: 3776 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 5: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+996 bytes to 6 836s # GLib-DEBUG: io-channel-basic: ...from 5: IN 836s # GLib-DEBUG: io-channel-basic: ...from 5: 996 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 5: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+1452 bytes to 6 836s # GLib-DEBUG: io-channel-basic: ...from 5: IN 836s # GLib-DEBUG: io-channel-basic: ...from 5: 1452 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 5: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+3882 bytes to 6 836s # GLib-DEBUG: io-channel-basic: ...from 5: IN 836s # GLib-DEBUG: io-channel-basic: ...from 5: 3882 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 5: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+4939 bytes to 6 837s # GLib-DEBUG: io-channel-basic: ...from 5: IN 837s # GLib-DEBUG: io-channel-basic: ...from 5: 4939 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 5: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+4902 bytes to 6 837s # GLib-DEBUG: io-channel-basic: ...from 5: IN 837s # GLib-DEBUG: io-channel-basic: ...from 5: 4902 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 5: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+3893 bytes to 6 837s # GLib-DEBUG: io-channel-basic: ...from 5: IN 837s # GLib-DEBUG: io-channel-basic: ...from 5: 3893 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 5: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+3236 bytes to 6 837s # GLib-DEBUG: io-channel-basic: ...from 5: IN 837s # GLib-DEBUG: io-channel-basic: ...from 5: 3236 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 5: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+1860 bytes to 6 838s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 838s # GLib-DEBUG: io-channel-basic: ...from 5: IN 838s # GLib-DEBUG: io-channel-basic: ...from 5: 1860 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 5: OK 838s # GLib-DEBUG: io-channel-basic: ...from 5: HUP 838s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 838s # # random seed: R02S8391f99a76fbd3c210608408f7d3cb9d 838s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 838s # # random seed: R02S3256f73dde4af0a82636826a1351696b 838s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 838s # # random seed: R02S3a7a6aba8c1beea3d65ee4f79b1ddd33 838s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 838s # # random seed: R02S67403db5d5a081d1210342b79bb44c78 838s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 838s # # random seed: R02S13817041ce48d60dad98721da514c76c 838s # # GLib-DEBUG: io-channel-basic: child writing 8+431 bytes to 11 838s # GLib-DEBUG: io-channel-basic: ...from 10: IN 838s # GLib-DEBUG: io-channel-basic: ...from 10: 431 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 10: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+878 bytes to 17 838s # GLib-DEBUG: io-channel-basic: ...from 16: IN 838s # GLib-DEBUG: io-channel-basic: ...from 16: 878 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 16: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+4980 bytes to 13 838s # GLib-DEBUG: io-channel-basic: ...from 12: IN 838s # GLib-DEBUG: io-channel-basic: ...from 12: 4980 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 12: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+2780 bytes to 9 838s # GLib-DEBUG: io-channel-basic: ...from 8: IN 838s # GLib-DEBUG: io-channel-basic: ...from 8: 2780 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 8: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+4079 bytes to 15 838s # GLib-DEBUG: io-channel-basic: ...from 14: IN 838s # GLib-DEBUG: io-channel-basic: ...from 14: 4079 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 14: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+1300 bytes to 11 838s # GLib-DEBUG: io-channel-basic: ...from 10: IN 838s # GLib-DEBUG: io-channel-basic: ...from 10: 1300 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 10: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+292 bytes to 17 838s # GLib-DEBUG: io-channel-basic: ...from 16: IN 838s # GLib-DEBUG: io-channel-basic: ...from 16: 292 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 16: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+4547 bytes to 13 838s # GLib-DEBUG: io-channel-basic: ...from 12: IN 838s # GLib-DEBUG: io-channel-basic: ...from 12: 4547 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 12: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+1606 bytes to 9 838s # GLib-DEBUG: io-channel-basic: ...from 8: IN 838s # GLib-DEBUG: io-channel-basic: ...from 8: 1606 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 8: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+4910 bytes to 15 838s # GLib-DEBUG: io-channel-basic: ...from 14: IN 838s # GLib-DEBUG: io-channel-basic: ...from 14: 4910 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 14: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+2023 bytes to 13 839s # # GLib-DEBUG: io-channel-basic: child writing 8+822 bytes to 11 839s # GLib-DEBUG: io-channel-basic: ...from 12: IN 839s # GLib-DEBUG: io-channel-basic: ...from 12: 2023 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 12: OK 839s # GLib-DEBUG: io-channel-basic: ...from 10: IN 839s # GLib-DEBUG: io-channel-basic: ...from 10: 822 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 10: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+3517 bytes to 17 839s # GLib-DEBUG: io-channel-basic: ...from 16: IN 839s # GLib-DEBUG: io-channel-basic: ...from 16: 3517 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 16: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+1367 bytes to 9 839s # GLib-DEBUG: io-channel-basic: ...from 8: IN 839s # GLib-DEBUG: io-channel-basic: ...from 8: 1367 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 8: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+2014 bytes to 15 839s # GLib-DEBUG: io-channel-basic: ...from 14: IN 839s # GLib-DEBUG: io-channel-basic: ...from 14: 2014 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 14: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+2812 bytes to 13 839s # GLib-DEBUG: io-channel-basic: ...from 12: IN 839s # GLib-DEBUG: io-channel-basic: ...from 12: 2812 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 12: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+4690 bytes to 11 839s # GLib-DEBUG: io-channel-basic: ...from 10: IN 839s # GLib-DEBUG: io-channel-basic: ...from 10: 4690 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 10: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+1317 bytes to 17 839s # GLib-DEBUG: io-channel-basic: ...from 16: IN 839s # GLib-DEBUG: io-channel-basic: ...from 16: 1317 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 16: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+791 bytes to 9 839s # GLib-DEBUG: io-channel-basic: ...from 8: IN 839s # GLib-DEBUG: io-channel-basic: ...from 8: 791 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 8: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+250 bytes to 15 839s # GLib-DEBUG: io-channel-basic: ...from 14: IN 839s # GLib-DEBUG: io-channel-basic: ...from 14: 250 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 14: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+167 bytes to 13 839s # GLib-DEBUG: io-channel-basic: ...from 12: IN 839s # GLib-DEBUG: io-channel-basic: ...from 12: 167 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 12: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+2308 bytes to 11 839s # GLib-DEBUG: io-channel-basic: ...from 10: IN 839s # GLib-DEBUG: io-channel-basic: ...from 10: 2308 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 10: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+641 bytes to 17 839s # GLib-DEBUG: io-channel-basic: ...from 16: IN 839s # GLib-DEBUG: io-channel-basic: ...from 16: 641 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 16: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+40 bytes to 15 839s # GLib-DEBUG: io-channel-basic: ...from 14: IN 839s # GLib-DEBUG: io-channel-basic: ...from 14: 40 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 14: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+4251 bytes to 9 839s # GLib-DEBUG: io-channel-basic: ...from 8: IN 839s # GLib-DEBUG: io-channel-basic: ...from 8: 4251 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 8: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+613 bytes to 13 839s # GLib-DEBUG: io-channel-basic: ...from 12: IN 839s # GLib-DEBUG: io-channel-basic: ...from 12: 613 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 12: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+4712 bytes to 17 839s # GLib-DEBUG: io-channel-basic: ...from 16: IN 839s # GLib-DEBUG: io-channel-basic: ...from 16: 4712 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 16: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+1839 bytes to 11 839s # GLib-DEBUG: io-channel-basic: ...from 10: IN 839s # GLib-DEBUG: io-channel-basic: ...from 10: 1839 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 10: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+3071 bytes to 9 839s # GLib-DEBUG: io-channel-basic: ...from 8: IN 839s # GLib-DEBUG: io-channel-basic: ...from 8: 3071 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 8: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+2503 bytes to 15 839s # GLib-DEBUG: io-channel-basic: ...from 14: IN 839s # GLib-DEBUG: io-channel-basic: ...from 14: 2503 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 14: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+4448 bytes to 17 840s # GLib-DEBUG: io-channel-basic: ...from 16: IN 840s # GLib-DEBUG: io-channel-basic: ...from 16: 4448 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 16: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+1177 bytes to 13 840s # # GLib-DEBUG: io-channel-basic: child writing 8+2035 bytes to 11 840s # GLib-DEBUG: io-channel-basic: ...from 10: IN 840s # GLib-DEBUG: io-channel-basic: ...from 10: 2035 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 10: OK 840s # GLib-DEBUG: io-channel-basic: ...from 12: IN 840s # GLib-DEBUG: io-channel-basic: ...from 12: 1177 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 12: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+170 bytes to 9 840s # GLib-DEBUG: io-channel-basic: ...from 8: IN 840s # GLib-DEBUG: io-channel-basic: ...from 8: 170 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 8: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+4444 bytes to 15 840s # GLib-DEBUG: io-channel-basic: ...from 14: IN 840s # GLib-DEBUG: io-channel-basic: ...from 14: 4444 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 14: OK 840s # Executing: glib/io-channel-basic.test 840s # # GLib-DEBUG: io-channel-basic: child writing 8+4813 bytes to 17 840s # GLib-DEBUG: io-channel-basic: ...from 16: IN 840s # GLib-DEBUG: io-channel-basic: ...from 16: 4813 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 16: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+3163 bytes to 9 840s # GLib-DEBUG: io-channel-basic: ...from 8: IN 840s # GLib-DEBUG: io-channel-basic: ...from 8: 3163 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 8: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+2500 bytes to 13 840s # GLib-DEBUG: io-channel-basic: ...from 12: IN 840s # GLib-DEBUG: io-channel-basic: ...from 12: 2500 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 12: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+4544 bytes to 11 840s # GLib-DEBUG: io-channel-basic: ...from 10: IN 840s # GLib-DEBUG: io-channel-basic: ...from 10: 4544 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 10: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+1922 bytes to 15 840s # GLib-DEBUG: io-channel-basic: ...from 14: IN 840s # GLib-DEBUG: io-channel-basic: ...from 14: 1922 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 14: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+258 bytes to 17 840s # GLib-DEBUG: io-channel-basic: ...from 16: IN 840s # GLib-DEBUG: io-channel-basic: ...from 16: 258 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 16: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+4618 bytes to 9 840s # GLib-DEBUG: io-channel-basic: ...from 8: IN 840s # GLib-DEBUG: io-channel-basic: ...from 8: 4618 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 8: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+2776 bytes to 13 840s # GLib-DEBUG: io-channel-basic: ...from 12: IN 840s # GLib-DEBUG: io-channel-basic: ...from 12: 2776 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 12: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+1039 bytes to 11 840s # GLib-DEBUG: io-channel-basic: ...from 10: IN 840s # GLib-DEBUG: io-channel-basic: ...from 10: 1039 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 10: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+3249 bytes to 15 840s # GLib-DEBUG: io-channel-basic: ...from 14: IN 840s # GLib-DEBUG: io-channel-basic: ...from 14: 3249 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 14: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+1881 bytes to 17 840s # GLib-DEBUG: io-channel-basic: ...from 16: IN 840s # GLib-DEBUG: io-channel-basic: ...from 16: 1881 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 16: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+2469 bytes to 9 840s # GLib-DEBUG: io-channel-basic: ...from 8: IN 840s # GLib-DEBUG: io-channel-basic: ...from 8: 2469 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 8: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+3158 bytes to 15 840s # GLib-DEBUG: io-channel-basic: ...from 14: IN 840s # GLib-DEBUG: io-channel-basic: ...from 14: 3158 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 14: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+1714 bytes to 13 840s # GLib-DEBUG: io-channel-basic: ...from 12: IN 840s # GLib-DEBUG: io-channel-basic: ...from 12: 1714 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 12: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+3519 bytes to 11 840s # GLib-DEBUG: io-channel-basic: ...from 10: IN 840s # GLib-DEBUG: io-channel-basic: ...from 10: 3519 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 10: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+3362 bytes to 17 841s # GLib-DEBUG: io-channel-basic: ...from 16: IN 841s # GLib-DEBUG: io-channel-basic: ...from 16: 3362 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 16: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+2598 bytes to 9 841s # GLib-DEBUG: io-channel-basic: ...from 8: IN 841s # GLib-DEBUG: io-channel-basic: ...from 8: 2598 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 8: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+4016 bytes to 15 841s # GLib-DEBUG: io-channel-basic: ...from 14: IN 841s # GLib-DEBUG: io-channel-basic: ...from 14: 4016 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 14: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+3897 bytes to 13 841s # GLib-DEBUG: io-channel-basic: ...from 12: IN 841s # GLib-DEBUG: io-channel-basic: ...from 12: 3897 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 12: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+3949 bytes to 11 841s # GLib-DEBUG: io-channel-basic: ...from 10: IN 841s # GLib-DEBUG: io-channel-basic: ...from 10: 3949 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 10: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+1928 bytes to 17 841s # GLib-DEBUG: io-channel-basic: ...from 16: IN 841s # GLib-DEBUG: io-channel-basic: ...from 16: 1928 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 16: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+183 bytes to 9 841s # GLib-DEBUG: io-channel-basic: ...from 8: IN 841s # GLib-DEBUG: io-channel-basic: ...from 8: 183 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 8: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+4611 bytes to 15 841s # GLib-DEBUG: io-channel-basic: ...from 14: IN 841s # GLib-DEBUG: io-channel-basic: ...from 14: 4611 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 14: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+83 bytes to 13 841s # GLib-DEBUG: io-channel-basic: ...from 12: IN 841s # GLib-DEBUG: io-channel-basic: ...from 12: 83 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 12: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+1115 bytes to 11 841s # GLib-DEBUG: io-channel-basic: ...from 10: IN 841s # GLib-DEBUG: io-channel-basic: ...from 10: 1115 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 10: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+3205 bytes to 17 841s # GLib-DEBUG: io-channel-basic: ...from 16: IN 841s # GLib-DEBUG: io-channel-basic: ...from 16: 3205 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 16: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+281 bytes to 9 841s # GLib-DEBUG: io-channel-basic: ...from 8: IN 841s # GLib-DEBUG: io-channel-basic: ...from 8: 281 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 8: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+2503 bytes to 13 841s # GLib-DEBUG: io-channel-basic: ...from 12: IN 841s # GLib-DEBUG: io-channel-basic: ...from 12: 2503 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 12: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+2898 bytes to 15 841s # GLib-DEBUG: io-channel-basic: ...from 14: IN 841s # GLib-DEBUG: io-channel-basic: ...from 14: 2898 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 14: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+2439 bytes to 11 841s # GLib-DEBUG: io-channel-basic: ...from 10: IN 841s # GLib-DEBUG: io-channel-basic: ...from 10: 2439 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 10: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+1512 bytes to 17 841s # GLib-DEBUG: io-channel-basic: ...from 16: IN 841s # GLib-DEBUG: io-channel-basic: ...from 16: 1512 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 16: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+1740 bytes to 9 841s # GLib-DEBUG: io-channel-basic: ...from 8: IN 841s # GLib-DEBUG: io-channel-basic: ...from 8: 1740 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 8: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+776 bytes to 13 841s # GLib-DEBUG: io-channel-basic: ...from 12: IN 841s # GLib-DEBUG: io-channel-basic: ...from 12: 776 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 12: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+1154 bytes to 15 841s # GLib-DEBUG: io-channel-basic: ...from 14: IN 841s # GLib-DEBUG: io-channel-basic: ...from 14: 1154 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 14: OK 841s # # GLib-DEBUG: io-channel-basic: child writing 8+3516 bytes to 11 841s # GLib-DEBUG: io-channel-basic: ...from 10: IN 841s # GLib-DEBUG: io-channel-basic: ...from 10: 3516 bytes 841s # GLib-DEBUG: io-channel-basic: ...from 10: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+1549 bytes to 17 842s # GLib-DEBUG: io-channel-basic: ...from 16: IN 842s # GLib-DEBUG: io-channel-basic: ...from 16: 1549 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 16: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+3309 bytes to 9 842s # GLib-DEBUG: io-channel-basic: ...from 8: IN 842s # GLib-DEBUG: io-channel-basic: ...from 8: 3309 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 8: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+1319 bytes to 15 842s # GLib-DEBUG: io-channel-basic: ...from 14: IN 842s # GLib-DEBUG: io-channel-basic: ...from 14: 1319 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 14: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+2294 bytes to 13 842s # # GLib-DEBUG: io-channel-basic: child writing 8+3555 bytes to 11 842s # GLib-DEBUG: io-channel-basic: ...from 10: IN 842s # GLib-DEBUG: io-channel-basic: ...from 10: 3555 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 10: OK 842s # GLib-DEBUG: io-channel-basic: ...from 12: IN 842s # GLib-DEBUG: io-channel-basic: ...from 12: 2294 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 12: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+4523 bytes to 17 842s # GLib-DEBUG: io-channel-basic: ...from 16: IN 842s # GLib-DEBUG: io-channel-basic: ...from 16: 4523 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 16: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+3102 bytes to 9 842s # GLib-DEBUG: io-channel-basic: ...from 8: IN 842s # GLib-DEBUG: io-channel-basic: ...from 8: 3102 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 8: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+3509 bytes to 15 842s # GLib-DEBUG: io-channel-basic: ...from 14: IN 842s # GLib-DEBUG: io-channel-basic: ...from 14: 3509 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 14: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+1022 bytes to 11 842s # GLib-DEBUG: io-channel-basic: ...from 10: IN 842s # GLib-DEBUG: io-channel-basic: ...from 10: 1022 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 10: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+1303 bytes to 13 842s # GLib-DEBUG: io-channel-basic: ...from 12: IN 842s # GLib-DEBUG: io-channel-basic: ...from 12: 1303 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 12: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+1246 bytes to 17 842s # GLib-DEBUG: io-channel-basic: ...from 16: IN 842s # GLib-DEBUG: io-channel-basic: ...from 16: 1246 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 16: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+3644 bytes to 9 842s # GLib-DEBUG: io-channel-basic: ...from 8: IN 842s # GLib-DEBUG: io-channel-basic: ...from 8: 3644 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 8: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+3845 bytes to 11 842s # GLib-DEBUG: io-channel-basic: ...from 10: IN 842s # GLib-DEBUG: io-channel-basic: ...from 10: 3845 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 10: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+286 bytes to 15 842s # GLib-DEBUG: io-channel-basic: ...from 14: IN 842s # GLib-DEBUG: io-channel-basic: ...from 14: 286 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 14: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+1017 bytes to 13 842s # GLib-DEBUG: io-channel-basic: ...from 12: IN 842s # GLib-DEBUG: io-channel-basic: ...from 12: 1017 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 12: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+4161 bytes to 17 842s # GLib-DEBUG: io-channel-basic: ...from 16: IN 842s # GLib-DEBUG: io-channel-basic: ...from 16: 4161 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 16: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+1307 bytes to 9 842s # GLib-DEBUG: io-channel-basic: ...from 8: IN 842s # GLib-DEBUG: io-channel-basic: ...from 8: 1307 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 8: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+378 bytes to 15 842s # GLib-DEBUG: io-channel-basic: ...from 14: IN 842s # GLib-DEBUG: io-channel-basic: ...from 14: 378 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 14: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+3186 bytes to 11 842s # GLib-DEBUG: io-channel-basic: ...from 10: IN 842s # GLib-DEBUG: io-channel-basic: ...from 10: 3186 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 10: OK 842s # # GLib-DEBUG: io-channel-basic: child writing 8+2266 bytes to 13 842s # GLib-DEBUG: io-channel-basic: ...from 12: IN 842s # GLib-DEBUG: io-channel-basic: ...from 12: 2266 bytes 842s # GLib-DEBUG: io-channel-basic: ...from 12: OK 843s # # GLib-DEBUG: io-channel-basic: child writing 8+3024 bytes to 17 843s # GLib-DEBUG: io-channel-basic: ...from 16: IN 843s # GLib-DEBUG: io-channel-basic: ...from 16: 3024 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 16: OK 843s # # GLib-DEBUG: io-channel-basic: child writing 8+4497 bytes to 9 843s # GLib-DEBUG: io-channel-basic: ...from 8: IN 843s # GLib-DEBUG: io-channel-basic: ...from 8: 4497 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 8: OK 843s # # GLib-DEBUG: io-channel-basic: child writing 8+3770 bytes to 15 843s # GLib-DEBUG: io-channel-basic: ...from 14: IN 843s # GLib-DEBUG: io-channel-basic: ...from 14: 3770 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 14: OK 843s # # GLib-DEBUG: io-channel-basic: child writing 8+3229 bytes to 11 843s # GLib-DEBUG: io-channel-basic: ...from 10: IN 843s # GLib-DEBUG: io-channel-basic: ...from 10: 3229 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 10: OK 843s # # GLib-DEBUG: io-channel-basic: child writing 8+480 bytes to 13 843s # GLib-DEBUG: io-channel-basic: ...from 12: IN 843s # GLib-DEBUG: io-channel-basic: ...from 12: 480 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 12: OK 843s # # GLib-DEBUG: io-channel-basic: child writing 8+4380 bytes to 17 843s # GLib-DEBUG: io-channel-basic: ...from 16: IN 843s # GLib-DEBUG: io-channel-basic: ...from 16: 4380 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 16: OK 843s # # GLib-DEBUG: io-channel-basic: child writing 8+2119 bytes to 9 843s # GLib-DEBUG: io-channel-basic: ...from 8: IN 843s # GLib-DEBUG: io-channel-basic: ...from 8: 2119 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 8: OK 843s # # GLib-DEBUG: io-channel-basic: child writing 8+16 bytes to 15 843s # GLib-DEBUG: io-channel-basic: ...from 14: IN 843s # GLib-DEBUG: io-channel-basic: ...from 14: 16 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 14: OK 843s # # GLib-DEBUG: io-channel-basic: child writing 8+4750 bytes to 11 843s # GLib-DEBUG: io-channel-basic: ...from 10: IN 843s # GLib-DEBUG: io-channel-basic: ...from 10: 4750 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 10: OK 843s # # GLib-DEBUG: io-channel-basic: child writing 8+4919 bytes to 13 843s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 843s # GLib-DEBUG: io-channel-basic: ...from 12: IN 843s # GLib-DEBUG: io-channel-basic: ...from 12: 4919 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 12: OK 843s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 843s # # GLib-DEBUG: io-channel-basic: child writing 8+4467 bytes to 17 843s # GLib-DEBUG: io-channel-basic: ...from 16: IN 843s # GLib-DEBUG: io-channel-basic: ...from 16: 4467 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 16: OK 843s # # GLib-DEBUG: io-channel-basic: child writing 8+517 bytes to 15 843s # GLib-DEBUG: io-channel-basic: ...from 14: IN 843s # GLib-DEBUG: io-channel-basic: ...from 14: 517 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 14: OK 843s # # GLib-DEBUG: io-channel-basic: child writing 8+1120 bytes to 9 843s # GLib-DEBUG: io-channel-basic: ...from 8: IN 843s # GLib-DEBUG: io-channel-basic: ...from 8: 1120 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 8: OK 843s # # GLib-DEBUG: io-channel-basic: child writing 8+944 bytes to 11 843s # GLib-DEBUG: io-channel-basic: ...from 10: IN 843s # GLib-DEBUG: io-channel-basic: ...from 10: 944 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 10: OK 843s # # GLib-DEBUG: io-channel-basic: child writing 8+2421 bytes to 17 843s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 843s # GLib-DEBUG: io-channel-basic: ...from 16: IN 843s # GLib-DEBUG: io-channel-basic: ...from 16: 2421 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 16: OK 843s # GLib-DEBUG: io-channel-basic: ...from 16: HUP 843s # # GLib-DEBUG: io-channel-basic: child writing 8+3915 bytes to 11 843s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 843s # GLib-DEBUG: io-channel-basic: ...from 10: IN 843s # GLib-DEBUG: io-channel-basic: ...from 10: 3915 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 10: OK 843s # GLib-DEBUG: io-channel-basic: ...from 10: HUP 843s # # GLib-DEBUG: io-channel-basic: child writing 8+2929 bytes to 15 843s # GLib-DEBUG: io-channel-basic: ...from 14: IN 843s # GLib-DEBUG: io-channel-basic: ...from 14: 2929 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 14: OK 843s # # GLib-DEBUG: io-channel-basic: child writing 8+3244 bytes to 9 843s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 843s # GLib-DEBUG: io-channel-basic: ...from 8: IN 843s # GLib-DEBUG: io-channel-basic: ...from 8: 3244 bytes 843s # GLib-DEBUG: io-channel-basic: ...from 8: OK 843s # GLib-DEBUG: io-channel-basic: ...from 8: HUP 844s # # GLib-DEBUG: io-channel-basic: child writing 8+3240 bytes to 15 844s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 844s # GLib-DEBUG: io-channel-basic: ...from 14: IN 844s # GLib-DEBUG: io-channel-basic: ...from 14: 3240 bytes 844s # GLib-DEBUG: io-channel-basic: ...from 14: OK 844s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 844s ok 1 /gio/io-basics 844s # slow test /gio/io-basics executed in 12.33 secs 844s # End of gio tests 844s ok - glib/io-channel-basic.test 844s # Running test: glib/gdbus-close-pending.test 844s TAP version 13 844s # random seed: R02S85cb3bf29fcf6f96f99d2d3f23c18ed4 844s 1..2 844s # Start of gdbus tests 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_JYBPK2/gdbus/close-pending/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_JYBPK2/gdbus/close-pending/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_JYBPK2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_JYBPK2/gdbus/close-pending/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_JYBPK2/gdbus/close-pending/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_JYBPK2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_JYBPK2/gdbus/close-pending/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_JYBPK2/gdbus/close-pending/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_JYBPK2/gdbus/close-pending/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_JYBPK2/gdbus/close-pending/.dirs/runtime 844s ok 1 /gdbus/close-pending 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_JYBPK2/gdbus/unref-pending/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_JYBPK2/gdbus/unref-pending/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_JYBPK2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_JYBPK2/gdbus/unref-pending/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_JYBPK2/gdbus/unref-pending/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_JYBPK2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_JYBPK2/gdbus/unref-pending/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_JYBPK2/gdbus/unref-pending/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_JYBPK2/gdbus/unref-pending/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_JYBPK2/gdbus/unref-pending/.dirs/runtime 845s # Executing: glib/gdbus-close-pending.test 845s ok 2 /gdbus/unref-pending 845s # End of gdbus tests 845s ok - glib/gdbus-close-pending.test 845s # Running test: glib/properties-introspection.test 845s TAP version 13 845s # random seed: R02S561796dbd798a377ee8d4252292ae218 845s 1..2 845s # Start of properties tests 845s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 845s ok 1 /properties/introspection 845s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 845s ok 2 /properties/collision 845s # End of properties tests 845s ok - glib/properties-introspection.test 845s # Running test: glib/async-close-output-stream.test 845s TAP version 13 845s # random seed: R02S259729ddc7c72b7d301e8f3d1d98c9de 845s 1..3 845s # Start of close-async tests 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 845s ok 1 /close-async/without-flush 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 845s ok 2 /close-async/with-flush 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 845s ok 3 /close-async/with-async-flush 845s # End of close-async tests 845s ok - glib/async-close-output-stream.test 845s # Running test: glib/base64.test 845s TAP version 13 845s # random seed: R02S5483dafd0f88aba568d1492288c99679 845s 1..28 845s # Start of base64 tests 845s ok 1 /base64/encode 845s ok 2 /base64/decode 845s ok 3 /base64/decode-inplace 845s ok 4 /base64/encode-decode 845s # Start of full tests 845s ok 5 /base64/full/1 845s ok 6 /base64/full/2 845s ok 7 /base64/full/3 845s ok 8 /base64/full/4 845s # End of full tests 845s # Start of encode tests 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 845s ok 9 /base64/encode/empty 845s # Start of incremental tests 845s # Start of small-block tests 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 845s ok 10 /base64/encode/incremental/small-block/1 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 845s ok 11 /base64/encode/incremental/small-block/2 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 845s ok 12 /base64/encode/incremental/small-block/3 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 845s ok 13 /base64/encode/incremental/small-block/4 845s # End of small-block tests 845s # End of incremental tests 845s # End of encode tests 845s # Start of incremental tests 845s # Start of nobreak tests 845s ok 14 /base64/incremental/nobreak/1 845s ok 15 /base64/incremental/nobreak/2 845s ok 16 /base64/incremental/nobreak/3 845s ok 17 /base64/incremental/nobreak/4-a 845s ok 18 /base64/incremental/nobreak/4-b 845s ok 19 /base64/incremental/nobreak/4-c 845s # End of nobreak tests 845s # Start of break tests 845s ok 20 /base64/incremental/break/1 845s ok 21 /base64/incremental/break/2 845s ok 22 /base64/incremental/break/3 845s # End of break tests 845s # Start of smallblock tests 845s ok 23 /base64/incremental/smallblock/1 845s ok 24 /base64/incremental/smallblock/2 845s ok 25 /base64/incremental/smallblock/3 845s ok 26 /base64/incremental/smallblock/4 845s # End of smallblock tests 845s # End of incremental tests 845s # Start of decode tests 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 845s ok 27 /base64/decode/empty 845s # End of decode tests 845s # Start of encode-decode tests 845s # Vector 0: 845s # Vector 1: f 845s # Vector 2: fo 845s # Vector 3: foo 845s # Vector 4: foob 845s # Vector 5: fooba 845s # Vector 6: foobar 845s ok 28 /base64/encode-decode/rfc4648 845s # End of encode-decode tests 845s # End of base64 tests 845s ok - glib/base64.test 845s # Running test: glib/union-info.test 845s TAP version 13 845s # random seed: R02S1a90d292d3bee33483108f1973d2bf60 845s 1..2 845s # Start of union-info tests 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_X2IQK2/union-info/basic/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_X2IQK2/union-info/basic/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_X2IQK2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_X2IQK2/union-info/basic/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_X2IQK2/union-info/basic/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_X2IQK2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_X2IQK2/union-info/basic/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_X2IQK2/union-info/basic/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_X2IQK2/union-info/basic/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_X2IQK2/union-info/basic/.dirs/runtime 845s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 845s # /union-info/basic summary: Test basic properties of GIUnionInfo 845s ok 1 /union-info/basic 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_X2IQK2/union-info/methods/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_X2IQK2/union-info/methods/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_X2IQK2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_X2IQK2/union-info/methods/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_X2IQK2/union-info/methods/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_X2IQK2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_X2IQK2/union-info/methods/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_X2IQK2/union-info/methods/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_X2IQK2/union-info/methods/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_X2IQK2/union-info/methods/.dirs/runtime 845s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 845s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 845s ok 2 /union-info/methods 845s # End of union-info tests 845s ok - glib/union-info.test 845s # Running test: glib/thumbnail-verification.test 845s TAP version 13 845s # random seed: R02Secca3757bf4cd9aced81fa678e37eeb2 845s 1..1 845s # Start of png-thumbs tests 845s ok 1 /png-thumbs/validity 845s # End of png-thumbs tests 845s ok - glib/thumbnail-verification.test 845s # Running test: glib/network-monitor-race.test 845s TAP version 13 845s # random seed: R02S6a43dfe0ec34f902eaa79993c783996b 845s 1..1 845s # Start of network-monitor tests 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 847s ok 1 /network-monitor/create-in-thread 847s # slow test /network-monitor/create-in-thread executed in 2.35 secs 847s # End of network-monitor tests 847s ok - glib/network-monitor-race.test 847s # Running test: glib/notify-init2.test 847s TAP version 13 847s # random seed: R02S5d2b27756eb023c1cec39c556509ff80 847s 1..1 847s # Start of properties tests 847s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 847s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 847s ok 1 /properties/notify-in-init2 847s # End of properties tests 847s ok - glib/notify-init2.test 847s # Running test: glib/g-file-info-filesystem-readonly.test 847s TAP version 13 847s # random seed: R02Sf32265dc004fb7a6c42d52a83f3fd2ca 847s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 847s 1..2 847s # Start of g-file-info-filesystem-readonly tests 847s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 847s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 847s # End of g-file-info-filesystem-readonly tests 847s ok - glib/g-file-info-filesystem-readonly.test 847s # Running test: glib/option-argv0.test 847s TAP version 13 847s # random seed: R02S2f1ee0082d4bbff96445dfa8f54d693f 847s 1..1 847s # Start of option tests 847s ok 1 /option/argv0 847s # End of option tests 847s ok - glib/option-argv0.test 847s # Running test: glib/assert-msg-test.py.test 847s TAP version 13 847s ok 1 __main__.TestAssertMessage.test_gassert 847s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 847s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 847s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 847s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 847s # Error: ** 847s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 847s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 847s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 847s 1..2 847s ok - glib/assert-msg-test.py.test 847s # Running test: glib/macros-c-90.test 847s TAP version 13 847s # random seed: R02Sb64c407597b4d3451ea46233792b56da 847s 1..4 847s # Start of C tests 847s ok 1 /C/standard-90 847s # End of C tests 847s # Start of alignof tests 847s ok 2 /alignof/fallback 847s # End of alignof tests 847s # Start of assert tests 847s ok 3 /assert/static 847s # End of assert tests 847s # Start of struct tests 847s ok 4 /struct/sizeof_member 847s # End of struct tests 847s ok - glib/macros-c-90.test 847s # Running test: glib/rwlock.test 847s TAP version 13 847s # random seed: R02S312022498f39048e6c9607d59e48f150 847s 1..8 847s # Start of thread tests 847s ok 1 /thread/rwlock1 847s ok 2 /thread/rwlock2 847s ok 3 /thread/rwlock3 847s ok 4 /thread/rwlock4 847s ok 5 /thread/rwlock5 847s ok 6 /thread/rwlock6 850s # Executing: glib/rwlock.test 851s ok 7 /thread/rwlock7 851s # slow test /thread/rwlock7 executed in 3.89 secs 851s ok 8 /thread/rwlock8 851s # End of thread tests 851s ok - glib/rwlock.test 851s # Running test: glib/markup-subparser.test 851s TAP version 13 851s # random seed: R02S58aabfbf191d5452b0fa84fa8ea98180 851s 1..14 851s # Start of glib tests 851s # Start of markup tests 851s # Start of subparser tests 851s # Start of success tests 851s ok 1 /glib/markup/subparser/success/0 851s ok 2 /glib/markup/subparser/success/1 851s ok 3 /glib/markup/subparser/success/2 851s ok 4 /glib/markup/subparser/success/3 851s ok 5 /glib/markup/subparser/success/4 851s ok 6 /glib/markup/subparser/success/5 851s ok 7 /glib/markup/subparser/success/6 851s # End of success tests 851s # Start of failure tests 851s ok 8 /glib/markup/subparser/failure/0 851s ok 9 /glib/markup/subparser/failure/1 851s ok 10 /glib/markup/subparser/failure/2 851s ok 11 /glib/markup/subparser/failure/3 851s ok 12 /glib/markup/subparser/failure/4 851s ok 13 /glib/markup/subparser/failure/5 851s ok 14 /glib/markup/subparser/failure/6 851s # End of failure tests 851s # End of subparser tests 851s # End of markup tests 851s # End of glib tests 852s ok - glib/markup-subparser.test 852s # Running test: glib/socket-service.test 852s TAP version 13 852s # random seed: R02S777e1330de83c6f210099b7a368c1450 852s 1..4 852s # Start of socket-service tests 852s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 852s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1628e30 and GSocketClientAsyncConnectData 0x16245d0 852s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 852s ok 1 /socket-service/start-stop 852s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x162a030 and GSocketClientAsyncConnectData 0x1629ea8 852s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 852s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 852s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x162a400 for GSocketClientAsyncConnectData 0x16245d0 852s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 852s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 852s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 852s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 852s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 852s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1629420 for GSocketClientAsyncConnectData 0x1629ea8 852s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 852s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 852s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 852s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 852s ok 2 /socket-service/read_write_async 852s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x162c430 and GSocketClientAsyncConnectData 0x162c3e8 852s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 852s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 852s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x162c4b0 for GSocketClientAsyncConnectData 0x162c3e8 852s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 852s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 852s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 852s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 852s ok 3 /socket-service/read_writev_async 852s # Start of threaded tests 852s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 852s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x162c218 and GSocketClientAsyncConnectData 0x162ae48 852s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 852s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 852s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x162d2f0 for GSocketClientAsyncConnectData 0x162ae48 852s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 852s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 852s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 852s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 852s ok 4 /socket-service/threaded/712570 852s # End of threaded tests 852s # End of socket-service tests 852s ok - glib/socket-service.test 852s # Running test: glib/gdbus-proxy-unique-name.test 852s TAP version 13 852s # random seed: R02S73f10054bd5316b739a170493e892b65 852s 1..1 852s # Start of gdbus tests 852s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_V8RVK2/gdbus/proxy-unique-name/.dirs/home 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_V8RVK2/gdbus/proxy-unique-name/.dirs/cache 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_V8RVK2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_V8RVK2/gdbus/proxy-unique-name/.dirs/system-config2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_V8RVK2/gdbus/proxy-unique-name/.dirs/config 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_V8RVK2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_V8RVK2/gdbus/proxy-unique-name/.dirs/system-data2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_V8RVK2/gdbus/proxy-unique-name/.dirs/data 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_V8RVK2/gdbus/proxy-unique-name/.dirs/state 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_V8RVK2/gdbus/proxy-unique-name/.dirs/runtime 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 852s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 852s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 852s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 852s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 852s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 852s ok 1 /gdbus/proxy-unique-name 852s # End of gdbus tests 852s ok - glib/gdbus-proxy-unique-name.test 852s # Running test: glib/contexts.test 852s TAP version 13 852s # random seed: R02S172542b670e414b19d7296cf492e825a 852s 1..5 852s # Start of gio tests 852s # Start of contexts tests 852s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 852s ok 1 /gio/contexts/thread-independence 852s ok 2 /gio/contexts/context-independence 852s # Start of context-specific tests 852s ok 3 /gio/contexts/context-specific/identity 852s ok 4 /gio/contexts/context-specific/emit 852s ok 5 /gio/contexts/context-specific/emit-and-unref 852s # End of context-specific tests 852s # End of contexts tests 852s # End of gio tests 852s ok - glib/contexts.test 852s # Running test: glib/utils-c-99.test 852s TAP version 13 852s # random seed: R02Sdc2bca5661f14af3ae847cb995398071 852s 1..40 852s # Start of utils tests 852s ok 1 /utils/language-names 852s ok 2 /utils/locale-variants 852s ok 3 /utils/version 852s ok 4 /utils/appname 852s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 852s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 852s ok 5 /utils/prgname-thread-safety 852s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 852s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 852s ok 6 /utils/tmpdir 852s ok 7 /utils/basic_bits 852s ok 8 /utils/bits 852s ok 9 /utils/swap 852s ok 10 /utils/find-program 852s ok 11 /utils/find-program-for-path 852s ok 12 /utils/debug 852s ok 13 /utils/codeset 852s ok 14 /utils/codeset2 852s ok 15 /utils/console-charset 852s ok 16 /utils/gettext 852s ok 17 /utils/username 852s ok 18 /utils/realname 852s ok 19 /utils/hostname 852s ok 20 /utils/xdgdirs 852s ok 21 /utils/specialdir 852s # NAME: Ubuntu 852s ok 22 /utils/os-info 852s ok 23 /utils/clear-pointer 852s ok 24 /utils/clear-pointer-cast 852s ok 25 /utils/take-pointer 852s ok 26 /utils/clear-source 852s ok 27 /utils/misc-mem 852s # /utils/aligned-mem summary: Aligned memory allocator 852s # Alignment must not be zero 852s # Alignment must be a power of two 852s # Alignment must be a multiple of sizeof(void*) 852s ok 28 /utils/aligned-mem 852s # /utils/free-sized summary: Check that g_free_sized() works 852s ok 29 /utils/free-sized 852s ok 30 /utils/nullify 852s ok 31 /utils/atexit 852s ok 32 /utils/check-setuid 852s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 852s ok 33 /utils/int-limits 852s ok 34 /utils/clear-list 852s ok 35 /utils/clear-slist 852s # Start of specialdir tests 852s ok 36 /utils/specialdir/desktop 852s # End of specialdir tests 852s # Start of clear-pointer tests 852s ok 37 /utils/clear-pointer/side-effects 852s # End of clear-pointer tests 852s # Start of aligned-mem tests 852s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 852s ok 38 /utils/aligned-mem/alignment 852s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 852s ok 39 /utils/aligned-mem/zeroed 852s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 852s ok 40 /utils/aligned-mem/free-sized 852s # Start of subprocess tests 852s # End of subprocess tests 852s # End of aligned-mem tests 852s # End of utils tests 852s ok - glib/utils-c-99.test 852s # Running test: glib/gdbus-proxy-threads.test 852s TAP version 13 852s # random seed: R02Sc0cc9155e7ed9e11900047546a9d53f0 852s 1..1 852s # Start of gdbus tests 852s # Start of proxy tests 852s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_W7LJK2/gdbus/proxy/vs-threads/.dirs/home 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_W7LJK2/gdbus/proxy/vs-threads/.dirs/cache 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_W7LJK2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_W7LJK2/gdbus/proxy/vs-threads/.dirs/system-config2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_W7LJK2/gdbus/proxy/vs-threads/.dirs/config 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_W7LJK2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_W7LJK2/gdbus/proxy/vs-threads/.dirs/system-data2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_W7LJK2/gdbus/proxy/vs-threads/.dirs/data 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_W7LJK2/gdbus/proxy/vs-threads/.dirs/state 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_W7LJK2/gdbus/proxy/vs-threads/.dirs/runtime 852s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 855s # Executing: glib/gdbus-proxy-threads.test 856s ok 1 /gdbus/proxy/vs-threads 856s # slow test /gdbus/proxy/vs-threads executed in 3.90 secs 856s # End of proxy tests 856s # End of gdbus tests 856s cleaning up pid 3646 856s ok - glib/gdbus-proxy-threads.test 856s # Running test: glib/autoptr-gio.test 856s TAP version 13 856s # random seed: R02S1ba045a673ac3a1d9183a5493ef0527d 856s 1..1 856s # Start of autoptr tests 856s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 856s ok 1 /autoptr/autoptr 856s # End of autoptr tests 856s ok - glib/autoptr-gio.test 856s # Running test: glib/types.test 856s TAP version 13 856s # random seed: R02S859b923c8fbe294e09d3708bc37d084d 856s 1..1 856s # Start of types tests 856s ok 1 /types/basic_types 856s # End of types tests 856s ok - glib/types.test 856s # Running test: glib/protocol.test 856s TAP version 13 856s # random seed: R02S97b377178e4ccdf24fedfd6dd9619393 856s 1..9 856s # Start of glib tests 856s # Start of testing tests 856s # Start of protocol tests 856s ok 1 /glib/testing/protocol/debug 856s ok 2 /glib/testing/protocol/info 856s ok 3 /glib/testing/protocol/message 856s ok 4 /glib/testing/protocol/warning 856s ok 5 /glib/testing/protocol/critical 856s ok 6 /glib/testing/protocol/error 856s ok 7 /glib/testing/protocol/gtest-message 856s ok 8 /glib/testing/protocol/test-message 856s ok 9 /glib/testing/protocol/test-error 856s # End of protocol tests 856s # End of testing tests 856s # End of glib tests 856s ok - glib/protocol.test 856s # Running test: glib/fdo-notification-backend.test 856s TAP version 13 856s # random seed: R02Scdf6b033fcc5663908156ed60c0cb53d 856s 1..2 856s # Start of fdo-notification-backend tests 856s # Test constructing a GFdoNotificationBackend 856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s ok 1 /fdo-notification-backend/construction 856s # Start of dbus tests 856s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s ok 2 /fdo-notification-backend/dbus/activate-action 856s # End of dbus tests 856s # End of fdo-notification-backend tests 856s ok - glib/fdo-notification-backend.test 856s # Running test: glib/array-test.test 856s TAP version 13 856s # random seed: R02S4a67dc2f6b35912fec31c9b122868ac2 856s 1..113 856s # Start of array tests 856s ok 1 /array/ref-count 856s ok 2 /array/steal 856s ok 3 /array/clear-func 856s ok 4 /array/binary-search 856s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 856s ok 5 /array/copy-sized 856s ok 6 /array/overflow-append-vals 856s ok 7 /array/overflow-set-size 856s # Start of new tests 856s ok 8 /array/new/zero-terminated 856s ok 9 /array/new/take 856s ok 10 /array/new/take-zero-terminated 856s # Start of take tests 856s ok 11 /array/new/take/empty 856s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 856s # End of take tests 856s # End of new tests 856s # Start of set-size tests 856s ok 13 /array/set-size/non-zero-terminated-no-clear 856s ok 14 /array/set-size/non-zero-terminated-clear 856s ok 15 /array/set-size/zero-terminated-no-clear 856s ok 16 /array/set-size/zero-terminated-clear 856s # Start of sized tests 856s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 856s ok 18 /array/set-size/sized/non-zero-terminated-clear 856s ok 19 /array/set-size/sized/zero-terminated-no-clear 856s ok 20 /array/set-size/sized/zero-terminated-clear 856s # End of sized tests 856s # End of set-size tests 856s # Start of append-val tests 856s ok 21 /array/append-val/non-zero-terminated-no-clear 856s ok 22 /array/append-val/non-zero-terminated-clear 856s ok 23 /array/append-val/zero-terminated-no-clear 856s ok 24 /array/append-val/zero-terminated-clear 856s # End of append-val tests 856s # Start of prepend-val tests 856s ok 25 /array/prepend-val/non-zero-terminated-no-clear 856s ok 26 /array/prepend-val/non-zero-terminated-clear 856s ok 27 /array/prepend-val/zero-terminated-no-clear 856s ok 28 /array/prepend-val/zero-terminated-clear 856s # End of prepend-val tests 856s # Start of prepend-vals tests 856s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 856s ok 30 /array/prepend-vals/non-zero-terminated-clear 856s ok 31 /array/prepend-vals/zero-terminated-no-clear 856s ok 32 /array/prepend-vals/zero-terminated-clear 856s # End of prepend-vals tests 856s # Start of insert-vals tests 856s ok 33 /array/insert-vals/non-zero-terminated-no-clear 856s ok 34 /array/insert-vals/non-zero-terminated-clear 856s ok 35 /array/insert-vals/zero-terminated-no-clear 856s ok 36 /array/insert-vals/zero-terminated-clear 856s # End of insert-vals tests 856s # Start of remove-index tests 856s ok 37 /array/remove-index/non-zero-terminated-no-clear 856s ok 38 /array/remove-index/non-zero-terminated-clear 856s ok 39 /array/remove-index/zero-terminated-no-clear 856s ok 40 /array/remove-index/zero-terminated-clear 856s # End of remove-index tests 856s # Start of remove-index-fast tests 856s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 856s ok 42 /array/remove-index-fast/non-zero-terminated-clear 856s ok 43 /array/remove-index-fast/zero-terminated-no-clear 856s ok 44 /array/remove-index-fast/zero-terminated-clear 856s # End of remove-index-fast tests 856s # Start of remove-range tests 856s ok 45 /array/remove-range/non-zero-terminated-no-clear 856s ok 46 /array/remove-range/non-zero-terminated-clear 856s ok 47 /array/remove-range/zero-terminated-no-clear 856s ok 48 /array/remove-range/zero-terminated-clear 856s # End of remove-range tests 856s # Start of copy tests 856s ok 49 /array/copy/non-zero-terminated-no-clear 856s ok 50 /array/copy/non-zero-terminated-clear 856s ok 51 /array/copy/zero-terminated-no-clear 856s ok 52 /array/copy/zero-terminated-clear 856s # End of copy tests 856s # Start of sort tests 856s ok 53 /array/sort/non-zero-terminated-no-clear 856s ok 54 /array/sort/non-zero-terminated-clear 856s ok 55 /array/sort/zero-terminated-no-clear 856s ok 56 /array/sort/zero-terminated-clear 856s # End of sort tests 856s # Start of sort-with-data tests 856s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 856s ok 58 /array/sort-with-data/non-zero-terminated-clear 856s ok 59 /array/sort-with-data/zero-terminated-no-clear 856s ok 60 /array/sort-with-data/zero-terminated-clear 856s # End of sort-with-data tests 856s # End of array tests 856s # Start of pointerarray tests 856s ok 61 /pointerarray/add 856s ok 62 /pointerarray/insert 856s ok 63 /pointerarray/new-take 856s ok 64 /pointerarray/new-take-null-terminated 856s ok 65 /pointerarray/new-from-array 856s ok 66 /pointerarray/new-from-null-terminated-array 856s ok 67 /pointerarray/free-func 856s ok 68 /pointerarray/array_extend_and_steal 856s ok 69 /pointerarray/sort 856s ok 70 /pointerarray/sort-with-data 856s ok 71 /pointerarray/sort-values 856s ok 72 /pointerarray/sort-values-with-data 856s ok 73 /pointerarray/remove-range 856s ok 74 /pointerarray/steal 856s # Start of free tests 856s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 856s ok 75 /pointerarray/free/null-terminated 856s # End of free tests 856s # Start of new-take tests 856s ok 76 /pointerarray/new-take/empty 856s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 856s ok 78 /pointerarray/new-take/with-free-func 856s # End of new-take tests 856s # Start of new-take-null-terminated tests 856s ok 79 /pointerarray/new-take-null-terminated/empty 856s ok 80 /pointerarray/new-take-null-terminated/with-free-func 856s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 856s # End of new-take-null-terminated tests 856s # Start of new-from-array tests 856s ok 82 /pointerarray/new-from-array/empty 856s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 856s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 856s # End of new-from-array tests 856s # Start of new-from-null-terminated-array tests 856s ok 85 /pointerarray/new-from-null-terminated-array/empty 856s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 856s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 856s # End of new-from-null-terminated-array tests 856s # Start of ref-count tests 856s ok 88 /pointerarray/ref-count/not-null-terminated 856s ok 89 /pointerarray/ref-count/null-terminated 856s # End of ref-count tests 856s # Start of array_copy tests 856s # /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 856s ok 90 /pointerarray/array_copy/not-null-terminated 856s # /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 856s ok 91 /pointerarray/array_copy/null-terminated 856s # End of array_copy tests 856s # Start of array_extend tests 856s ok 92 /pointerarray/array_extend/not-null-terminated 856s ok 93 /pointerarray/array_extend/null-terminated 856s # End of array_extend tests 856s # Start of sort tests 856s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 856s ok 94 /pointerarray/sort/example 856s # End of sort tests 856s # Start of sort-with-data tests 856s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 856s ok 95 /pointerarray/sort-with-data/example 856s # End of sort-with-data tests 856s # Start of sort-values tests 856s ok 96 /pointerarray/sort-values/example 856s # End of sort-values tests 856s # Start of sort-values-with-data tests 856s ok 97 /pointerarray/sort-values-with-data/example 856s # End of sort-values-with-data tests 856s # Start of find tests 856s ok 98 /pointerarray/find/empty 856s ok 99 /pointerarray/find/non-empty 856s # End of find tests 856s # Start of steal_index tests 856s ok 100 /pointerarray/steal_index/not-null-terminated 856s ok 101 /pointerarray/steal_index/null-terminated 856s # End of steal_index tests 856s # End of pointerarray tests 856s # Start of bytearray tests 856s ok 102 /bytearray/steal 856s ok 103 /bytearray/append 856s ok 104 /bytearray/prepend 856s ok 105 /bytearray/remove 856s ok 106 /bytearray/remove-fast 856s ok 107 /bytearray/remove-range 856s ok 108 /bytearray/ref-count 856s ok 109 /bytearray/sort 856s ok 110 /bytearray/sort-with-data 856s ok 111 /bytearray/new-take 856s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 856s ok 113 /bytearray/free-to-bytes 856s # End of bytearray tests 856s ok - glib/array-test.test 856s # Running test: glib/socket.test 856s TAP version 13 856s # random seed: R02S390221ab6b3d573bb217a1afb94ecdb5 856s 1..28 856s # Start of socket tests 857s ok 1 /socket/ipv4_sync 857s # slow test /socket/ipv4_sync executed in 1.00 secs 858s ok 2 /socket/ipv4_async 858s # slow test /socket/ipv4_async executed in 1.00 secs 858s ok 3 /socket/ipv6_sync 858s ok 4 /socket/ipv6_async 858s ok 5 /socket/ipv6_v4mapped 859s ok 6 /socket/close_graceful 859s # slow test /socket/close_graceful executed in 1.00 secs 859s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 859s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 859s ok 8 /socket/fd_reuse 859s ok 9 /socket/address 859s ok 10 /socket/unix-from-fd 859s ok 11 /socket/unix-connection 859s ok 12 /socket/unix-connection-ancillary-data 859s ok 13 /socket/source-postmortem 859s ok 14 /socket/read_write 859s ok 15 /socket/read_writev 859s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 859s ok 16 /socket/receive_bytes 859s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 859s ok 17 /socket/receive_bytes_from 859s # Start of ipv4_sync tests 859s ok 18 /socket/ipv4_sync/datagram 859s # Start of datagram tests 860s # Executing: glib/socket.test 860s ok 19 /socket/ipv4_sync/datagram/timeouts 860s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 860s # End of datagram tests 860s # End of ipv4_sync tests 860s # Start of ipv6_sync tests 860s ok 20 /socket/ipv6_sync/datagram 860s # Start of datagram tests 861s ok 21 /socket/ipv6_sync/datagram/timeouts 861s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 861s # End of datagram tests 861s # End of ipv6_sync tests 861s # Start of reuse tests 861s ok 22 /socket/reuse/tcp 861s ok 23 /socket/reuse/udp 861s # End of reuse tests 861s # Start of get_available tests 862s ok 24 /socket/get_available/datagram 862s ok 25 /socket/get_available/stream 862s # End of get_available tests 862s # Start of credentials tests 862s # Supported on this OS: GCredentials:linux-ucred:pid=0 862s ok 26 /socket/credentials/tcp_client 862s # Supported on this OS: GCredentials:linux-ucred:pid=0 862s ok 27 /socket/credentials/tcp_server 862s # Supported on this OS: GCredentials:linux-ucred:pid=3677,uid=1000,gid=1000 862s ok 28 /socket/credentials/unix_socketpair 862s # End of credentials tests 862s # End of socket tests 862s ok - glib/socket.test 862s # Running test: glib/gobject-private.test 862s TAP version 13 862s # random seed: R02Sf46fd9cfa74dd791b3abb825fb73ff4d 862s 1..3 862s # Start of private tests 862s ok 1 /private/instance 862s ok 2 /private/derived-instance 862s ok 3 /private/mixed-derived-instance 862s # End of private tests 862s ok - glib/gobject-private.test 862s # Running test: glib/overflow.test 862s TAP version 13 862s # random seed: R02S759c3fed31dee3ce67387dbc97530ae9 862s 1..6 862s # Start of glib tests 862s # Start of checked-math tests 862s ok 1 /glib/checked-math/guint-add 862s ok 2 /glib/checked-math/guint-mul 862s ok 3 /glib/checked-math/guint64-add 862s ok 4 /glib/checked-math/guint64-mul 862s ok 5 /glib/checked-math/gsize-add 862s ok 6 /glib/checked-math/gsize-mul 862s # End of checked-math tests 862s # End of glib tests 862s ok - glib/overflow.test 862s # Running test: glib/gdbus-message.test 862s TAP version 13 862s # random seed: R02S32c8fcb98cc6026451777f1e9d7aef30 862s 1..3 862s # Start of gdbus tests 862s # Start of message tests 862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_NN6RK2/gdbus/message/lock/.dirs/home 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_NN6RK2/gdbus/message/lock/.dirs/cache 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_NN6RK2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_NN6RK2/gdbus/message/lock/.dirs/system-config2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_NN6RK2/gdbus/message/lock/.dirs/config 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_NN6RK2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_NN6RK2/gdbus/message/lock/.dirs/system-data2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_NN6RK2/gdbus/message/lock/.dirs/data 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_NN6RK2/gdbus/message/lock/.dirs/state 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_NN6RK2/gdbus/message/lock/.dirs/runtime 862s ok 1 /gdbus/message/lock 862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_NN6RK2/gdbus/message/copy/.dirs/home 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_NN6RK2/gdbus/message/copy/.dirs/cache 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_NN6RK2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_NN6RK2/gdbus/message/copy/.dirs/system-config2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_NN6RK2/gdbus/message/copy/.dirs/config 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_NN6RK2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_NN6RK2/gdbus/message/copy/.dirs/system-data2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_NN6RK2/gdbus/message/copy/.dirs/data 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_NN6RK2/gdbus/message/copy/.dirs/state 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_NN6RK2/gdbus/message/copy/.dirs/runtime 862s ok 2 /gdbus/message/copy 862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_NN6RK2/gdbus/message/bytes-needed/.dirs/home 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_NN6RK2/gdbus/message/bytes-needed/.dirs/cache 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_NN6RK2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_NN6RK2/gdbus/message/bytes-needed/.dirs/system-config2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_NN6RK2/gdbus/message/bytes-needed/.dirs/config 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_NN6RK2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_NN6RK2/gdbus/message/bytes-needed/.dirs/system-data2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_NN6RK2/gdbus/message/bytes-needed/.dirs/data 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_NN6RK2/gdbus/message/bytes-needed/.dirs/state 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_NN6RK2/gdbus/message/bytes-needed/.dirs/runtime 862s # Vector: 0 862s # Vector: 1 862s # Vector: 2 862s # Vector: 3 862s # Vector: 4 862s # Vector: 5 862s ok 3 /gdbus/message/bytes-needed 862s # End of message tests 862s # End of gdbus tests 862s ok - glib/gdbus-message.test 862s # Running test: glib/inet-address.test 862s TAP version 13 862s # random seed: R02S9bccdcd4a54655e8f054af711ebeda57 862s 1..11 862s # Start of inet-address tests 862s ok 1 /inet-address/parse 862s ok 2 /inet-address/any 862s ok 3 /inet-address/loopback 862s ok 4 /inet-address/bytes 862s ok 5 /inet-address/property 862s # End of inet-address tests 862s # Start of socket-address tests 862s ok 6 /socket-address/basic 862s ok 7 /socket-address/to-string 862s # End of socket-address tests 862s # Start of address-mask tests 862s ok 8 /address-mask/parse 862s ok 9 /address-mask/property 862s ok 10 /address-mask/equal 862s ok 11 /address-mask/match 862s # End of address-mask tests 862s ok - glib/inet-address.test 862s # Running test: glib/mount-operation.test 862s TAP version 13 862s # random seed: R02S46280d23f3de49fe1d27ee0d77c4e293 862s 1..2 862s # Start of mount-operation tests 862s ok 1 /mount-operation/construction 862s ok 2 /mount-operation/properties 862s # End of mount-operation tests 862s ok - glib/mount-operation.test 862s # Running test: glib/vfs.test 862s TAP version 13 862s # random seed: R02S3c33901dcfd1c0fe12f489830e4c2adc 862s 1..3 862s # Start of gvfs tests 862s ok 1 /gvfs/local 862s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 862s ok 2 /gvfs/register-scheme 862s # Start of resource tests 862s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 862s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 862s ok 3 /gvfs/resource/malformed-escaping 862s # End of resource tests 862s # End of gvfs tests 862s ok - glib/vfs.test 862s # Running test: glib/checksum.test 862s TAP version 13 862s # random seed: R02Sa6c74fad8931453aa021c4f30d1c8441 862s 1..1851 862s # Start of checksum tests 862s ok 1 /checksum/unsupported 862s # Start of MD5 tests 862s ok 2 /checksum/MD5/0 862s ok 3 /checksum/MD5/1 862s ok 4 /checksum/MD5/2 862s ok 5 /checksum/MD5/3 862s ok 6 /checksum/MD5/4 862s ok 7 /checksum/MD5/5 862s ok 8 /checksum/MD5/6 862s ok 9 /checksum/MD5/7 862s ok 10 /checksum/MD5/8 862s ok 11 /checksum/MD5/9 862s ok 12 /checksum/MD5/10 862s ok 13 /checksum/MD5/11 862s ok 14 /checksum/MD5/12 862s ok 15 /checksum/MD5/13 862s ok 16 /checksum/MD5/14 862s ok 17 /checksum/MD5/15 862s ok 18 /checksum/MD5/16 862s ok 19 /checksum/MD5/17 862s ok 20 /checksum/MD5/18 862s ok 21 /checksum/MD5/19 862s ok 22 /checksum/MD5/20 862s ok 23 /checksum/MD5/21 862s ok 24 /checksum/MD5/22 862s ok 25 /checksum/MD5/23 862s ok 26 /checksum/MD5/24 862s ok 27 /checksum/MD5/25 862s ok 28 /checksum/MD5/26 862s ok 29 /checksum/MD5/27 862s ok 30 /checksum/MD5/28 862s ok 31 /checksum/MD5/29 862s ok 32 /checksum/MD5/30 862s ok 33 /checksum/MD5/31 862s ok 34 /checksum/MD5/32 862s ok 35 /checksum/MD5/33 862s ok 36 /checksum/MD5/34 862s ok 37 /checksum/MD5/35 862s ok 38 /checksum/MD5/36 862s ok 39 /checksum/MD5/37 862s ok 40 /checksum/MD5/38 862s ok 41 /checksum/MD5/39 862s ok 42 /checksum/MD5/40 862s ok 43 /checksum/MD5/41 862s ok 44 /checksum/MD5/42 862s ok 45 /checksum/MD5/43 862s ok 46 /checksum/MD5/44 862s ok 47 /checksum/MD5/45 862s ok 48 /checksum/MD5/46 862s ok 49 /checksum/MD5/47 862s ok 50 /checksum/MD5/48 862s ok 51 /checksum/MD5/49 862s ok 52 /checksum/MD5/50 862s ok 53 /checksum/MD5/51 862s ok 54 /checksum/MD5/52 862s ok 55 /checksum/MD5/53 862s ok 56 /checksum/MD5/54 862s ok 57 /checksum/MD5/55 862s ok 58 /checksum/MD5/56 862s ok 59 /checksum/MD5/57 862s ok 60 /checksum/MD5/58 862s ok 61 /checksum/MD5/59 862s ok 62 /checksum/MD5/60 862s ok 63 /checksum/MD5/61 862s ok 64 /checksum/MD5/62 862s ok 65 /checksum/MD5/63 862s ok 66 /checksum/MD5/64 862s ok 67 /checksum/MD5/65 862s ok 68 /checksum/MD5/66 862s ok 69 /checksum/MD5/67 862s ok 70 /checksum/MD5/68 862s ok 71 /checksum/MD5/69 862s ok 72 /checksum/MD5/70 862s ok 73 /checksum/MD5/71 862s ok 74 /checksum/MD5/72 862s ok 75 /checksum/MD5/73 862s ok 76 /checksum/MD5/74 862s ok 77 /checksum/MD5/75 862s ok 78 /checksum/MD5/76 862s ok 79 /checksum/MD5/77 862s ok 80 /checksum/MD5/78 862s ok 81 /checksum/MD5/79 862s ok 82 /checksum/MD5/80 862s ok 83 /checksum/MD5/81 862s ok 84 /checksum/MD5/82 862s ok 85 /checksum/MD5/83 862s ok 86 /checksum/MD5/84 862s ok 87 /checksum/MD5/85 862s ok 88 /checksum/MD5/86 862s ok 89 /checksum/MD5/87 862s ok 90 /checksum/MD5/88 862s ok 91 /checksum/MD5/89 862s ok 92 /checksum/MD5/90 862s ok 93 /checksum/MD5/91 862s ok 94 /checksum/MD5/92 862s ok 95 /checksum/MD5/93 862s ok 96 /checksum/MD5/94 862s ok 97 /checksum/MD5/95 862s ok 98 /checksum/MD5/96 862s ok 99 /checksum/MD5/97 862s ok 100 /checksum/MD5/98 862s ok 101 /checksum/MD5/99 862s ok 102 /checksum/MD5/100 862s ok 103 /checksum/MD5/101 862s ok 104 /checksum/MD5/102 862s ok 105 /checksum/MD5/103 862s ok 106 /checksum/MD5/104 862s ok 107 /checksum/MD5/105 862s ok 108 /checksum/MD5/106 862s ok 109 /checksum/MD5/107 862s ok 110 /checksum/MD5/108 862s ok 111 /checksum/MD5/109 862s ok 112 /checksum/MD5/110 862s ok 113 /checksum/MD5/111 862s ok 114 /checksum/MD5/112 862s ok 115 /checksum/MD5/113 862s ok 116 /checksum/MD5/114 862s ok 117 /checksum/MD5/115 862s ok 118 /checksum/MD5/116 862s ok 119 /checksum/MD5/117 862s ok 120 /checksum/MD5/118 862s ok 121 /checksum/MD5/119 862s ok 122 /checksum/MD5/120 862s ok 123 /checksum/MD5/121 862s ok 124 /checksum/MD5/122 862s ok 125 /checksum/MD5/123 862s ok 126 /checksum/MD5/124 862s ok 127 /checksum/MD5/125 862s ok 128 /checksum/MD5/126 862s ok 129 /checksum/MD5/127 862s ok 130 /checksum/MD5/128 862s ok 131 /checksum/MD5/129 862s ok 132 /checksum/MD5/130 862s ok 133 /checksum/MD5/131 862s ok 134 /checksum/MD5/132 862s ok 135 /checksum/MD5/133 862s ok 136 /checksum/MD5/134 862s ok 137 /checksum/MD5/135 862s ok 138 /checksum/MD5/136 862s ok 139 /checksum/MD5/137 862s ok 140 /checksum/MD5/138 862s ok 141 /checksum/MD5/139 862s ok 142 /checksum/MD5/140 862s ok 143 /checksum/MD5/141 862s ok 144 /checksum/MD5/142 862s ok 145 /checksum/MD5/143 862s ok 146 /checksum/MD5/144 862s ok 147 /checksum/MD5/145 862s ok 148 /checksum/MD5/146 862s ok 149 /checksum/MD5/147 862s ok 150 /checksum/MD5/148 862s ok 151 /checksum/MD5/149 862s ok 152 /checksum/MD5/150 862s ok 153 /checksum/MD5/151 862s ok 154 /checksum/MD5/152 862s ok 155 /checksum/MD5/153 862s ok 156 /checksum/MD5/154 862s ok 157 /checksum/MD5/155 862s ok 158 /checksum/MD5/156 862s ok 159 /checksum/MD5/157 862s ok 160 /checksum/MD5/158 862s ok 161 /checksum/MD5/159 862s ok 162 /checksum/MD5/160 862s ok 163 /checksum/MD5/161 862s ok 164 /checksum/MD5/162 862s ok 165 /checksum/MD5/163 862s ok 166 /checksum/MD5/164 862s ok 167 /checksum/MD5/165 862s ok 168 /checksum/MD5/166 862s ok 169 /checksum/MD5/167 862s ok 170 /checksum/MD5/168 862s ok 171 /checksum/MD5/169 862s ok 172 /checksum/MD5/170 862s ok 173 /checksum/MD5/171 862s ok 174 /checksum/MD5/172 862s ok 175 /checksum/MD5/173 862s ok 176 /checksum/MD5/174 862s ok 177 /checksum/MD5/175 862s ok 178 /checksum/MD5/176 862s ok 179 /checksum/MD5/177 862s ok 180 /checksum/MD5/178 862s ok 181 /checksum/MD5/179 862s ok 182 /checksum/MD5/180 862s ok 183 /checksum/MD5/181 862s ok 184 /checksum/MD5/182 862s ok 185 /checksum/MD5/183 862s ok 186 /checksum/MD5/string 862s ok 187 /checksum/MD5/bytes 862s # Start of reset tests 862s ok 188 /checksum/MD5/reset/0 862s ok 189 /checksum/MD5/reset/1 862s ok 190 /checksum/MD5/reset/2 862s ok 191 /checksum/MD5/reset/3 862s ok 192 /checksum/MD5/reset/4 862s ok 193 /checksum/MD5/reset/5 862s ok 194 /checksum/MD5/reset/6 862s ok 195 /checksum/MD5/reset/7 862s ok 196 /checksum/MD5/reset/8 862s ok 197 /checksum/MD5/reset/9 862s ok 198 /checksum/MD5/reset/10 862s ok 199 /checksum/MD5/reset/11 862s ok 200 /checksum/MD5/reset/12 862s ok 201 /checksum/MD5/reset/13 862s ok 202 /checksum/MD5/reset/14 862s ok 203 /checksum/MD5/reset/15 862s ok 204 /checksum/MD5/reset/16 862s ok 205 /checksum/MD5/reset/17 862s ok 206 /checksum/MD5/reset/18 862s ok 207 /checksum/MD5/reset/19 862s ok 208 /checksum/MD5/reset/20 862s ok 209 /checksum/MD5/reset/21 862s ok 210 /checksum/MD5/reset/22 862s ok 211 /checksum/MD5/reset/23 862s ok 212 /checksum/MD5/reset/24 862s ok 213 /checksum/MD5/reset/25 862s ok 214 /checksum/MD5/reset/26 862s ok 215 /checksum/MD5/reset/27 862s ok 216 /checksum/MD5/reset/28 862s ok 217 /checksum/MD5/reset/29 862s ok 218 /checksum/MD5/reset/30 862s ok 219 /checksum/MD5/reset/31 862s ok 220 /checksum/MD5/reset/32 862s ok 221 /checksum/MD5/reset/33 862s ok 222 /checksum/MD5/reset/34 862s ok 223 /checksum/MD5/reset/35 862s ok 224 /checksum/MD5/reset/36 862s ok 225 /checksum/MD5/reset/37 862s ok 226 /checksum/MD5/reset/38 862s ok 227 /checksum/MD5/reset/39 862s ok 228 /checksum/MD5/reset/40 862s ok 229 /checksum/MD5/reset/41 862s ok 230 /checksum/MD5/reset/42 862s ok 231 /checksum/MD5/reset/43 862s ok 232 /checksum/MD5/reset/44 862s ok 233 /checksum/MD5/reset/45 862s ok 234 /checksum/MD5/reset/46 862s ok 235 /checksum/MD5/reset/47 862s ok 236 /checksum/MD5/reset/48 862s ok 237 /checksum/MD5/reset/49 862s ok 238 /checksum/MD5/reset/50 862s ok 239 /checksum/MD5/reset/51 862s ok 240 /checksum/MD5/reset/52 862s ok 241 /checksum/MD5/reset/53 862s ok 242 /checksum/MD5/reset/54 862s ok 243 /checksum/MD5/reset/55 862s ok 244 /checksum/MD5/reset/56 862s ok 245 /checksum/MD5/reset/57 862s ok 246 /checksum/MD5/reset/58 862s ok 247 /checksum/MD5/reset/59 862s ok 248 /checksum/MD5/reset/60 862s ok 249 /checksum/MD5/reset/61 862s ok 250 /checksum/MD5/reset/62 862s ok 251 /checksum/MD5/reset/63 862s ok 252 /checksum/MD5/reset/64 862s ok 253 /checksum/MD5/reset/65 862s ok 254 /checksum/MD5/reset/66 862s ok 255 /checksum/MD5/reset/67 862s ok 256 /checksum/MD5/reset/68 862s ok 257 /checksum/MD5/reset/69 862s ok 258 /checksum/MD5/reset/70 862s ok 259 /checksum/MD5/reset/71 862s ok 260 /checksum/MD5/reset/72 862s ok 261 /checksum/MD5/reset/73 862s ok 262 /checksum/MD5/reset/74 862s ok 263 /checksum/MD5/reset/75 862s ok 264 /checksum/MD5/reset/76 862s ok 265 /checksum/MD5/reset/77 862s ok 266 /checksum/MD5/reset/78 862s ok 267 /checksum/MD5/reset/79 862s ok 268 /checksum/MD5/reset/80 862s ok 269 /checksum/MD5/reset/81 862s ok 270 /checksum/MD5/reset/82 862s ok 271 /checksum/MD5/reset/83 862s ok 272 /checksum/MD5/reset/84 862s ok 273 /checksum/MD5/reset/85 862s ok 274 /checksum/MD5/reset/86 862s ok 275 /checksum/MD5/reset/87 862s ok 276 /checksum/MD5/reset/88 862s ok 277 /checksum/MD5/reset/89 862s ok 278 /checksum/MD5/reset/90 862s ok 279 /checksum/MD5/reset/91 862s ok 280 /checksum/MD5/reset/92 862s ok 281 /checksum/MD5/reset/93 862s ok 282 /checksum/MD5/reset/94 862s ok 283 /checksum/MD5/reset/95 862s ok 284 /checksum/MD5/reset/96 862s ok 285 /checksum/MD5/reset/97 862s ok 286 /checksum/MD5/reset/98 862s ok 287 /checksum/MD5/reset/99 862s ok 288 /checksum/MD5/reset/100 862s ok 289 /checksum/MD5/reset/101 862s ok 290 /checksum/MD5/reset/102 862s ok 291 /checksum/MD5/reset/103 862s ok 292 /checksum/MD5/reset/104 862s ok 293 /checksum/MD5/reset/105 862s ok 294 /checksum/MD5/reset/106 862s ok 295 /checksum/MD5/reset/107 862s ok 296 /checksum/MD5/reset/108 862s ok 297 /checksum/MD5/reset/109 862s ok 298 /checksum/MD5/reset/110 862s ok 299 /checksum/MD5/reset/111 862s ok 300 /checksum/MD5/reset/112 862s ok 301 /checksum/MD5/reset/113 862s ok 302 /checksum/MD5/reset/114 862s ok 303 /checksum/MD5/reset/115 862s ok 304 /checksum/MD5/reset/116 862s ok 305 /checksum/MD5/reset/117 862s ok 306 /checksum/MD5/reset/118 862s ok 307 /checksum/MD5/reset/119 862s ok 308 /checksum/MD5/reset/120 862s ok 309 /checksum/MD5/reset/121 862s ok 310 /checksum/MD5/reset/122 862s ok 311 /checksum/MD5/reset/123 862s ok 312 /checksum/MD5/reset/124 862s ok 313 /checksum/MD5/reset/125 862s ok 314 /checksum/MD5/reset/126 862s ok 315 /checksum/MD5/reset/127 862s ok 316 /checksum/MD5/reset/128 862s ok 317 /checksum/MD5/reset/129 862s ok 318 /checksum/MD5/reset/130 862s ok 319 /checksum/MD5/reset/131 862s ok 320 /checksum/MD5/reset/132 862s ok 321 /checksum/MD5/reset/133 862s ok 322 /checksum/MD5/reset/134 862s ok 323 /checksum/MD5/reset/135 862s ok 324 /checksum/MD5/reset/136 862s ok 325 /checksum/MD5/reset/137 862s ok 326 /checksum/MD5/reset/138 862s ok 327 /checksum/MD5/reset/139 862s ok 328 /checksum/MD5/reset/140 862s ok 329 /checksum/MD5/reset/141 862s ok 330 /checksum/MD5/reset/142 862s ok 331 /checksum/MD5/reset/143 862s ok 332 /checksum/MD5/reset/144 862s ok 333 /checksum/MD5/reset/145 862s ok 334 /checksum/MD5/reset/146 862s ok 335 /checksum/MD5/reset/147 862s ok 336 /checksum/MD5/reset/148 862s ok 337 /checksum/MD5/reset/149 862s ok 338 /checksum/MD5/reset/150 862s ok 339 /checksum/MD5/reset/151 862s ok 340 /checksum/MD5/reset/152 862s ok 341 /checksum/MD5/reset/153 862s ok 342 /checksum/MD5/reset/154 862s ok 343 /checksum/MD5/reset/155 862s ok 344 /checksum/MD5/reset/156 862s ok 345 /checksum/MD5/reset/157 862s ok 346 /checksum/MD5/reset/158 862s ok 347 /checksum/MD5/reset/159 862s ok 348 /checksum/MD5/reset/160 862s ok 349 /checksum/MD5/reset/161 862s ok 350 /checksum/MD5/reset/162 862s ok 351 /checksum/MD5/reset/163 862s ok 352 /checksum/MD5/reset/164 862s ok 353 /checksum/MD5/reset/165 862s ok 354 /checksum/MD5/reset/166 862s ok 355 /checksum/MD5/reset/167 862s ok 356 /checksum/MD5/reset/168 862s ok 357 /checksum/MD5/reset/169 862s ok 358 /checksum/MD5/reset/170 862s ok 359 /checksum/MD5/reset/171 862s ok 360 /checksum/MD5/reset/172 862s ok 361 /checksum/MD5/reset/173 862s ok 362 /checksum/MD5/reset/174 862s ok 363 /checksum/MD5/reset/175 862s ok 364 /checksum/MD5/reset/176 862s ok 365 /checksum/MD5/reset/177 862s ok 366 /checksum/MD5/reset/178 862s ok 367 /checksum/MD5/reset/179 862s ok 368 /checksum/MD5/reset/180 862s ok 369 /checksum/MD5/reset/181 862s ok 370 /checksum/MD5/reset/182 862s ok 371 /checksum/MD5/reset/183 862s # End of reset tests 862s # End of MD5 tests 862s # Start of SHA1 tests 862s ok 372 /checksum/SHA1/0 862s ok 373 /checksum/SHA1/1 862s ok 374 /checksum/SHA1/2 862s ok 375 /checksum/SHA1/3 862s ok 376 /checksum/SHA1/4 862s ok 377 /checksum/SHA1/5 862s ok 378 /checksum/SHA1/6 862s ok 379 /checksum/SHA1/7 862s ok 380 /checksum/SHA1/8 862s ok 381 /checksum/SHA1/9 862s ok 382 /checksum/SHA1/10 862s ok 383 /checksum/SHA1/11 862s ok 384 /checksum/SHA1/12 862s ok 385 /checksum/SHA1/13 862s ok 386 /checksum/SHA1/14 862s ok 387 /checksum/SHA1/15 862s ok 388 /checksum/SHA1/16 862s ok 389 /checksum/SHA1/17 862s ok 390 /checksum/SHA1/18 862s ok 391 /checksum/SHA1/19 862s ok 392 /checksum/SHA1/20 862s ok 393 /checksum/SHA1/21 862s ok 394 /checksum/SHA1/22 862s ok 395 /checksum/SHA1/23 862s ok 396 /checksum/SHA1/24 862s ok 397 /checksum/SHA1/25 862s ok 398 /checksum/SHA1/26 862s ok 399 /checksum/SHA1/27 862s ok 400 /checksum/SHA1/28 862s ok 401 /checksum/SHA1/29 862s ok 402 /checksum/SHA1/30 862s ok 403 /checksum/SHA1/31 862s ok 404 /checksum/SHA1/32 862s ok 405 /checksum/SHA1/33 862s ok 406 /checksum/SHA1/34 862s ok 407 /checksum/SHA1/35 862s ok 408 /checksum/SHA1/36 862s ok 409 /checksum/SHA1/37 862s ok 410 /checksum/SHA1/38 862s ok 411 /checksum/SHA1/39 862s ok 412 /checksum/SHA1/40 862s ok 413 /checksum/SHA1/41 862s ok 414 /checksum/SHA1/42 862s ok 415 /checksum/SHA1/43 862s ok 416 /checksum/SHA1/44 862s ok 417 /checksum/SHA1/45 862s ok 418 /checksum/SHA1/46 862s ok 419 /checksum/SHA1/47 862s ok 420 /checksum/SHA1/48 862s ok 421 /checksum/SHA1/49 862s ok 422 /checksum/SHA1/50 862s ok 423 /checksum/SHA1/51 862s ok 424 /checksum/SHA1/52 862s ok 425 /checksum/SHA1/53 862s ok 426 /checksum/SHA1/54 862s ok 427 /checksum/SHA1/55 862s ok 428 /checksum/SHA1/56 862s ok 429 /checksum/SHA1/57 862s ok 430 /checksum/SHA1/58 862s ok 431 /checksum/SHA1/59 862s ok 432 /checksum/SHA1/60 862s ok 433 /checksum/SHA1/61 862s ok 434 /checksum/SHA1/62 862s ok 435 /checksum/SHA1/63 862s ok 436 /checksum/SHA1/64 862s ok 437 /checksum/SHA1/65 862s ok 438 /checksum/SHA1/66 862s ok 439 /checksum/SHA1/67 862s ok 440 /checksum/SHA1/68 862s ok 441 /checksum/SHA1/69 862s ok 442 /checksum/SHA1/70 862s ok 443 /checksum/SHA1/71 862s ok 444 /checksum/SHA1/72 862s ok 445 /checksum/SHA1/73 862s ok 446 /checksum/SHA1/74 862s ok 447 /checksum/SHA1/75 862s ok 448 /checksum/SHA1/76 862s ok 449 /checksum/SHA1/77 862s ok 450 /checksum/SHA1/78 862s ok 451 /checksum/SHA1/79 862s ok 452 /checksum/SHA1/80 862s ok 453 /checksum/SHA1/81 862s ok 454 /checksum/SHA1/82 862s ok 455 /checksum/SHA1/83 862s ok 456 /checksum/SHA1/84 862s ok 457 /checksum/SHA1/85 862s ok 458 /checksum/SHA1/86 862s ok 459 /checksum/SHA1/87 862s ok 460 /checksum/SHA1/88 862s ok 461 /checksum/SHA1/89 862s ok 462 /checksum/SHA1/90 862s ok 463 /checksum/SHA1/91 862s ok 464 /checksum/SHA1/92 862s ok 465 /checksum/SHA1/93 862s ok 466 /checksum/SHA1/94 862s ok 467 /checksum/SHA1/95 862s ok 468 /checksum/SHA1/96 862s ok 469 /checksum/SHA1/97 862s ok 470 /checksum/SHA1/98 862s ok 471 /checksum/SHA1/99 862s ok 472 /checksum/SHA1/100 862s ok 473 /checksum/SHA1/101 862s ok 474 /checksum/SHA1/102 862s ok 475 /checksum/SHA1/103 862s ok 476 /checksum/SHA1/104 862s ok 477 /checksum/SHA1/105 862s ok 478 /checksum/SHA1/106 862s ok 479 /checksum/SHA1/107 862s ok 480 /checksum/SHA1/108 862s ok 481 /checksum/SHA1/109 862s ok 482 /checksum/SHA1/110 862s ok 483 /checksum/SHA1/111 862s ok 484 /checksum/SHA1/112 862s ok 485 /checksum/SHA1/113 862s ok 486 /checksum/SHA1/114 862s ok 487 /checksum/SHA1/115 862s ok 488 /checksum/SHA1/116 862s ok 489 /checksum/SHA1/117 862s ok 490 /checksum/SHA1/118 862s ok 491 /checksum/SHA1/119 862s ok 492 /checksum/SHA1/120 862s ok 493 /checksum/SHA1/121 862s ok 494 /checksum/SHA1/122 862s ok 495 /checksum/SHA1/123 862s ok 496 /checksum/SHA1/124 862s ok 497 /checksum/SHA1/125 862s ok 498 /checksum/SHA1/126 862s ok 499 /checksum/SHA1/127 862s ok 500 /checksum/SHA1/128 862s ok 501 /checksum/SHA1/129 862s ok 502 /checksum/SHA1/130 862s ok 503 /checksum/SHA1/131 862s ok 504 /checksum/SHA1/132 862s ok 505 /checksum/SHA1/133 862s ok 506 /checksum/SHA1/134 862s ok 507 /checksum/SHA1/135 862s ok 508 /checksum/SHA1/136 862s ok 509 /checksum/SHA1/137 862s ok 510 /checksum/SHA1/138 862s ok 511 /checksum/SHA1/139 862s ok 512 /checksum/SHA1/140 862s ok 513 /checksum/SHA1/141 862s ok 514 /checksum/SHA1/142 862s ok 515 /checksum/SHA1/143 862s ok 516 /checksum/SHA1/144 862s ok 517 /checksum/SHA1/145 862s ok 518 /checksum/SHA1/146 862s ok 519 /checksum/SHA1/147 862s ok 520 /checksum/SHA1/148 862s ok 521 /checksum/SHA1/149 862s ok 522 /checksum/SHA1/150 862s ok 523 /checksum/SHA1/151 862s ok 524 /checksum/SHA1/152 862s ok 525 /checksum/SHA1/153 862s ok 526 /checksum/SHA1/154 862s ok 527 /checksum/SHA1/155 862s ok 528 /checksum/SHA1/156 862s ok 529 /checksum/SHA1/157 862s ok 530 /checksum/SHA1/158 862s ok 531 /checksum/SHA1/159 862s ok 532 /checksum/SHA1/160 862s ok 533 /checksum/SHA1/161 862s ok 534 /checksum/SHA1/162 862s ok 535 /checksum/SHA1/163 862s ok 536 /checksum/SHA1/164 862s ok 537 /checksum/SHA1/165 862s ok 538 /checksum/SHA1/166 862s ok 539 /checksum/SHA1/167 862s ok 540 /checksum/SHA1/168 862s ok 541 /checksum/SHA1/169 862s ok 542 /checksum/SHA1/170 862s ok 543 /checksum/SHA1/171 862s ok 544 /checksum/SHA1/172 862s ok 545 /checksum/SHA1/173 862s ok 546 /checksum/SHA1/174 862s ok 547 /checksum/SHA1/175 862s ok 548 /checksum/SHA1/176 862s ok 549 /checksum/SHA1/177 862s ok 550 /checksum/SHA1/178 862s ok 551 /checksum/SHA1/179 862s ok 552 /checksum/SHA1/180 862s ok 553 /checksum/SHA1/181 862s ok 554 /checksum/SHA1/182 862s ok 555 /checksum/SHA1/183 862s ok 556 /checksum/SHA1/string 862s ok 557 /checksum/SHA1/bytes 862s # Start of reset tests 862s ok 558 /checksum/SHA1/reset/0 862s ok 559 /checksum/SHA1/reset/1 862s ok 560 /checksum/SHA1/reset/2 862s ok 561 /checksum/SHA1/reset/3 862s ok 562 /checksum/SHA1/reset/4 862s ok 563 /checksum/SHA1/reset/5 862s ok 564 /checksum/SHA1/reset/6 862s ok 565 /checksum/SHA1/reset/7 862s ok 566 /checksum/SHA1/reset/8 862s ok 567 /checksum/SHA1/reset/9 862s ok 568 /checksum/SHA1/reset/10 862s ok 569 /checksum/SHA1/reset/11 862s ok 570 /checksum/SHA1/reset/12 862s ok 571 /checksum/SHA1/reset/13 862s ok 572 /checksum/SHA1/reset/14 862s ok 573 /checksum/SHA1/reset/15 862s ok 574 /checksum/SHA1/reset/16 862s ok 575 /checksum/SHA1/reset/17 862s ok 576 /checksum/SHA1/reset/18 862s ok 577 /checksum/SHA1/reset/19 862s ok 578 /checksum/SHA1/reset/20 862s ok 579 /checksum/SHA1/reset/21 862s ok 580 /checksum/SHA1/reset/22 862s ok 581 /checksum/SHA1/reset/23 862s ok 582 /checksum/SHA1/reset/24 862s ok 583 /checksum/SHA1/reset/25 862s ok 584 /checksum/SHA1/reset/26 862s ok 585 /checksum/SHA1/reset/27 862s ok 586 /checksum/SHA1/reset/28 862s ok 587 /checksum/SHA1/reset/29 862s ok 588 /checksum/SHA1/reset/30 862s ok 589 /checksum/SHA1/reset/31 862s ok 590 /checksum/SHA1/reset/32 862s ok 591 /checksum/SHA1/reset/33 862s ok 592 /checksum/SHA1/reset/34 862s ok 593 /checksum/SHA1/reset/35 862s ok 594 /checksum/SHA1/reset/36 862s ok 595 /checksum/SHA1/reset/37 862s ok 596 /checksum/SHA1/reset/38 862s ok 597 /checksum/SHA1/reset/39 862s ok 598 /checksum/SHA1/reset/40 862s ok 599 /checksum/SHA1/reset/41 862s ok 600 /checksum/SHA1/reset/42 862s ok 601 /checksum/SHA1/reset/43 862s ok 602 /checksum/SHA1/reset/44 862s ok 603 /checksum/SHA1/reset/45 862s ok 604 /checksum/SHA1/reset/46 862s ok 605 /checksum/SHA1/reset/47 862s ok 606 /checksum/SHA1/reset/48 862s ok 607 /checksum/SHA1/reset/49 862s ok 608 /checksum/SHA1/reset/50 862s ok 609 /checksum/SHA1/reset/51 862s ok 610 /checksum/SHA1/reset/52 862s ok 611 /checksum/SHA1/reset/53 862s ok 612 /checksum/SHA1/reset/54 862s ok 613 /checksum/SHA1/reset/55 862s ok 614 /checksum/SHA1/reset/56 862s ok 615 /checksum/SHA1/reset/57 862s ok 616 /checksum/SHA1/reset/58 862s ok 617 /checksum/SHA1/reset/59 862s ok 618 /checksum/SHA1/reset/60 862s ok 619 /checksum/SHA1/reset/61 862s ok 620 /checksum/SHA1/reset/62 862s ok 621 /checksum/SHA1/reset/63 862s ok 622 /checksum/SHA1/reset/64 862s ok 623 /checksum/SHA1/reset/65 862s ok 624 /checksum/SHA1/reset/66 862s ok 625 /checksum/SHA1/reset/67 862s ok 626 /checksum/SHA1/reset/68 862s ok 627 /checksum/SHA1/reset/69 862s ok 628 /checksum/SHA1/reset/70 862s ok 629 /checksum/SHA1/reset/71 862s ok 630 /checksum/SHA1/reset/72 862s ok 631 /checksum/SHA1/reset/73 862s ok 632 /checksum/SHA1/reset/74 862s ok 633 /checksum/SHA1/reset/75 862s ok 634 /checksum/SHA1/reset/76 862s ok 635 /checksum/SHA1/reset/77 862s ok 636 /checksum/SHA1/reset/78 862s ok 637 /checksum/SHA1/reset/79 862s ok 638 /checksum/SHA1/reset/80 862s ok 639 /checksum/SHA1/reset/81 862s ok 640 /checksum/SHA1/reset/82 862s ok 641 /checksum/SHA1/reset/83 862s ok 642 /checksum/SHA1/reset/84 862s ok 643 /checksum/SHA1/reset/85 862s ok 644 /checksum/SHA1/reset/86 862s ok 645 /checksum/SHA1/reset/87 862s ok 646 /checksum/SHA1/reset/88 862s ok 647 /checksum/SHA1/reset/89 862s ok 648 /checksum/SHA1/reset/90 862s ok 649 /checksum/SHA1/reset/91 862s ok 650 /checksum/SHA1/reset/92 862s ok 651 /checksum/SHA1/reset/93 862s ok 652 /checksum/SHA1/reset/94 862s ok 653 /checksum/SHA1/reset/95 862s ok 654 /checksum/SHA1/reset/96 862s ok 655 /checksum/SHA1/reset/97 862s ok 656 /checksum/SHA1/reset/98 862s ok 657 /checksum/SHA1/reset/99 862s ok 658 /checksum/SHA1/reset/100 862s ok 659 /checksum/SHA1/reset/101 862s ok 660 /checksum/SHA1/reset/102 862s ok 661 /checksum/SHA1/reset/103 862s ok 662 /checksum/SHA1/reset/104 862s ok 663 /checksum/SHA1/reset/105 862s ok 664 /checksum/SHA1/reset/106 862s ok 665 /checksum/SHA1/reset/107 862s ok 666 /checksum/SHA1/reset/108 862s ok 667 /checksum/SHA1/reset/109 862s ok 668 /checksum/SHA1/reset/110 862s ok 669 /checksum/SHA1/reset/111 862s ok 670 /checksum/SHA1/reset/112 862s ok 671 /checksum/SHA1/reset/113 862s ok 672 /checksum/SHA1/reset/114 862s ok 673 /checksum/SHA1/reset/115 862s ok 674 /checksum/SHA1/reset/116 862s ok 675 /checksum/SHA1/reset/117 862s ok 676 /checksum/SHA1/reset/118 862s ok 677 /checksum/SHA1/reset/119 862s ok 678 /checksum/SHA1/reset/120 862s ok 679 /checksum/SHA1/reset/121 862s ok 680 /checksum/SHA1/reset/122 862s ok 681 /checksum/SHA1/reset/123 862s ok 682 /checksum/SHA1/reset/124 862s ok 683 /checksum/SHA1/reset/125 862s ok 684 /checksum/SHA1/reset/126 862s ok 685 /checksum/SHA1/reset/127 862s ok 686 /checksum/SHA1/reset/128 862s ok 687 /checksum/SHA1/reset/129 862s ok 688 /checksum/SHA1/reset/130 862s ok 689 /checksum/SHA1/reset/131 862s ok 690 /checksum/SHA1/reset/132 862s ok 691 /checksum/SHA1/reset/133 862s ok 692 /checksum/SHA1/reset/134 862s ok 693 /checksum/SHA1/reset/135 862s ok 694 /checksum/SHA1/reset/136 862s ok 695 /checksum/SHA1/reset/137 862s ok 696 /checksum/SHA1/reset/138 862s ok 697 /checksum/SHA1/reset/139 862s ok 698 /checksum/SHA1/reset/140 862s ok 699 /checksum/SHA1/reset/141 862s ok 700 /checksum/SHA1/reset/142 862s ok 701 /checksum/SHA1/reset/143 862s ok 702 /checksum/SHA1/reset/144 862s ok 703 /checksum/SHA1/reset/145 862s ok 704 /checksum/SHA1/reset/146 862s ok 705 /checksum/SHA1/reset/147 862s ok 706 /checksum/SHA1/reset/148 862s ok 707 /checksum/SHA1/reset/149 862s ok 708 /checksum/SHA1/reset/150 862s ok 709 /checksum/SHA1/reset/151 862s ok 710 /checksum/SHA1/reset/152 862s ok 711 /checksum/SHA1/reset/153 862s ok 712 /checksum/SHA1/reset/154 862s ok 713 /checksum/SHA1/reset/155 862s ok 714 /checksum/SHA1/reset/156 862s ok 715 /checksum/SHA1/reset/157 862s ok 716 /checksum/SHA1/reset/158 862s ok 717 /checksum/SHA1/reset/159 862s ok 718 /checksum/SHA1/reset/160 862s ok 719 /checksum/SHA1/reset/161 862s ok 720 /checksum/SHA1/reset/162 862s ok 721 /checksum/SHA1/reset/163 862s ok 722 /checksum/SHA1/reset/164 862s ok 723 /checksum/SHA1/reset/165 862s ok 724 /checksum/SHA1/reset/166 862s ok 725 /checksum/SHA1/reset/167 862s ok 726 /checksum/SHA1/reset/168 862s ok 727 /checksum/SHA1/reset/169 862s ok 728 /checksum/SHA1/reset/170 862s ok 729 /checksum/SHA1/reset/171 862s ok 730 /checksum/SHA1/reset/172 862s ok 731 /checksum/SHA1/reset/173 862s ok 732 /checksum/SHA1/reset/174 862s ok 733 /checksum/SHA1/reset/175 862s ok 734 /checksum/SHA1/reset/176 862s ok 735 /checksum/SHA1/reset/177 862s ok 736 /checksum/SHA1/reset/178 862s ok 737 /checksum/SHA1/reset/179 862s ok 738 /checksum/SHA1/reset/180 862s ok 739 /checksum/SHA1/reset/181 862s ok 740 /checksum/SHA1/reset/182 862s ok 741 /checksum/SHA1/reset/183 862s # End of reset tests 862s # End of SHA1 tests 862s # Start of SHA256 tests 862s ok 742 /checksum/SHA256/0 862s ok 743 /checksum/SHA256/1 862s ok 744 /checksum/SHA256/2 862s ok 745 /checksum/SHA256/3 862s ok 746 /checksum/SHA256/4 862s ok 747 /checksum/SHA256/5 862s ok 748 /checksum/SHA256/6 862s ok 749 /checksum/SHA256/7 862s ok 750 /checksum/SHA256/8 862s ok 751 /checksum/SHA256/9 862s ok 752 /checksum/SHA256/10 862s ok 753 /checksum/SHA256/11 862s ok 754 /checksum/SHA256/12 862s ok 755 /checksum/SHA256/13 862s ok 756 /checksum/SHA256/14 862s ok 757 /checksum/SHA256/15 862s ok 758 /checksum/SHA256/16 862s ok 759 /checksum/SHA256/17 862s ok 760 /checksum/SHA256/18 862s ok 761 /checksum/SHA256/19 862s ok 762 /checksum/SHA256/20 862s ok 763 /checksum/SHA256/21 862s ok 764 /checksum/SHA256/22 862s ok 765 /checksum/SHA256/23 862s ok 766 /checksum/SHA256/24 862s ok 767 /checksum/SHA256/25 862s ok 768 /checksum/SHA256/26 862s ok 769 /checksum/SHA256/27 862s ok 770 /checksum/SHA256/28 862s ok 771 /checksum/SHA256/29 862s ok 772 /checksum/SHA256/30 862s ok 773 /checksum/SHA256/31 862s ok 774 /checksum/SHA256/32 862s ok 775 /checksum/SHA256/33 862s ok 776 /checksum/SHA256/34 862s ok 777 /checksum/SHA256/35 862s ok 778 /checksum/SHA256/36 862s ok 779 /checksum/SHA256/37 862s ok 780 /checksum/SHA256/38 862s ok 781 /checksum/SHA256/39 862s ok 782 /checksum/SHA256/40 862s ok 783 /checksum/SHA256/41 862s ok 784 /checksum/SHA256/42 862s ok 785 /checksum/SHA256/43 862s ok 786 /checksum/SHA256/44 862s ok 787 /checksum/SHA256/45 862s ok 788 /checksum/SHA256/46 862s ok 789 /checksum/SHA256/47 862s ok 790 /checksum/SHA256/48 862s ok 791 /checksum/SHA256/49 862s ok 792 /checksum/SHA256/50 862s ok 793 /checksum/SHA256/51 862s ok 794 /checksum/SHA256/52 862s ok 795 /checksum/SHA256/53 862s ok 796 /checksum/SHA256/54 862s ok 797 /checksum/SHA256/55 862s ok 798 /checksum/SHA256/56 862s ok 799 /checksum/SHA256/57 862s ok 800 /checksum/SHA256/58 862s ok 801 /checksum/SHA256/59 862s ok 802 /checksum/SHA256/60 862s ok 803 /checksum/SHA256/61 862s ok 804 /checksum/SHA256/62 862s ok 805 /checksum/SHA256/63 862s ok 806 /checksum/SHA256/64 862s ok 807 /checksum/SHA256/65 862s ok 808 /checksum/SHA256/66 862s ok 809 /checksum/SHA256/67 862s ok 810 /checksum/SHA256/68 862s ok 811 /checksum/SHA256/69 862s ok 812 /checksum/SHA256/70 862s ok 813 /checksum/SHA256/71 862s ok 814 /checksum/SHA256/72 862s ok 815 /checksum/SHA256/73 862s ok 816 /checksum/SHA256/74 862s ok 817 /checksum/SHA256/75 862s ok 818 /checksum/SHA256/76 862s ok 819 /checksum/SHA256/77 862s ok 820 /checksum/SHA256/78 862s ok 821 /checksum/SHA256/79 862s ok 822 /checksum/SHA256/80 862s ok 823 /checksum/SHA256/81 862s ok 824 /checksum/SHA256/82 862s ok 825 /checksum/SHA256/83 862s ok 826 /checksum/SHA256/84 862s ok 827 /checksum/SHA256/85 862s ok 828 /checksum/SHA256/86 862s ok 829 /checksum/SHA256/87 862s ok 830 /checksum/SHA256/88 862s ok 831 /checksum/SHA256/89 862s ok 832 /checksum/SHA256/90 862s ok 833 /checksum/SHA256/91 862s ok 834 /checksum/SHA256/92 862s ok 835 /checksum/SHA256/93 862s ok 836 /checksum/SHA256/94 862s ok 837 /checksum/SHA256/95 862s ok 838 /checksum/SHA256/96 862s ok 839 /checksum/SHA256/97 862s ok 840 /checksum/SHA256/98 862s ok 841 /checksum/SHA256/99 862s ok 842 /checksum/SHA256/100 862s ok 843 /checksum/SHA256/101 862s ok 844 /checksum/SHA256/102 862s ok 845 /checksum/SHA256/103 862s ok 846 /checksum/SHA256/104 862s ok 847 /checksum/SHA256/105 862s ok 848 /checksum/SHA256/106 862s ok 849 /checksum/SHA256/107 862s ok 850 /checksum/SHA256/108 862s ok 851 /checksum/SHA256/109 862s ok 852 /checksum/SHA256/110 862s ok 853 /checksum/SHA256/111 862s ok 854 /checksum/SHA256/112 862s ok 855 /checksum/SHA256/113 862s ok 856 /checksum/SHA256/114 862s ok 857 /checksum/SHA256/115 862s ok 858 /checksum/SHA256/116 862s ok 859 /checksum/SHA256/117 862s ok 860 /checksum/SHA256/118 862s ok 861 /checksum/SHA256/119 862s ok 862 /checksum/SHA256/120 862s ok 863 /checksum/SHA256/121 862s ok 864 /checksum/SHA256/122 862s ok 865 /checksum/SHA256/123 862s ok 866 /checksum/SHA256/124 862s ok 867 /checksum/SHA256/125 862s ok 868 /checksum/SHA256/126 862s ok 869 /checksum/SHA256/127 862s ok 870 /checksum/SHA256/128 862s ok 871 /checksum/SHA256/129 862s ok 872 /checksum/SHA256/130 862s ok 873 /checksum/SHA256/131 862s ok 874 /checksum/SHA256/132 862s ok 875 /checksum/SHA256/133 862s ok 876 /checksum/SHA256/134 862s ok 877 /checksum/SHA256/135 862s ok 878 /checksum/SHA256/136 862s ok 879 /checksum/SHA256/137 862s ok 880 /checksum/SHA256/138 862s ok 881 /checksum/SHA256/139 862s ok 882 /checksum/SHA256/140 862s ok 883 /checksum/SHA256/141 862s ok 884 /checksum/SHA256/142 862s ok 885 /checksum/SHA256/143 862s ok 886 /checksum/SHA256/144 862s ok 887 /checksum/SHA256/145 862s ok 888 /checksum/SHA256/146 862s ok 889 /checksum/SHA256/147 862s ok 890 /checksum/SHA256/148 862s ok 891 /checksum/SHA256/149 862s ok 892 /checksum/SHA256/150 862s ok 893 /checksum/SHA256/151 862s ok 894 /checksum/SHA256/152 862s ok 895 /checksum/SHA256/153 862s ok 896 /checksum/SHA256/154 862s ok 897 /checksum/SHA256/155 862s ok 898 /checksum/SHA256/156 862s ok 899 /checksum/SHA256/157 862s ok 900 /checksum/SHA256/158 862s ok 901 /checksum/SHA256/159 862s ok 902 /checksum/SHA256/160 862s ok 903 /checksum/SHA256/161 862s ok 904 /checksum/SHA256/162 862s ok 905 /checksum/SHA256/163 862s ok 906 /checksum/SHA256/164 862s ok 907 /checksum/SHA256/165 862s ok 908 /checksum/SHA256/166 862s ok 909 /checksum/SHA256/167 862s ok 910 /checksum/SHA256/168 862s ok 911 /checksum/SHA256/169 862s ok 912 /checksum/SHA256/170 862s ok 913 /checksum/SHA256/171 862s ok 914 /checksum/SHA256/172 862s ok 915 /checksum/SHA256/173 862s ok 916 /checksum/SHA256/174 862s ok 917 /checksum/SHA256/175 862s ok 918 /checksum/SHA256/176 862s ok 919 /checksum/SHA256/177 862s ok 920 /checksum/SHA256/178 862s ok 921 /checksum/SHA256/179 862s ok 922 /checksum/SHA256/180 862s ok 923 /checksum/SHA256/181 862s ok 924 /checksum/SHA256/182 862s ok 925 /checksum/SHA256/183 862s ok 926 /checksum/SHA256/string 862s ok 927 /checksum/SHA256/bytes 862s # Start of reset tests 862s ok 928 /checksum/SHA256/reset/0 862s ok 929 /checksum/SHA256/reset/1 862s ok 930 /checksum/SHA256/reset/2 862s ok 931 /checksum/SHA256/reset/3 862s ok 932 /checksum/SHA256/reset/4 862s ok 933 /checksum/SHA256/reset/5 862s ok 934 /checksum/SHA256/reset/6 862s ok 935 /checksum/SHA256/reset/7 862s ok 936 /checksum/SHA256/reset/8 862s ok 937 /checksum/SHA256/reset/9 862s ok 938 /checksum/SHA256/reset/10 862s ok 939 /checksum/SHA256/reset/11 862s ok 940 /checksum/SHA256/reset/12 862s ok 941 /checksum/SHA256/reset/13 862s ok 942 /checksum/SHA256/reset/14 862s ok 943 /checksum/SHA256/reset/15 862s ok 944 /checksum/SHA256/reset/16 862s ok 945 /checksum/SHA256/reset/17 862s ok 946 /checksum/SHA256/reset/18 862s ok 947 /checksum/SHA256/reset/19 862s ok 948 /checksum/SHA256/reset/20 862s ok 949 /checksum/SHA256/reset/21 862s ok 950 /checksum/SHA256/reset/22 862s ok 951 /checksum/SHA256/reset/23 862s ok 952 /checksum/SHA256/reset/24 862s ok 953 /checksum/SHA256/reset/25 862s ok 954 /checksum/SHA256/reset/26 862s ok 955 /checksum/SHA256/reset/27 862s ok 956 /checksum/SHA256/reset/28 862s ok 957 /checksum/SHA256/reset/29 862s ok 958 /checksum/SHA256/reset/30 862s ok 959 /checksum/SHA256/reset/31 862s ok 960 /checksum/SHA256/reset/32 862s ok 961 /checksum/SHA256/reset/33 862s ok 962 /checksum/SHA256/reset/34 862s ok 963 /checksum/SHA256/reset/35 862s ok 964 /checksum/SHA256/reset/36 862s ok 965 /checksum/SHA256/reset/37 862s ok 966 /checksum/SHA256/reset/38 862s ok 967 /checksum/SHA256/reset/39 862s ok 968 /checksum/SHA256/reset/40 862s ok 969 /checksum/SHA256/reset/41 862s ok 970 /checksum/SHA256/reset/42 862s ok 971 /checksum/SHA256/reset/43 862s ok 972 /checksum/SHA256/reset/44 862s ok 973 /checksum/SHA256/reset/45 862s ok 974 /checksum/SHA256/reset/46 862s ok 975 /checksum/SHA256/reset/47 862s ok 976 /checksum/SHA256/reset/48 862s ok 977 /checksum/SHA256/reset/49 862s ok 978 /checksum/SHA256/reset/50 862s ok 979 /checksum/SHA256/reset/51 862s ok 980 /checksum/SHA256/reset/52 862s ok 981 /checksum/SHA256/reset/53 862s ok 982 /checksum/SHA256/reset/54 862s ok 983 /checksum/SHA256/reset/55 862s ok 984 /checksum/SHA256/reset/56 862s ok 985 /checksum/SHA256/reset/57 862s ok 986 /checksum/SHA256/reset/58 862s ok 987 /checksum/SHA256/reset/59 862s ok 988 /checksum/SHA256/reset/60 862s ok 989 /checksum/SHA256/reset/61 862s ok 990 /checksum/SHA256/reset/62 862s ok 991 /checksum/SHA256/reset/63 862s ok 992 /checksum/SHA256/reset/64 862s ok 993 /checksum/SHA256/reset/65 862s ok 994 /checksum/SHA256/reset/66 862s ok 995 /checksum/SHA256/reset/67 862s ok 996 /checksum/SHA256/reset/68 862s ok 997 /checksum/SHA256/reset/69 862s ok 998 /checksum/SHA256/reset/70 862s ok 999 /checksum/SHA256/reset/71 862s ok 1000 /checksum/SHA256/reset/72 862s ok 1001 /checksum/SHA256/reset/73 862s ok 1002 /checksum/SHA256/reset/74 862s ok 1003 /checksum/SHA256/reset/75 862s ok 1004 /checksum/SHA256/reset/76 862s ok 1005 /checksum/SHA256/reset/77 862s ok 1006 /checksum/SHA256/reset/78 862s ok 1007 /checksum/SHA256/reset/79 862s ok 1008 /checksum/SHA256/reset/80 862s ok 1009 /checksum/SHA256/reset/81 862s ok 1010 /checksum/SHA256/reset/82 862s ok 1011 /checksum/SHA256/reset/83 862s ok 1012 /checksum/SHA256/reset/84 862s ok 1013 /checksum/SHA256/reset/85 862s ok 1014 /checksum/SHA256/reset/86 862s ok 1015 /checksum/SHA256/reset/87 862s ok 1016 /checksum/SHA256/reset/88 862s ok 1017 /checksum/SHA256/reset/89 862s ok 1018 /checksum/SHA256/reset/90 862s ok 1019 /checksum/SHA256/reset/91 862s ok 1020 /checksum/SHA256/reset/92 862s ok 1021 /checksum/SHA256/reset/93 862s ok 1022 /checksum/SHA256/reset/94 862s ok 1023 /checksum/SHA256/reset/95 862s ok 1024 /checksum/SHA256/reset/96 862s ok 1025 /checksum/SHA256/reset/97 862s ok 1026 /checksum/SHA256/reset/98 862s ok 1027 /checksum/SHA256/reset/99 862s ok 1028 /checksum/SHA256/reset/100 862s ok 1029 /checksum/SHA256/reset/101 862s ok 1030 /checksum/SHA256/reset/102 862s ok 1031 /checksum/SHA256/reset/103 862s ok 1032 /checksum/SHA256/reset/104 862s ok 1033 /checksum/SHA256/reset/105 862s ok 1034 /checksum/SHA256/reset/106 862s ok 1035 /checksum/SHA256/reset/107 862s ok 1036 /checksum/SHA256/reset/108 862s ok 1037 /checksum/SHA256/reset/109 862s ok 1038 /checksum/SHA256/reset/110 862s ok 1039 /checksum/SHA256/reset/111 862s ok 1040 /checksum/SHA256/reset/112 862s ok 1041 /checksum/SHA256/reset/113 862s ok 1042 /checksum/SHA256/reset/114 862s ok 1043 /checksum/SHA256/reset/115 862s ok 1044 /checksum/SHA256/reset/116 862s ok 1045 /checksum/SHA256/reset/117 862s ok 1046 /checksum/SHA256/reset/118 862s ok 1047 /checksum/SHA256/reset/119 862s ok 1048 /checksum/SHA256/reset/120 862s ok 1049 /checksum/SHA256/reset/121 862s ok 1050 /checksum/SHA256/reset/122 862s ok 1051 /checksum/SHA256/reset/123 862s ok 1052 /checksum/SHA256/reset/124 862s ok 1053 /checksum/SHA256/reset/125 862s ok 1054 /checksum/SHA256/reset/126 862s ok 1055 /checksum/SHA256/reset/127 862s ok 1056 /checksum/SHA256/reset/128 862s ok 1057 /checksum/SHA256/reset/129 862s ok 1058 /checksum/SHA256/reset/130 862s ok 1059 /checksum/SHA256/reset/131 862s ok 1060 /checksum/SHA256/reset/132 862s ok 1061 /checksum/SHA256/reset/133 862s ok 1062 /checksum/SHA256/reset/134 862s ok 1063 /checksum/SHA256/reset/135 862s ok 1064 /checksum/SHA256/reset/136 862s ok 1065 /checksum/SHA256/reset/137 862s ok 1066 /checksum/SHA256/reset/138 862s ok 1067 /checksum/SHA256/reset/139 862s ok 1068 /checksum/SHA256/reset/140 862s ok 1069 /checksum/SHA256/reset/141 862s ok 1070 /checksum/SHA256/reset/142 862s ok 1071 /checksum/SHA256/reset/143 862s ok 1072 /checksum/SHA256/reset/144 862s ok 1073 /checksum/SHA256/reset/145 862s ok 1074 /checksum/SHA256/reset/146 862s ok 1075 /checksum/SHA256/reset/147 862s ok 1076 /checksum/SHA256/reset/148 862s ok 1077 /checksum/SHA256/reset/149 862s ok 1078 /checksum/SHA256/reset/150 862s ok 1079 /checksum/SHA256/reset/151 862s ok 1080 /checksum/SHA256/reset/152 862s ok 1081 /checksum/SHA256/reset/153 862s ok 1082 /checksum/SHA256/reset/154 862s ok 1083 /checksum/SHA256/reset/155 862s ok 1084 /checksum/SHA256/reset/156 862s ok 1085 /checksum/SHA256/reset/157 862s ok 1086 /checksum/SHA256/reset/158 862s ok 1087 /checksum/SHA256/reset/159 862s ok 1088 /checksum/SHA256/reset/160 862s ok 1089 /checksum/SHA256/reset/161 862s ok 1090 /checksum/SHA256/reset/162 862s ok 1091 /checksum/SHA256/reset/163 862s ok 1092 /checksum/SHA256/reset/164 862s ok 1093 /checksum/SHA256/reset/165 862s ok 1094 /checksum/SHA256/reset/166 862s ok 1095 /checksum/SHA256/reset/167 862s ok 1096 /checksum/SHA256/reset/168 862s ok 1097 /checksum/SHA256/reset/169 862s ok 1098 /checksum/SHA256/reset/170 862s ok 1099 /checksum/SHA256/reset/171 862s ok 1100 /checksum/SHA256/reset/172 862s ok 1101 /checksum/SHA256/reset/173 862s ok 1102 /checksum/SHA256/reset/174 862s ok 1103 /checksum/SHA256/reset/175 862s ok 1104 /checksum/SHA256/reset/176 862s ok 1105 /checksum/SHA256/reset/177 862s ok 1106 /checksum/SHA256/reset/178 862s ok 1107 /checksum/SHA256/reset/179 862s ok 1108 /checksum/SHA256/reset/180 862s ok 1109 /checksum/SHA256/reset/181 862s ok 1110 /checksum/SHA256/reset/182 862s ok 1111 /checksum/SHA256/reset/183 862s # End of reset tests 862s # End of SHA256 tests 862s # Start of SHA384 tests 862s ok 1112 /checksum/SHA384/0 862s ok 1113 /checksum/SHA384/1 862s ok 1114 /checksum/SHA384/2 862s ok 1115 /checksum/SHA384/3 862s ok 1116 /checksum/SHA384/4 862s ok 1117 /checksum/SHA384/5 862s ok 1118 /checksum/SHA384/6 862s ok 1119 /checksum/SHA384/7 862s ok 1120 /checksum/SHA384/8 862s ok 1121 /checksum/SHA384/9 862s ok 1122 /checksum/SHA384/10 862s ok 1123 /checksum/SHA384/11 862s ok 1124 /checksum/SHA384/12 862s ok 1125 /checksum/SHA384/13 862s ok 1126 /checksum/SHA384/14 862s ok 1127 /checksum/SHA384/15 862s ok 1128 /checksum/SHA384/16 862s ok 1129 /checksum/SHA384/17 862s ok 1130 /checksum/SHA384/18 862s ok 1131 /checksum/SHA384/19 862s ok 1132 /checksum/SHA384/20 862s ok 1133 /checksum/SHA384/21 862s ok 1134 /checksum/SHA384/22 862s ok 1135 /checksum/SHA384/23 862s ok 1136 /checksum/SHA384/24 862s ok 1137 /checksum/SHA384/25 862s ok 1138 /checksum/SHA384/26 862s ok 1139 /checksum/SHA384/27 862s ok 1140 /checksum/SHA384/28 862s ok 1141 /checksum/SHA384/29 862s ok 1142 /checksum/SHA384/30 862s ok 1143 /checksum/SHA384/31 862s ok 1144 /checksum/SHA384/32 862s ok 1145 /checksum/SHA384/33 862s ok 1146 /checksum/SHA384/34 862s ok 1147 /checksum/SHA384/35 862s ok 1148 /checksum/SHA384/36 862s ok 1149 /checksum/SHA384/37 862s ok 1150 /checksum/SHA384/38 862s ok 1151 /checksum/SHA384/39 862s ok 1152 /checksum/SHA384/40 862s ok 1153 /checksum/SHA384/41 862s ok 1154 /checksum/SHA384/42 862s ok 1155 /checksum/SHA384/43 862s ok 1156 /checksum/SHA384/44 862s ok 1157 /checksum/SHA384/45 862s ok 1158 /checksum/SHA384/46 862s ok 1159 /checksum/SHA384/47 862s ok 1160 /checksum/SHA384/48 862s ok 1161 /checksum/SHA384/49 862s ok 1162 /checksum/SHA384/50 862s ok 1163 /checksum/SHA384/51 862s ok 1164 /checksum/SHA384/52 862s ok 1165 /checksum/SHA384/53 862s ok 1166 /checksum/SHA384/54 862s ok 1167 /checksum/SHA384/55 862s ok 1168 /checksum/SHA384/56 862s ok 1169 /checksum/SHA384/57 862s ok 1170 /checksum/SHA384/58 862s ok 1171 /checksum/SHA384/59 862s ok 1172 /checksum/SHA384/60 862s ok 1173 /checksum/SHA384/61 862s ok 1174 /checksum/SHA384/62 862s ok 1175 /checksum/SHA384/63 862s ok 1176 /checksum/SHA384/64 862s ok 1177 /checksum/SHA384/65 862s ok 1178 /checksum/SHA384/66 862s ok 1179 /checksum/SHA384/67 862s ok 1180 /checksum/SHA384/68 862s ok 1181 /checksum/SHA384/69 862s ok 1182 /checksum/SHA384/70 862s ok 1183 /checksum/SHA384/71 862s ok 1184 /checksum/SHA384/72 862s ok 1185 /checksum/SHA384/73 862s ok 1186 /checksum/SHA384/74 862s ok 1187 /checksum/SHA384/75 862s ok 1188 /checksum/SHA384/76 862s ok 1189 /checksum/SHA384/77 862s ok 1190 /checksum/SHA384/78 862s ok 1191 /checksum/SHA384/79 862s ok 1192 /checksum/SHA384/80 862s ok 1193 /checksum/SHA384/81 862s ok 1194 /checksum/SHA384/82 862s ok 1195 /checksum/SHA384/83 862s ok 1196 /checksum/SHA384/84 862s ok 1197 /checksum/SHA384/85 862s ok 1198 /checksum/SHA384/86 862s ok 1199 /checksum/SHA384/87 862s ok 1200 /checksum/SHA384/88 862s ok 1201 /checksum/SHA384/89 862s ok 1202 /checksum/SHA384/90 862s ok 1203 /checksum/SHA384/91 862s ok 1204 /checksum/SHA384/92 862s ok 1205 /checksum/SHA384/93 862s ok 1206 /checksum/SHA384/94 862s ok 1207 /checksum/SHA384/95 862s ok 1208 /checksum/SHA384/96 862s ok 1209 /checksum/SHA384/97 862s ok 1210 /checksum/SHA384/98 862s ok 1211 /checksum/SHA384/99 862s ok 1212 /checksum/SHA384/100 862s ok 1213 /checksum/SHA384/101 862s ok 1214 /checksum/SHA384/102 862s ok 1215 /checksum/SHA384/103 862s ok 1216 /checksum/SHA384/104 862s ok 1217 /checksum/SHA384/105 862s ok 1218 /checksum/SHA384/106 862s ok 1219 /checksum/SHA384/107 862s ok 1220 /checksum/SHA384/108 862s ok 1221 /checksum/SHA384/109 862s ok 1222 /checksum/SHA384/110 862s ok 1223 /checksum/SHA384/111 862s ok 1224 /checksum/SHA384/112 862s ok 1225 /checksum/SHA384/113 862s ok 1226 /checksum/SHA384/114 862s ok 1227 /checksum/SHA384/115 862s ok 1228 /checksum/SHA384/116 862s ok 1229 /checksum/SHA384/117 862s ok 1230 /checksum/SHA384/118 862s ok 1231 /checksum/SHA384/119 862s ok 1232 /checksum/SHA384/120 862s ok 1233 /checksum/SHA384/121 862s ok 1234 /checksum/SHA384/122 862s ok 1235 /checksum/SHA384/123 862s ok 1236 /checksum/SHA384/124 862s ok 1237 /checksum/SHA384/125 862s ok 1238 /checksum/SHA384/126 862s ok 1239 /checksum/SHA384/127 862s ok 1240 /checksum/SHA384/128 862s ok 1241 /checksum/SHA384/129 862s ok 1242 /checksum/SHA384/130 862s ok 1243 /checksum/SHA384/131 862s ok 1244 /checksum/SHA384/132 862s ok 1245 /checksum/SHA384/133 862s ok 1246 /checksum/SHA384/134 862s ok 1247 /checksum/SHA384/135 862s ok 1248 /checksum/SHA384/136 862s ok 1249 /checksum/SHA384/137 862s ok 1250 /checksum/SHA384/138 862s ok 1251 /checksum/SHA384/139 862s ok 1252 /checksum/SHA384/140 862s ok 1253 /checksum/SHA384/141 862s ok 1254 /checksum/SHA384/142 862s ok 1255 /checksum/SHA384/143 862s ok 1256 /checksum/SHA384/144 862s ok 1257 /checksum/SHA384/145 862s ok 1258 /checksum/SHA384/146 862s ok 1259 /checksum/SHA384/147 862s ok 1260 /checksum/SHA384/148 862s ok 1261 /checksum/SHA384/149 862s ok 1262 /checksum/SHA384/150 862s ok 1263 /checksum/SHA384/151 862s ok 1264 /checksum/SHA384/152 862s ok 1265 /checksum/SHA384/153 862s ok 1266 /checksum/SHA384/154 862s ok 1267 /checksum/SHA384/155 862s ok 1268 /checksum/SHA384/156 862s ok 1269 /checksum/SHA384/157 862s ok 1270 /checksum/SHA384/158 862s ok 1271 /checksum/SHA384/159 862s ok 1272 /checksum/SHA384/160 862s ok 1273 /checksum/SHA384/161 862s ok 1274 /checksum/SHA384/162 862s ok 1275 /checksum/SHA384/163 862s ok 1276 /checksum/SHA384/164 862s ok 1277 /checksum/SHA384/165 862s ok 1278 /checksum/SHA384/166 862s ok 1279 /checksum/SHA384/167 862s ok 1280 /checksum/SHA384/168 862s ok 1281 /checksum/SHA384/169 862s ok 1282 /checksum/SHA384/170 862s ok 1283 /checksum/SHA384/171 862s ok 1284 /checksum/SHA384/172 862s ok 1285 /checksum/SHA384/173 862s ok 1286 /checksum/SHA384/174 862s ok 1287 /checksum/SHA384/175 862s ok 1288 /checksum/SHA384/176 862s ok 1289 /checksum/SHA384/177 862s ok 1290 /checksum/SHA384/178 862s ok 1291 /checksum/SHA384/179 862s ok 1292 /checksum/SHA384/180 862s ok 1293 /checksum/SHA384/181 862s ok 1294 /checksum/SHA384/182 862s ok 1295 /checksum/SHA384/183 862s ok 1296 /checksum/SHA384/string 862s ok 1297 /checksum/SHA384/bytes 862s # Start of reset tests 862s ok 1298 /checksum/SHA384/reset/0 862s ok 1299 /checksum/SHA384/reset/1 862s ok 1300 /checksum/SHA384/reset/2 862s ok 1301 /checksum/SHA384/reset/3 862s ok 1302 /checksum/SHA384/reset/4 862s ok 1303 /checksum/SHA384/reset/5 862s ok 1304 /checksum/SHA384/reset/6 862s ok 1305 /checksum/SHA384/reset/7 862s ok 1306 /checksum/SHA384/reset/8 862s ok 1307 /checksum/SHA384/reset/9 862s ok 1308 /checksum/SHA384/reset/10 862s ok 1309 /checksum/SHA384/reset/11 862s ok 1310 /checksum/SHA384/reset/12 862s ok 1311 /checksum/SHA384/reset/13 862s ok 1312 /checksum/SHA384/reset/14 862s ok 1313 /checksum/SHA384/reset/15 862s ok 1314 /checksum/SHA384/reset/16 862s ok 1315 /checksum/SHA384/reset/17 862s ok 1316 /checksum/SHA384/reset/18 862s ok 1317 /checksum/SHA384/reset/19 862s ok 1318 /checksum/SHA384/reset/20 862s ok 1319 /checksum/SHA384/reset/21 862s ok 1320 /checksum/SHA384/reset/22 862s ok 1321 /checksum/SHA384/reset/23 862s ok 1322 /checksum/SHA384/reset/24 862s ok 1323 /checksum/SHA384/reset/25 862s ok 1324 /checksum/SHA384/reset/26 862s ok 1325 /checksum/SHA384/reset/27 862s ok 1326 /checksum/SHA384/reset/28 862s ok 1327 /checksum/SHA384/reset/29 862s ok 1328 /checksum/SHA384/reset/30 862s ok 1329 /checksum/SHA384/reset/31 862s ok 1330 /checksum/SHA384/reset/32 862s ok 1331 /checksum/SHA384/reset/33 862s ok 1332 /checksum/SHA384/reset/34 862s ok 1333 /checksum/SHA384/reset/35 862s ok 1334 /checksum/SHA384/reset/36 862s ok 1335 /checksum/SHA384/reset/37 862s ok 1336 /checksum/SHA384/reset/38 862s ok 1337 /checksum/SHA384/reset/39 862s ok 1338 /checksum/SHA384/reset/40 862s ok 1339 /checksum/SHA384/reset/41 862s ok 1340 /checksum/SHA384/reset/42 862s ok 1341 /checksum/SHA384/reset/43 862s ok 1342 /checksum/SHA384/reset/44 862s ok 1343 /checksum/SHA384/reset/45 862s ok 1344 /checksum/SHA384/reset/46 862s ok 1345 /checksum/SHA384/reset/47 862s ok 1346 /checksum/SHA384/reset/48 862s ok 1347 /checksum/SHA384/reset/49 862s ok 1348 /checksum/SHA384/reset/50 862s ok 1349 /checksum/SHA384/reset/51 862s ok 1350 /checksum/SHA384/reset/52 862s ok 1351 /checksum/SHA384/reset/53 862s ok 1352 /checksum/SHA384/reset/54 862s ok 1353 /checksum/SHA384/reset/55 862s ok 1354 /checksum/SHA384/reset/56 862s ok 1355 /checksum/SHA384/reset/57 862s ok 1356 /checksum/SHA384/reset/58 862s ok 1357 /checksum/SHA384/reset/59 862s ok 1358 /checksum/SHA384/reset/60 862s ok 1359 /checksum/SHA384/reset/61 862s ok 1360 /checksum/SHA384/reset/62 862s ok 1361 /checksum/SHA384/reset/63 862s ok 1362 /checksum/SHA384/reset/64 862s ok 1363 /checksum/SHA384/reset/65 862s ok 1364 /checksum/SHA384/reset/66 862s ok 1365 /checksum/SHA384/reset/67 862s ok 1366 /checksum/SHA384/reset/68 862s ok 1367 /checksum/SHA384/reset/69 862s ok 1368 /checksum/SHA384/reset/70 862s ok 1369 /checksum/SHA384/reset/71 862s ok 1370 /checksum/SHA384/reset/72 862s ok 1371 /checksum/SHA384/reset/73 862s ok 1372 /checksum/SHA384/reset/74 862s ok 1373 /checksum/SHA384/reset/75 862s ok 1374 /checksum/SHA384/reset/76 862s ok 1375 /checksum/SHA384/reset/77 862s ok 1376 /checksum/SHA384/reset/78 862s ok 1377 /checksum/SHA384/reset/79 862s ok 1378 /checksum/SHA384/reset/80 862s ok 1379 /checksum/SHA384/reset/81 862s ok 1380 /checksum/SHA384/reset/82 862s ok 1381 /checksum/SHA384/reset/83 862s ok 1382 /checksum/SHA384/reset/84 862s ok 1383 /checksum/SHA384/reset/85 862s ok 1384 /checksum/SHA384/reset/86 862s ok 1385 /checksum/SHA384/reset/87 862s ok 1386 /checksum/SHA384/reset/88 862s ok 1387 /checksum/SHA384/reset/89 862s ok 1388 /checksum/SHA384/reset/90 862s ok 1389 /checksum/SHA384/reset/91 862s ok 1390 /checksum/SHA384/reset/92 862s ok 1391 /checksum/SHA384/reset/93 862s ok 1392 /checksum/SHA384/reset/94 862s ok 1393 /checksum/SHA384/reset/95 862s ok 1394 /checksum/SHA384/reset/96 862s ok 1395 /checksum/SHA384/reset/97 862s ok 1396 /checksum/SHA384/reset/98 862s ok 1397 /checksum/SHA384/reset/99 862s ok 1398 /checksum/SHA384/reset/100 862s ok 1399 /checksum/SHA384/reset/101 862s ok 1400 /checksum/SHA384/reset/102 862s ok 1401 /checksum/SHA384/reset/103 862s ok 1402 /checksum/SHA384/reset/104 862s ok 1403 /checksum/SHA384/reset/105 862s ok 1404 /checksum/SHA384/reset/106 862s ok 1405 /checksum/SHA384/reset/107 862s ok 1406 /checksum/SHA384/reset/108 862s ok 1407 /checksum/SHA384/reset/109 862s ok 1408 /checksum/SHA384/reset/110 862s ok 1409 /checksum/SHA384/reset/111 862s ok 1410 /checksum/SHA384/reset/112 862s ok 1411 /checksum/SHA384/reset/113 862s ok 1412 /checksum/SHA384/reset/114 862s ok 1413 /checksum/SHA384/reset/115 862s ok 1414 /checksum/SHA384/reset/116 862s ok 1415 /checksum/SHA384/reset/117 862s ok 1416 /checksum/SHA384/reset/118 862s ok 1417 /checksum/SHA384/reset/119 862s ok 1418 /checksum/SHA384/reset/120 862s ok 1419 /checksum/SHA384/reset/121 862s ok 1420 /checksum/SHA384/reset/122 862s ok 1421 /checksum/SHA384/reset/123 862s ok 1422 /checksum/SHA384/reset/124 862s ok 1423 /checksum/SHA384/reset/125 862s ok 1424 /checksum/SHA384/reset/126 862s ok 1425 /checksum/SHA384/reset/127 862s ok 1426 /checksum/SHA384/reset/128 862s ok 1427 /checksum/SHA384/reset/129 862s ok 1428 /checksum/SHA384/reset/130 862s ok 1429 /checksum/SHA384/reset/131 862s ok 1430 /checksum/SHA384/reset/132 862s ok 1431 /checksum/SHA384/reset/133 862s ok 1432 /checksum/SHA384/reset/134 862s ok 1433 /checksum/SHA384/reset/135 862s ok 1434 /checksum/SHA384/reset/136 862s ok 1435 /checksum/SHA384/reset/137 862s ok 1436 /checksum/SHA384/reset/138 862s ok 1437 /checksum/SHA384/reset/139 862s ok 1438 /checksum/SHA384/reset/140 862s ok 1439 /checksum/SHA384/reset/141 862s ok 1440 /checksum/SHA384/reset/142 862s ok 1441 /checksum/SHA384/reset/143 862s ok 1442 /checksum/SHA384/reset/144 862s ok 1443 /checksum/SHA384/reset/145 862s ok 1444 /checksum/SHA384/reset/146 862s ok 1445 /checksum/SHA384/reset/147 862s ok 1446 /checksum/SHA384/reset/148 862s ok 1447 /checksum/SHA384/reset/149 862s ok 1448 /checksum/SHA384/reset/150 862s ok 1449 /checksum/SHA384/reset/151 862s ok 1450 /checksum/SHA384/reset/152 862s ok 1451 /checksum/SHA384/reset/153 862s ok 1452 /checksum/SHA384/reset/154 862s ok 1453 /checksum/SHA384/reset/155 862s ok 1454 /checksum/SHA384/reset/156 862s ok 1455 /checksum/SHA384/reset/157 862s ok 1456 /checksum/SHA384/reset/158 862s ok 1457 /checksum/SHA384/reset/159 862s ok 1458 /checksum/SHA384/reset/160 862s ok 1459 /checksum/SHA384/reset/161 862s ok 1460 /checksum/SHA384/reset/162 862s ok 1461 /checksum/SHA384/reset/163 862s ok 1462 /checksum/SHA384/reset/164 862s ok 1463 /checksum/SHA384/reset/165 862s ok 1464 /checksum/SHA384/reset/166 862s ok 1465 /checksum/SHA384/reset/167 862s ok 1466 /checksum/SHA384/reset/168 862s ok 1467 /checksum/SHA384/reset/169 862s ok 1468 /checksum/SHA384/reset/170 862s ok 1469 /checksum/SHA384/reset/171 862s ok 1470 /checksum/SHA384/reset/172 862s ok 1471 /checksum/SHA384/reset/173 862s ok 1472 /checksum/SHA384/reset/174 862s ok 1473 /checksum/SHA384/reset/175 862s ok 1474 /checksum/SHA384/reset/176 862s ok 1475 /checksum/SHA384/reset/177 862s ok 1476 /checksum/SHA384/reset/178 862s ok 1477 /checksum/SHA384/reset/179 862s ok 1478 /checksum/SHA384/reset/180 862s ok 1479 /checksum/SHA384/reset/181 862s ok 1480 /checksum/SHA384/reset/182 862s ok 1481 /checksum/SHA384/reset/183 862s # End of reset tests 862s # End of SHA384 tests 862s # Start of SHA512 tests 862s ok 1482 /checksum/SHA512/0 862s ok 1483 /checksum/SHA512/1 862s ok 1484 /checksum/SHA512/2 862s ok 1485 /checksum/SHA512/3 862s ok 1486 /checksum/SHA512/4 862s ok 1487 /checksum/SHA512/5 862s ok 1488 /checksum/SHA512/6 862s ok 1489 /checksum/SHA512/7 862s ok 1490 /checksum/SHA512/8 862s ok 1491 /checksum/SHA512/9 862s ok 1492 /checksum/SHA512/10 862s ok 1493 /checksum/SHA512/11 862s ok 1494 /checksum/SHA512/12 862s ok 1495 /checksum/SHA512/13 862s ok 1496 /checksum/SHA512/14 862s ok 1497 /checksum/SHA512/15 862s ok 1498 /checksum/SHA512/16 862s ok 1499 /checksum/SHA512/17 862s ok 1500 /checksum/SHA512/18 862s ok 1501 /checksum/SHA512/19 862s ok 1502 /checksum/SHA512/20 862s ok 1503 /checksum/SHA512/21 862s ok 1504 /checksum/SHA512/22 862s ok 1505 /checksum/SHA512/23 862s ok 1506 /checksum/SHA512/24 862s ok 1507 /checksum/SHA512/25 862s ok 1508 /checksum/SHA512/26 862s ok 1509 /checksum/SHA512/27 862s ok 1510 /checksum/SHA512/28 862s ok 1511 /checksum/SHA512/29 862s ok 1512 /checksum/SHA512/30 862s ok 1513 /checksum/SHA512/31 862s ok 1514 /checksum/SHA512/32 862s ok 1515 /checksum/SHA512/33 862s ok 1516 /checksum/SHA512/34 862s ok 1517 /checksum/SHA512/35 862s ok 1518 /checksum/SHA512/36 862s ok 1519 /checksum/SHA512/37 862s ok 1520 /checksum/SHA512/38 862s ok 1521 /checksum/SHA512/39 862s ok 1522 /checksum/SHA512/40 862s ok 1523 /checksum/SHA512/41 862s ok 1524 /checksum/SHA512/42 862s ok 1525 /checksum/SHA512/43 862s ok 1526 /checksum/SHA512/44 862s ok 1527 /checksum/SHA512/45 862s ok 1528 /checksum/SHA512/46 862s ok 1529 /checksum/SHA512/47 862s ok 1530 /checksum/SHA512/48 862s ok 1531 /checksum/SHA512/49 862s ok 1532 /checksum/SHA512/50 862s ok 1533 /checksum/SHA512/51 862s ok 1534 /checksum/SHA512/52 862s ok 1535 /checksum/SHA512/53 862s ok 1536 /checksum/SHA512/54 862s ok 1537 /checksum/SHA512/55 862s ok 1538 /checksum/SHA512/56 862s ok 1539 /checksum/SHA512/57 862s ok 1540 /checksum/SHA512/58 862s ok 1541 /checksum/SHA512/59 862s ok 1542 /checksum/SHA512/60 862s ok 1543 /checksum/SHA512/61 862s ok 1544 /checksum/SHA512/62 862s ok 1545 /checksum/SHA512/63 862s ok 1546 /checksum/SHA512/64 862s ok 1547 /checksum/SHA512/65 862s ok 1548 /checksum/SHA512/66 862s ok 1549 /checksum/SHA512/67 862s ok 1550 /checksum/SHA512/68 862s ok 1551 /checksum/SHA512/69 862s ok 1552 /checksum/SHA512/70 862s ok 1553 /checksum/SHA512/71 862s ok 1554 /checksum/SHA512/72 862s ok 1555 /checksum/SHA512/73 862s ok 1556 /checksum/SHA512/74 862s ok 1557 /checksum/SHA512/75 862s ok 1558 /checksum/SHA512/76 862s ok 1559 /checksum/SHA512/77 862s ok 1560 /checksum/SHA512/78 862s ok 1561 /checksum/SHA512/79 862s ok 1562 /checksum/SHA512/80 862s ok 1563 /checksum/SHA512/81 862s ok 1564 /checksum/SHA512/82 862s ok 1565 /checksum/SHA512/83 862s ok 1566 /checksum/SHA512/84 862s ok 1567 /checksum/SHA512/85 862s ok 1568 /checksum/SHA512/86 862s ok 1569 /checksum/SHA512/87 862s ok 1570 /checksum/SHA512/88 862s ok 1571 /checksum/SHA512/89 862s ok 1572 /checksum/SHA512/90 862s ok 1573 /checksum/SHA512/91 862s ok 1574 /checksum/SHA512/92 862s ok 1575 /checksum/SHA512/93 862s ok 1576 /checksum/SHA512/94 862s ok 1577 /checksum/SHA512/95 862s ok 1578 /checksum/SHA512/96 862s ok 1579 /checksum/SHA512/97 862s ok 1580 /checksum/SHA512/98 862s ok 1581 /checksum/SHA512/99 862s ok 1582 /checksum/SHA512/100 862s ok 1583 /checksum/SHA512/101 862s ok 1584 /checksum/SHA512/102 862s ok 1585 /checksum/SHA512/103 862s ok 1586 /checksum/SHA512/104 862s ok 1587 /checksum/SHA512/105 862s ok 1588 /checksum/SHA512/106 862s ok 1589 /checksum/SHA512/107 862s ok 1590 /checksum/SHA512/108 862s ok 1591 /checksum/SHA512/109 862s ok 1592 /checksum/SHA512/110 862s ok 1593 /checksum/SHA512/111 862s ok 1594 /checksum/SHA512/112 862s ok 1595 /checksum/SHA512/113 862s ok 1596 /checksum/SHA512/114 862s ok 1597 /checksum/SHA512/115 862s ok 1598 /checksum/SHA512/116 862s ok 1599 /checksum/SHA512/117 862s ok 1600 /checksum/SHA512/118 862s ok 1601 /checksum/SHA512/119 862s ok 1602 /checksum/SHA512/120 862s ok 1603 /checksum/SHA512/121 862s ok 1604 /checksum/SHA512/122 862s ok 1605 /checksum/SHA512/123 862s ok 1606 /checksum/SHA512/124 862s ok 1607 /checksum/SHA512/125 862s ok 1608 /checksum/SHA512/126 862s ok 1609 /checksum/SHA512/127 862s ok 1610 /checksum/SHA512/128 862s ok 1611 /checksum/SHA512/129 862s ok 1612 /checksum/SHA512/130 862s ok 1613 /checksum/SHA512/131 862s ok 1614 /checksum/SHA512/132 862s ok 1615 /checksum/SHA512/133 862s ok 1616 /checksum/SHA512/134 862s ok 1617 /checksum/SHA512/135 862s ok 1618 /checksum/SHA512/136 862s ok 1619 /checksum/SHA512/137 862s ok 1620 /checksum/SHA512/138 862s ok 1621 /checksum/SHA512/139 862s ok 1622 /checksum/SHA512/140 862s ok 1623 /checksum/SHA512/141 862s ok 1624 /checksum/SHA512/142 862s ok 1625 /checksum/SHA512/143 862s ok 1626 /checksum/SHA512/144 862s ok 1627 /checksum/SHA512/145 862s ok 1628 /checksum/SHA512/146 862s ok 1629 /checksum/SHA512/147 862s ok 1630 /checksum/SHA512/148 862s ok 1631 /checksum/SHA512/149 862s ok 1632 /checksum/SHA512/150 862s ok 1633 /checksum/SHA512/151 862s ok 1634 /checksum/SHA512/152 862s ok 1635 /checksum/SHA512/153 862s ok 1636 /checksum/SHA512/154 862s ok 1637 /checksum/SHA512/155 862s ok 1638 /checksum/SHA512/156 862s ok 1639 /checksum/SHA512/157 862s ok 1640 /checksum/SHA512/158 862s ok 1641 /checksum/SHA512/159 862s ok 1642 /checksum/SHA512/160 862s ok 1643 /checksum/SHA512/161 862s ok 1644 /checksum/SHA512/162 862s ok 1645 /checksum/SHA512/163 862s ok 1646 /checksum/SHA512/164 862s ok 1647 /checksum/SHA512/165 862s ok 1648 /checksum/SHA512/166 862s ok 1649 /checksum/SHA512/167 862s ok 1650 /checksum/SHA512/168 862s ok 1651 /checksum/SHA512/169 862s ok 1652 /checksum/SHA512/170 862s ok 1653 /checksum/SHA512/171 862s ok 1654 /checksum/SHA512/172 862s ok 1655 /checksum/SHA512/173 862s ok 1656 /checksum/SHA512/174 862s ok 1657 /checksum/SHA512/175 862s ok 1658 /checksum/SHA512/176 862s ok 1659 /checksum/SHA512/177 862s ok 1660 /checksum/SHA512/178 862s ok 1661 /checksum/SHA512/179 862s ok 1662 /checksum/SHA512/180 862s ok 1663 /checksum/SHA512/181 863s ok 1664 /checksum/SHA512/182 863s ok 1665 /checksum/SHA512/183 863s ok 1666 /checksum/SHA512/string 863s ok 1667 /checksum/SHA512/bytes 863s # Start of reset tests 863s ok 1668 /checksum/SHA512/reset/0 863s ok 1669 /checksum/SHA512/reset/1 863s ok 1670 /checksum/SHA512/reset/2 863s ok 1671 /checksum/SHA512/reset/3 863s ok 1672 /checksum/SHA512/reset/4 863s ok 1673 /checksum/SHA512/reset/5 863s ok 1674 /checksum/SHA512/reset/6 863s ok 1675 /checksum/SHA512/reset/7 863s ok 1676 /checksum/SHA512/reset/8 863s ok 1677 /checksum/SHA512/reset/9 863s ok 1678 /checksum/SHA512/reset/10 863s ok 1679 /checksum/SHA512/reset/11 863s ok 1680 /checksum/SHA512/reset/12 863s ok 1681 /checksum/SHA512/reset/13 863s ok 1682 /checksum/SHA512/reset/14 863s ok 1683 /checksum/SHA512/reset/15 863s ok 1684 /checksum/SHA512/reset/16 863s ok 1685 /checksum/SHA512/reset/17 863s ok 1686 /checksum/SHA512/reset/18 863s ok 1687 /checksum/SHA512/reset/19 863s ok 1688 /checksum/SHA512/reset/20 863s ok 1689 /checksum/SHA512/reset/21 863s ok 1690 /checksum/SHA512/reset/22 863s ok 1691 /checksum/SHA512/reset/23 863s ok 1692 /checksum/SHA512/reset/24 863s ok 1693 /checksum/SHA512/reset/25 863s ok 1694 /checksum/SHA512/reset/26 863s ok 1695 /checksum/SHA512/reset/27 863s ok 1696 /checksum/SHA512/reset/28 863s ok 1697 /checksum/SHA512/reset/29 863s ok 1698 /checksum/SHA512/reset/30 863s ok 1699 /checksum/SHA512/reset/31 863s ok 1700 /checksum/SHA512/reset/32 863s ok 1701 /checksum/SHA512/reset/33 863s ok 1702 /checksum/SHA512/reset/34 863s ok 1703 /checksum/SHA512/reset/35 863s ok 1704 /checksum/SHA512/reset/36 863s ok 1705 /checksum/SHA512/reset/37 863s ok 1706 /checksum/SHA512/reset/38 863s ok 1707 /checksum/SHA512/reset/39 863s ok 1708 /checksum/SHA512/reset/40 863s ok 1709 /checksum/SHA512/reset/41 863s ok 1710 /checksum/SHA512/reset/42 863s ok 1711 /checksum/SHA512/reset/43 863s ok 1712 /checksum/SHA512/reset/44 863s ok 1713 /checksum/SHA512/reset/45 863s ok 1714 /checksum/SHA512/reset/46 863s ok 1715 /checksum/SHA512/reset/47 863s ok 1716 /checksum/SHA512/reset/48 863s ok 1717 /checksum/SHA512/reset/49 863s ok 1718 /checksum/SHA512/reset/50 863s ok 1719 /checksum/SHA512/reset/51 863s ok 1720 /checksum/SHA512/reset/52 863s ok 1721 /checksum/SHA512/reset/53 863s ok 1722 /checksum/SHA512/reset/54 863s ok 1723 /checksum/SHA512/reset/55 863s ok 1724 /checksum/SHA512/reset/56 863s ok 1725 /checksum/SHA512/reset/57 863s ok 1726 /checksum/SHA512/reset/58 863s ok 1727 /checksum/SHA512/reset/59 863s ok 1728 /checksum/SHA512/reset/60 863s ok 1729 /checksum/SHA512/reset/61 863s ok 1730 /checksum/SHA512/reset/62 863s ok 1731 /checksum/SHA512/reset/63 863s ok 1732 /checksum/SHA512/reset/64 863s ok 1733 /checksum/SHA512/reset/65 863s ok 1734 /checksum/SHA512/reset/66 863s ok 1735 /checksum/SHA512/reset/67 863s ok 1736 /checksum/SHA512/reset/68 863s ok 1737 /checksum/SHA512/reset/69 863s ok 1738 /checksum/SHA512/reset/70 863s ok 1739 /checksum/SHA512/reset/71 863s ok 1740 /checksum/SHA512/reset/72 863s ok 1741 /checksum/SHA512/reset/73 863s ok 1742 /checksum/SHA512/reset/74 863s ok 1743 /checksum/SHA512/reset/75 863s ok 1744 /checksum/SHA512/reset/76 863s ok 1745 /checksum/SHA512/reset/77 863s ok 1746 /checksum/SHA512/reset/78 863s ok 1747 /checksum/SHA512/reset/79 863s ok 1748 /checksum/SHA512/reset/80 863s ok 1749 /checksum/SHA512/reset/81 863s ok 1750 /checksum/SHA512/reset/82 863s ok 1751 /checksum/SHA512/reset/83 863s ok 1752 /checksum/SHA512/reset/84 863s ok 1753 /checksum/SHA512/reset/85 863s ok 1754 /checksum/SHA512/reset/86 863s ok 1755 /checksum/SHA512/reset/87 863s ok 1756 /checksum/SHA512/reset/88 863s ok 1757 /checksum/SHA512/reset/89 863s ok 1758 /checksum/SHA512/reset/90 863s ok 1759 /checksum/SHA512/reset/91 863s ok 1760 /checksum/SHA512/reset/92 863s ok 1761 /checksum/SHA512/reset/93 863s ok 1762 /checksum/SHA512/reset/94 863s ok 1763 /checksum/SHA512/reset/95 863s ok 1764 /checksum/SHA512/reset/96 863s ok 1765 /checksum/SHA512/reset/97 863s ok 1766 /checksum/SHA512/reset/98 863s ok 1767 /checksum/SHA512/reset/99 863s ok 1768 /checksum/SHA512/reset/100 863s ok 1769 /checksum/SHA512/reset/101 863s ok 1770 /checksum/SHA512/reset/102 863s ok 1771 /checksum/SHA512/reset/103 863s ok 1772 /checksum/SHA512/reset/104 863s ok 1773 /checksum/SHA512/reset/105 863s ok 1774 /checksum/SHA512/reset/106 863s ok 1775 /checksum/SHA512/reset/107 863s ok 1776 /checksum/SHA512/reset/108 863s ok 1777 /checksum/SHA512/reset/109 863s ok 1778 /checksum/SHA512/reset/110 863s ok 1779 /checksum/SHA512/reset/111 863s ok 1780 /checksum/SHA512/reset/112 863s ok 1781 /checksum/SHA512/reset/113 863s ok 1782 /checksum/SHA512/reset/114 863s ok 1783 /checksum/SHA512/reset/115 863s ok 1784 /checksum/SHA512/reset/116 863s ok 1785 /checksum/SHA512/reset/117 863s ok 1786 /checksum/SHA512/reset/118 863s ok 1787 /checksum/SHA512/reset/119 863s ok 1788 /checksum/SHA512/reset/120 863s ok 1789 /checksum/SHA512/reset/121 863s ok 1790 /checksum/SHA512/reset/122 863s ok 1791 /checksum/SHA512/reset/123 863s ok 1792 /checksum/SHA512/reset/124 863s ok 1793 /checksum/SHA512/reset/125 863s ok 1794 /checksum/SHA512/reset/126 863s ok 1795 /checksum/SHA512/reset/127 863s ok 1796 /checksum/SHA512/reset/128 863s ok 1797 /checksum/SHA512/reset/129 863s ok 1798 /checksum/SHA512/reset/130 863s ok 1799 /checksum/SHA512/reset/131 863s ok 1800 /checksum/SHA512/reset/132 863s ok 1801 /checksum/SHA512/reset/133 863s ok 1802 /checksum/SHA512/reset/134 863s ok 1803 /checksum/SHA512/reset/135 863s ok 1804 /checksum/SHA512/reset/136 863s ok 1805 /checksum/SHA512/reset/137 863s ok 1806 /checksum/SHA512/reset/138 863s ok 1807 /checksum/SHA512/reset/139 863s ok 1808 /checksum/SHA512/reset/140 863s ok 1809 /checksum/SHA512/reset/141 863s ok 1810 /checksum/SHA512/reset/142 863s ok 1811 /checksum/SHA512/reset/143 863s ok 1812 /checksum/SHA512/reset/144 863s ok 1813 /checksum/SHA512/reset/145 863s ok 1814 /checksum/SHA512/reset/146 863s ok 1815 /checksum/SHA512/reset/147 863s ok 1816 /checksum/SHA512/reset/148 863s ok 1817 /checksum/SHA512/reset/149 863s ok 1818 /checksum/SHA512/reset/150 863s ok 1819 /checksum/SHA512/reset/151 863s ok 1820 /checksum/SHA512/reset/152 863s ok 1821 /checksum/SHA512/reset/153 863s ok 1822 /checksum/SHA512/reset/154 863s ok 1823 /checksum/SHA512/reset/155 863s ok 1824 /checksum/SHA512/reset/156 863s ok 1825 /checksum/SHA512/reset/157 863s ok 1826 /checksum/SHA512/reset/158 863s ok 1827 /checksum/SHA512/reset/159 863s ok 1828 /checksum/SHA512/reset/160 863s ok 1829 /checksum/SHA512/reset/161 863s ok 1830 /checksum/SHA512/reset/162 863s ok 1831 /checksum/SHA512/reset/163 863s ok 1832 /checksum/SHA512/reset/164 863s ok 1833 /checksum/SHA512/reset/165 863s ok 1834 /checksum/SHA512/reset/166 863s ok 1835 /checksum/SHA512/reset/167 863s ok 1836 /checksum/SHA512/reset/168 863s ok 1837 /checksum/SHA512/reset/169 863s ok 1838 /checksum/SHA512/reset/170 863s ok 1839 /checksum/SHA512/reset/171 863s ok 1840 /checksum/SHA512/reset/172 863s ok 1841 /checksum/SHA512/reset/173 863s ok 1842 /checksum/SHA512/reset/174 863s ok 1843 /checksum/SHA512/reset/175 863s ok 1844 /checksum/SHA512/reset/176 863s ok 1845 /checksum/SHA512/reset/177 863s ok 1846 /checksum/SHA512/reset/178 863s ok 1847 /checksum/SHA512/reset/179 863s ok 1848 /checksum/SHA512/reset/180 863s ok 1849 /checksum/SHA512/reset/181 863s ok 1850 /checksum/SHA512/reset/182 863s ok 1851 /checksum/SHA512/reset/183 863s # End of reset tests 863s # End of SHA512 tests 863s # End of checksum tests 863s ok - glib/checksum.test 863s # Running test: glib/cxx.test 863s TAP version 13 863s # random seed: R02Se146361f55c78d2cd673347493bc2247 863s 1..2 863s # Start of gtask tests 863s # 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. 863s ok 1 /gtask/name 863s # Start of name tests 863s # 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. 863s ok 2 /gtask/name/macro-wrapper 863s # End of name tests 863s # End of gtask tests 863s ok - glib/cxx.test 863s # Running test: glib/uri.test 863s TAP version 13 863s # random seed: R02S7b403079d5938a8feb71522e2e32035d 863s 1..24 863s # Start of uri tests 863s ok 1 /uri/file-to-uri 863s ok 2 /uri/file-from-uri 863s ok 3 /uri/file-roundtrip 863s ok 4 /uri/list 863s # Test 0: %2Babc %4F 863s # Test 1: %2Babc %4F 863s # Test 2: %00abc %4F 863s # Test 3: /cursors/none.png 863s # Test 4: /cursors%2fbad-subdir/none.png 863s # Test 5: %0 863s # Test 6: %ra 863s # Test 7: %2r 863s # Test 8: Timm B?der 863s # Test 9: (null) 863s ok 5 /uri/unescape-string 863s ok 6 /uri/unescape-segment 863s # Test 0: abcdefgABCDEFG._~ 863s # Test 1: :+ \\?# 863s # Test 2: a+b:c 863s # Test 3: a+b:c\303\234 863s # Test 4: \374;\322 863s # Test 5: \303\261\303( 863s ok 7 /uri/escape-string 863s ok 8 /uri/escape-bytes 863s ok 9 /uri/scheme 863s ok 10 /uri/build 863s ok 11 /uri/split 863s ok 12 /uri/is_valid 863s ok 13 /uri/to-string 863s ok 14 /uri/join 863s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 863s # Combination 0 863s # Combination 1 863s # Combination 2 863s # Combination 3 863s # Combination 4 863s # Combination 5 863s # Combination 6 863s # Combination 7 863s # Combination 8 863s # Combination 9 863s # Combination 10 863s # Combination 11 863s # Combination 12 863s # Combination 13 863s # Combination 14 863s # Combination 15 863s # Combination 16 863s # Combination 17 863s # Combination 18 863s # Combination 19 863s # Combination 20 863s # Combination 21 863s # Combination 22 863s # Combination 23 863s # Combination 24 863s # Combination 25 863s # Combination 26 863s # Combination 27 863s # Combination 28 863s # Combination 29 863s # Combination 30 863s # Combination 31 863s # Combination 32 863s # Combination 33 863s # Combination 34 863s # Combination 35 863s # Combination 36 863s # Combination 37 863s # Combination 38 863s # Combination 39 863s # Combination 40 863s # Combination 41 863s # Combination 42 863s # Combination 43 863s # Combination 44 863s # Combination 45 863s # Combination 46 863s # Combination 47 863s # Combination 48 863s # Combination 49 863s # Combination 50 863s # Combination 51 863s # Combination 52 863s # Combination 53 863s # Combination 54 863s # Combination 55 863s # Combination 56 863s # Combination 57 863s # Combination 58 863s # Combination 59 863s # Combination 60 863s # Combination 61 863s # Combination 62 863s # Combination 63 863s # Combination 64 863s # Combination 65 863s # Combination 66 863s # Combination 67 863s # Combination 68 863s # Combination 69 863s # Combination 70 863s # Combination 71 863s # Combination 72 863s # Combination 73 863s # Combination 74 863s # Combination 75 863s # Combination 76 863s # Combination 77 863s # Combination 78 863s # Combination 79 863s # Combination 80 863s # Combination 81 863s # Combination 82 863s # Combination 83 863s # Combination 84 863s # Combination 85 863s # Combination 86 863s # Combination 87 863s # Combination 88 863s # Combination 89 863s # Combination 90 863s # Combination 91 863s # Combination 92 863s # Combination 93 863s # Combination 94 863s # Combination 95 863s # Combination 96 863s # Combination 97 863s # Combination 98 863s # Combination 99 863s # Combination 100 863s # Combination 101 863s # Combination 102 863s # Combination 103 863s # Combination 104 863s # Combination 105 863s # Combination 106 863s # Combination 107 863s # Combination 108 863s # Combination 109 863s # Combination 110 863s # Combination 111 863s # Combination 112 863s # Combination 113 863s # Combination 114 863s # Combination 115 863s # Combination 116 863s # Combination 117 863s # Combination 118 863s # Combination 119 863s # Combination 120 863s # Combination 121 863s # Combination 122 863s # Combination 123 863s # Combination 124 863s # Combination 125 863s # Combination 126 863s # Combination 127 863s # Combination 128 863s # Combination 129 863s # Combination 130 863s # Combination 131 863s # Combination 132 863s # Combination 133 863s # Combination 134 863s # Combination 135 863s # Combination 136 863s # Combination 137 863s # Combination 138 863s # Combination 139 863s # Combination 140 863s # Combination 141 863s # Combination 142 863s # Combination 143 863s # Combination 144 863s # Combination 145 863s # Combination 146 863s # Combination 147 863s # Combination 148 863s # Combination 149 863s # Combination 150 863s # Combination 151 863s # Combination 152 863s # Combination 153 863s # Combination 154 863s # Combination 155 863s # Combination 156 863s # Combination 157 863s # Combination 158 863s # Combination 159 863s # Combination 160 863s # Combination 161 863s # Combination 162 863s # Combination 163 863s # Combination 164 863s # Combination 165 863s # Combination 166 863s # Combination 167 863s # Combination 168 863s # Combination 169 863s # Combination 170 863s # Combination 171 863s # Combination 172 863s # Combination 173 863s # Combination 174 863s # Combination 175 863s # Combination 176 863s # Combination 177 863s # Combination 178 863s # Combination 179 863s # Combination 180 863s # Combination 181 863s # Combination 182 863s # Combination 183 863s # Combination 184 863s # Combination 185 863s # Combination 186 863s # Combination 187 863s # Combination 188 863s # Combination 189 863s # Combination 190 863s # Combination 191 863s # Combination 192 863s # Combination 193 863s # Combination 194 863s # Combination 195 863s # Combination 196 863s # Combination 197 863s # Combination 198 863s # Combination 199 863s # Combination 200 863s # Combination 201 863s # Combination 202 863s # Combination 203 863s # Combination 204 863s # Combination 205 863s # Combination 206 863s # Combination 207 863s # Combination 208 863s # Combination 209 863s # Combination 210 863s # Combination 211 863s # Combination 212 863s # Combination 213 863s # Combination 214 863s # Combination 215 863s # Combination 216 863s # Combination 217 863s # Combination 218 863s # Combination 219 863s # Combination 220 863s # Combination 221 863s # Combination 222 863s # Combination 223 863s # Combination 224 863s # Combination 225 863s # Combination 226 863s # Combination 227 863s # Combination 228 863s # Combination 229 863s # Combination 230 863s # Combination 231 863s # Combination 232 863s # Combination 233 863s # Combination 234 863s # Combination 235 863s # Combination 236 863s # Combination 237 863s # Combination 238 863s # Combination 239 863s # Combination 240 863s # Combination 241 863s # Combination 242 863s # Combination 243 863s # Combination 244 863s # Combination 245 863s # Combination 246 863s # Combination 247 863s # Combination 248 863s # Combination 249 863s # Combination 250 863s # Combination 251 863s # Combination 252 863s # Combination 253 863s # Combination 254 863s # Combination 255 863s ok 15 /uri/join-split-round-trip 863s ok 16 /uri/normalize 863s # Start of unescape-bytes tests 863s # Test 0: %00%00 863s # Test 1: /cursors/none.png 863s # Test 2: /cursors%2fbad-subdir/none.png 863s # Test 3: %% 863s # Test 4: % 863s ok 17 /uri/unescape-bytes/nul-terminated 863s # Test 0: %00%00 863s # Test 1: /cursors/none.png 863s # Test 2: /cursors%2fbad-subdir/none.png 863s # Test 3: %% 863s # Test 4: % 863s ok 18 /uri/unescape-bytes/length 863s # End of unescape-bytes tests 863s # Start of parsing tests 863s # Test 0: foo: 863s # Test 1: file:/dev/null 863s # Test 2: file:///dev/null 863s # Test 3: ftp://user@host/path 863s # Test 4: ftp://user@host:9999/path 863s # Test 5: ftp://user:password@host/path 863s # Test 6: ftp://user:password@host:9999/path 863s # Test 7: ftp://user:password@host 863s # Test 8: http://us%65r@host 863s # Test 9: http://us%40r@host 863s # Test 10: http://us%3ar@host 863s # Test 11: http://us%2fr@host 863s # Test 12: http://us%3fr@host 863s # Test 13: http://host?query 863s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 863s # 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 863s # Test 16: http://space/%20 863s # Test 17: http://delims/%3C%3E%23%25%22 863s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 863s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 863s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 863s # Test 21: http://[3ffe:2a00:100:7031::1] 863s # Test 22: http://[1080::8:800:200C:417A]/foo 863s # Test 23: http://[::192.9.5.5]/ipng 863s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 863s # Test 25: http://[2010:836B:4179::836B:4179] 863s # Test 26: http://host/path with spaces 863s # Test 27: http://host/path 863s # Test 28: http://host/path 863s # Test 29: http://host 863s # Test 30: http://host:999 863s # Test 31: http://host/pa 863s # th 863s # Test 32: http: 863s # //host/path 863s # Test 33: http:// host/path 863s # Test 34: http://host/path? 863s # Test 35: http://host/path# 863s # Test 36: http://host/path% 863s # Test 37: http://h%ost/path 863s # Test 38: http://host/path%% 863s # Test 39: http://host/path%%% 863s # Test 40: http://host/path%/x/ 863s # Test 41: http://host/path%0x/ 863s # Test 42: http://host/path%ax 863s # Test 43: http://host/p?th/ 863s # Test 44: HTTP://////////////// 863s # Test 45: http://@host 863s # Test 46: http://:@host 863s # Test 47: scheme://foo%3Abar._webdav._tcp.local 863s # Test 48: http://example.com/.. 863s # Test 49: foo0://host/path 863s # Test 50: f0.o://host/path 863s # Test 51: http++://host/path 863s # Test 52: http-ish://host/path 863s # Test 53: http://[fe80::dead:beef%]/ 863s # Test 54: http://[fe80::dead:beef%em1]/ 863s # Test 55: http://[fe80::dead:beef%em1]/ 863s # Test 56: http://[fe80::dead:beef%25em1]/ 863s # Test 57: http://[fe80::dead:beef%25em1%20]/ 863s # Test 58: http://[fe80::dead:beef%25em%31]/ 863s # Test 59: http://[fe80::dead:beef%10]/ 863s # Test 60: http://[fe80::dead:beef%10]/ 863s # Test 61: http://[fe80::dead:beef%25]/ 863s # Test 62: http://[fe80::dead:beef%25]/ 863s # Test 63: http://[192.168.0.1%25em1]/ 863s # Test 64: http://[fe80::dead:beef%2em1]/ 863s # Test 65: http://[fe80::dead:beef%2em1]/ 863s # Test 66: http://[fe80::dead:beef%25em1%00]/ 863s # Test 67: http://[fe80::dead:beef%25em1%00]/ 863s # Test 68: http://xn--mixed-?p/ 863s ok 19 /uri/parsing/absolute 863s ok 20 /uri/parsing/relative 863s # End of parsing tests 863s # Start of iter-params tests 863s # URI 0: p1=foo&p2=bar;p3=baz 863s # URI 1: p1=foo&p2=bar 863s # URI 2: p1=foo&&P1=bar 863s # URI 3: %00=foo 863s # URI 4: p1=%00 863s # URI 5: p1=foo&p1=bar 863s # URI 6: p1=foo&P1=bar 863s # URI 7: =% 863s # URI 8: = 863s # URI 9: foo 863s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 863s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 863s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 863s ok 21 /uri/iter-params/nul-terminated 863s # URI 0: p1=foo&p2=bar;p3=baz 863s # URI 1: p1=foo&p2=bar 863s # URI 2: p1=foo&&P1=bar 863s # URI 3: %00=foo 863s # URI 4: p1=%00 863s # URI 5: p1=foo&p1=bar 863s # URI 6: p1=foo&P1=bar 863s # URI 7: =% 863s # URI 8: = 863s # URI 9: foo 863s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 863s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 863s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 863s ok 22 /uri/iter-params/length 863s # End of iter-params tests 863s # Start of parse-params tests 863s # URI 0: p1=foo&p2=bar;p3=baz 863s # URI 1: p1=foo&p2=bar 863s # URI 2: p1=foo&&P1=bar 863s # URI 3: %00=foo 863s # URI 4: p1=%00 863s # URI 5: p1=foo&p1=bar 863s # URI 6: p1=foo&P1=bar 863s # URI 7: =% 863s # URI 8: = 863s # URI 9: foo 863s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 863s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 863s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 863s ok 23 /uri/parse-params/nul-terminated 863s # URI 0: p1=foo&p2=bar;p3=baz 863s # URI 1: p1=foo&p2=bar 863s # URI 2: p1=foo&&P1=bar 863s # URI 3: %00=foo 863s # URI 4: p1=%00 863s # URI 5: p1=foo&p1=bar 863s # URI 6: p1=foo&P1=bar 863s # URI 7: =% 863s # URI 8: = 863s # URI 9: foo 863s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 863s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 863s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 863s ok 24 /uri/parse-params/length 863s # End of parse-params tests 863s # End of uri tests 863s ok - glib/uri.test 863s # Running test: glib/utils-isolated.test 863s TAP version 13 863s # random seed: R02Sba2f08159a4ce7921e4e1c692a22cea1 863s 1..9 863s # Start of utils-isolated tests 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/tmp-dir/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/tmp-dir/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/tmp-dir/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/tmp-dir/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/tmp-dir/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/tmp-dir/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/tmp-dir/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_OTJPK2/utils-isolated/tmp-dir/.dirs/runtime 863s ok 1 /utils-isolated/tmp-dir 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/home-dir/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/home-dir/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/home-dir/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/home-dir/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/home-dir/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/home-dir/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/home-dir/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_OTJPK2/utils-isolated/home-dir/.dirs/runtime 863s ok 2 /utils-isolated/home-dir 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-cache-dir/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-cache-dir/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/user-cache-dir/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-cache-dir/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/user-cache-dir/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-cache-dir/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-cache-dir/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-cache-dir/.dirs/runtime 863s ok 3 /utils-isolated/user-cache-dir 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/system-config-dirs/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/system-config-dirs/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/system-config-dirs/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/system-config-dirs/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/system-config-dirs/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/system-config-dirs/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/system-config-dirs/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_OTJPK2/utils-isolated/system-config-dirs/.dirs/runtime 863s ok 4 /utils-isolated/system-config-dirs 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-config-dir/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-config-dir/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/user-config-dir/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-config-dir/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/user-config-dir/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-config-dir/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-config-dir/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-config-dir/.dirs/runtime 863s ok 5 /utils-isolated/user-config-dir 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/system-data-dirs/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/system-data-dirs/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/system-data-dirs/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/system-data-dirs/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/system-data-dirs/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/system-data-dirs/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/system-data-dirs/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_OTJPK2/utils-isolated/system-data-dirs/.dirs/runtime 863s ok 6 /utils-isolated/system-data-dirs 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-data-dir/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-data-dir/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/user-data-dir/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-data-dir/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/user-data-dir/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-data-dir/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-data-dir/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-data-dir/.dirs/runtime 863s ok 7 /utils-isolated/user-data-dir 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-state-dir/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-state-dir/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/user-state-dir/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-state-dir/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/user-state-dir/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-state-dir/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-state-dir/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-state-dir/.dirs/runtime 863s ok 8 /utils-isolated/user-state-dir 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-runtime-dir/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-runtime-dir/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/user-runtime-dir/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-runtime-dir/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_OTJPK2/utils-isolated/user-runtime-dir/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-runtime-dir/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-runtime-dir/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_OTJPK2/utils-isolated/user-runtime-dir/.dirs/runtime 863s ok 9 /utils-isolated/user-runtime-dir 863s # End of utils-isolated tests 863s ok - glib/utils-isolated.test 863s # Running test: glib/dbus-appinfo.test 863s TAP version 13 863s # random seed: R02Se98326e0ff60571cf743d7a20bdaf6d9 863s 1..3 863s # Start of appinfo tests 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 863s ok 1 /appinfo/dbusappinfo 863s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 863s dbus-daemon[3722]: [session uid=1000 pid=3722] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=3721 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 863s # Acquired a message bus connection 863s dbus-daemon[3722]: [session uid=1000 pid=3722] Successfully activated service 'org.freedesktop.portal.Documents' 863s # Acquired the name org.freedesktop.portal.Documents 863s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 863s ok 2 /appinfo/flatpak-doc-export 863s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 863s ok 3 /appinfo/flatpak-missing-doc-export 863s # End of appinfo tests 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # Lost the name org.freedesktop.portal.Documents 863s ok - glib/dbus-appinfo.test 863s # Running test: glib/bookmarkfile.test 863s TAP version 13 863s # random seed: R02S7468815550c602d6218ae6aafe8207c0 863s 1..96 863s # Start of bookmarks tests 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/load-from-data-dirs/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/load-from-data-dirs/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/load-from-data-dirs/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/load-from-data-dirs/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/load-from-data-dirs/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/load-from-data-dirs/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/load-from-data-dirs/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/load-from-data-dirs/.dirs/runtime 863s ok 1 /bookmarks/load-from-data-dirs 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/to-file/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/to-file/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/to-file/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/to-file/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/to-file/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/to-file/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/to-file/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/to-file/.dirs/runtime 863s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_O86MK2/bookmarkfile-test-J32MK2.xbel 863s # Roundtrip from a valid bookmark file 863s ok 2 /bookmarks/to-file 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/move-item/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/move-item/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/move-item/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/move-item/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/move-item/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/move-item/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/move-item/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/move-item/.dirs/runtime 863s ok 3 /bookmarks/move-item 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/corner-cases/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/corner-cases/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/corner-cases/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/corner-cases/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/corner-cases/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/corner-cases/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/corner-cases/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/corner-cases/.dirs/runtime 863s ok 4 /bookmarks/corner-cases 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/misc/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/misc/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/misc/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/misc/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/misc/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/misc/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/misc/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/misc/.dirs/runtime 863s ok 5 /bookmarks/misc 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/deprecated/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/deprecated/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/deprecated/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/deprecated/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/deprecated/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/deprecated/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/deprecated/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/deprecated/.dirs/runtime 863s ok 6 /bookmarks/deprecated 863s # Start of parse tests 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-01.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-01.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-01.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-01.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-01.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 863s ok 7 /bookmarks/parse/fail-01.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-02.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-02.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-02.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-02.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-02.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 863s ok 8 /bookmarks/parse/fail-02.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-03.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-03.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-03.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-03.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-03.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 863s ok 9 /bookmarks/parse/fail-03.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-04.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-04.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-04.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-04.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-04.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 863s ok 10 /bookmarks/parse/fail-04.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-05.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-05.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-05.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-05.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-05.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 863s ok 11 /bookmarks/parse/fail-05.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-06.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-06.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-06.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-06.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-06.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 863s ok 12 /bookmarks/parse/fail-06.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-07.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-07.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-07.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-07.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-07.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 863s ok 13 /bookmarks/parse/fail-07.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-08.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-08.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-08.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-08.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-08.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 863s ok 14 /bookmarks/parse/fail-08.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-09.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-09.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-09.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-09.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-09.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 863s ok 15 /bookmarks/parse/fail-09.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-10.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-10.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-10.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-10.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-10.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 863s ok 16 /bookmarks/parse/fail-10.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-11.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-11.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-11.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-11.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-11.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 863s ok 17 /bookmarks/parse/fail-11.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-12.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-12.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-12.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-12.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-12.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 863s ok 18 /bookmarks/parse/fail-12.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-13.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-13.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-13.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-13.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-13.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 863s ok 19 /bookmarks/parse/fail-13.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-14.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-14.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-14.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-14.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-14.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 863s ok 20 /bookmarks/parse/fail-14.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-15.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-15.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-15.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-15.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-15.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 863s ok 21 /bookmarks/parse/fail-15.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-16.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-16.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-16.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-16.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-16.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 863s ok 22 /bookmarks/parse/fail-16.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-17.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-17.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-17.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-17.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-17.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 863s ok 23 /bookmarks/parse/fail-17.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-18.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-18.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-18.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-18.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-18.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 863s ok 24 /bookmarks/parse/fail-18.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-19.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-19.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-19.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-19.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-19.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 863s ok 25 /bookmarks/parse/fail-19.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-20.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-20.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-20.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-20.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-20.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 863s ok 26 /bookmarks/parse/fail-20.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-21.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-21.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-21.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-21.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-21.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 863s ok 27 /bookmarks/parse/fail-21.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-22.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-22.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-22.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-22.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-22.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 863s ok 28 /bookmarks/parse/fail-22.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-23.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-23.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-23.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-23.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-23.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 863s ok 29 /bookmarks/parse/fail-23.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-24.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-24.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-24.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-24.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-24.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 863s ok 30 /bookmarks/parse/fail-24.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-25.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-25.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-25.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-25.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-25.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 863s ok 31 /bookmarks/parse/fail-25.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-26.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-26.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-26.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-26.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-26.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 863s ok 32 /bookmarks/parse/fail-26.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-27.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-27.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-27.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-27.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-27.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 863s ok 33 /bookmarks/parse/fail-27.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-28.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-28.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-28.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-28.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-28.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 863s ok 34 /bookmarks/parse/fail-28.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-29.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-29.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-29.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-29.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-29.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 863s ok 35 /bookmarks/parse/fail-29.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-30.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-30.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-30.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-30.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-30.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 863s ok 36 /bookmarks/parse/fail-30.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-31.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-31.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-31.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-31.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-31.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 863s ok 37 /bookmarks/parse/fail-31.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-32.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-32.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-32.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-32.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-32.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 863s ok 38 /bookmarks/parse/fail-32.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-33.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-33.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-33.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-33.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-33.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 863s ok 39 /bookmarks/parse/fail-33.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-34.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-34.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-34.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-34.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-34.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 863s ok 40 /bookmarks/parse/fail-34.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-35.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-35.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-35.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-35.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-35.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 863s ok 41 /bookmarks/parse/fail-35.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-36.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-36.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-36.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-36.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-36.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 863s ok 42 /bookmarks/parse/fail-36.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-37.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-37.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-37.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-37.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-37.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 863s ok 43 /bookmarks/parse/fail-37.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-38.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-38.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-38.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-38.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-38.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 863s ok 44 /bookmarks/parse/fail-38.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-39.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-39.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-39.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-39.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-39.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 863s ok 45 /bookmarks/parse/fail-39.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-40.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-40.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-40.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-40.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-40.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 863s ok 46 /bookmarks/parse/fail-40.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-41.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-41.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-41.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-41.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-41.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 863s ok 47 /bookmarks/parse/fail-41.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-42.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-42.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-42.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-42.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-42.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 863s ok 48 /bookmarks/parse/fail-42.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-01.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-01.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-01.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-01.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-01.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 863s ok 49 /bookmarks/parse/valid-01.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-02.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-02.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-02.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-02.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-02.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 863s ok 50 /bookmarks/parse/valid-02.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-03.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-03.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-03.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-03.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-03.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 863s ok 51 /bookmarks/parse/valid-03.xbel 863s # End of parse tests 863s # Start of copy tests 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-01.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-01.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-01.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-01.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-01.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 863s ok 52 /bookmarks/copy/fail-01.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-02.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-02.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-02.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-02.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-02.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 863s ok 53 /bookmarks/copy/fail-02.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-03.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-03.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-03.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-03.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-03.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 863s ok 54 /bookmarks/copy/fail-03.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-04.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-04.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-04.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-04.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-04.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 863s ok 55 /bookmarks/copy/fail-04.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-05.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-05.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-05.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-05.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-05.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 863s ok 56 /bookmarks/copy/fail-05.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-06.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-06.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-06.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-06.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-06.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 863s ok 57 /bookmarks/copy/fail-06.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-07.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-07.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-07.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-07.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-07.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 863s ok 58 /bookmarks/copy/fail-07.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-08.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-08.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-08.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-08.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-08.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 863s ok 59 /bookmarks/copy/fail-08.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-09.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-09.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-09.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-09.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-09.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 863s ok 60 /bookmarks/copy/fail-09.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-10.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-10.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-10.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-10.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-10.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 863s ok 61 /bookmarks/copy/fail-10.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-11.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-11.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-11.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-11.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-11.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 863s ok 62 /bookmarks/copy/fail-11.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-12.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-12.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-12.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-12.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-12.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 863s ok 63 /bookmarks/copy/fail-12.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-13.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-13.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-13.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-13.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-13.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 863s ok 64 /bookmarks/copy/fail-13.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-14.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-14.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-14.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-14.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-14.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 863s ok 65 /bookmarks/copy/fail-14.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-15.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-15.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-15.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-15.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-15.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 863s ok 66 /bookmarks/copy/fail-15.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-16.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-16.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-16.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-16.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-16.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 863s ok 67 /bookmarks/copy/fail-16.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-17.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-17.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-17.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-17.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-17.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 863s ok 68 /bookmarks/copy/fail-17.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-18.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-18.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-18.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-18.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-18.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 863s ok 69 /bookmarks/copy/fail-18.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-19.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-19.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-19.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-19.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-19.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 863s ok 70 /bookmarks/copy/fail-19.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-20.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-20.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-20.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-20.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-20.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 863s ok 71 /bookmarks/copy/fail-20.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-21.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-21.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-21.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-21.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-21.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 863s ok 72 /bookmarks/copy/fail-21.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-22.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-22.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-22.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-22.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-22.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 863s ok 73 /bookmarks/copy/fail-22.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-23.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-23.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-23.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-23.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-23.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 863s ok 74 /bookmarks/copy/fail-23.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-24.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-24.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-24.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-24.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-24.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 863s ok 75 /bookmarks/copy/fail-24.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-25.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-25.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-25.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-25.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-25.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 863s ok 76 /bookmarks/copy/fail-25.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-26.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-26.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-26.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-26.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-26.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 863s ok 77 /bookmarks/copy/fail-26.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-27.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-27.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-27.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-27.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-27.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 863s ok 78 /bookmarks/copy/fail-27.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-28.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-28.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-28.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-28.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-28.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 863s ok 79 /bookmarks/copy/fail-28.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-29.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-29.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-29.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-29.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-29.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 863s ok 80 /bookmarks/copy/fail-29.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-30.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-30.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-30.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-30.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-30.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 863s ok 81 /bookmarks/copy/fail-30.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-31.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-31.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-31.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-31.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-31.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 863s ok 82 /bookmarks/copy/fail-31.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-32.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-32.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-32.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-32.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-32.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 863s ok 83 /bookmarks/copy/fail-32.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-33.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-33.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-33.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-33.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-33.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 863s ok 84 /bookmarks/copy/fail-33.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-34.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-34.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-34.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-34.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-34.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 863s ok 85 /bookmarks/copy/fail-34.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-35.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-35.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-35.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-35.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-35.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 863s ok 86 /bookmarks/copy/fail-35.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-36.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-36.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-36.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-36.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-36.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 863s ok 87 /bookmarks/copy/fail-36.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-37.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-37.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-37.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-37.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-37.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 863s ok 88 /bookmarks/copy/fail-37.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-38.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-38.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-38.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-38.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-38.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 863s ok 89 /bookmarks/copy/fail-38.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-39.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-39.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-39.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-39.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-39.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 863s ok 90 /bookmarks/copy/fail-39.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-40.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-40.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-40.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-40.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-40.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 863s ok 91 /bookmarks/copy/fail-40.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-41.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-41.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-41.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-41.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-41.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 863s ok 92 /bookmarks/copy/fail-41.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-42.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-42.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-42.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-42.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-42.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 863s ok 93 /bookmarks/copy/fail-42.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-01.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-01.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-01.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-01.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-01.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 863s ok 94 /bookmarks/copy/valid-01.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-02.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-02.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-02.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-02.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-02.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 863s ok 95 /bookmarks/copy/valid-02.xbel 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-03.xbel/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-03.xbel/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-03.xbel/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-03.xbel/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-03.xbel/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O86MK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 863s ok 96 /bookmarks/copy/valid-03.xbel 863s # End of copy tests 863s # End of bookmarks tests 863s ok - glib/bookmarkfile.test 863s # Running test: glib/objects-refcount2.test 863s TAP version 13 863s # random seed: R02S0f089cf0edc694107530be9625722c93 863s 1..1 863s # Start of gobject tests 863s # Start of refcount tests 863s # init 0xebc1d8 863s # 863s # . 863s # . 863s # . 863s # . 863s # . 863s # . 863s # . 863s # . 863s # . 863s # . 863s # . 863s # . 863s # . 863s # . 863s # . 863s # . 863s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 864s # . 865s # . 865s # . 865s # . 865s # . 865s # Executing: glib/objects-refcount2.test 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 865s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 866s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 867s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 870s # . 870s # . 870s # . 870s # . 870s # Executing: glib/objects-refcount2.test 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 875s # . 875s # . 875s # . 875s # . 875s # Executing: glib/objects-refcount2.test 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 880s # . 880s # . 880s # . 880s # . 880s # Executing: glib/objects-refcount2.test 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 885s # . 885s # . 885s # . 885s # . 885s # Executing: glib/objects-refcount2.test 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 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 # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # Executing: glib/objects-refcount2.test 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 # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # Executing: glib/objects-refcount2.test 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # dispose 0xebc1d8! 896s # 896s ok 1 /gobject/refcount/object-advanced 896s # slow test /gobject/refcount/object-advanced executed in 32.85 secs 896s # End of refcount tests 896s # End of gobject tests 896s ok - glib/objects-refcount2.test 896s # Running test: glib/genmarshal.py.test 896s TAP version 13 896s ok 1 __main__.TestGenmarshal.test_empty_list 896s # tmpdir: /tmp/tmp68iqoeu1 896s # genmarshal: /usr/bin/glib-genmarshal 896s # /tmp/tmp68iqoeu1/tmpfdhrxqgq.list: 896s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp68iqoeu1/tmpfdhrxqgq.list', '--header', '--quiet'] 896s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 896s # Output: /* 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. */ 896s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 896s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 896s # 896s # #include 896s # 896s # G_BEGIN_DECLS 896s # 896s # 896s # G_END_DECLS 896s # 896s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 896s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp68iqoeu1/tmpfdhrxqgq.list', '--body', '--quiet'] 896s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 896s # Output: /* 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. */ 896s # #include 896s # 896s # #ifdef G_ENABLE_DEBUG 896s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 896s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 896s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 896s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 896s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 896s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 896s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 896s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 896s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 896s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 896s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 896s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 896s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 896s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 896s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 896s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 896s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 896s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 896s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 896s # #else /* !G_ENABLE_DEBUG */ 896s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 896s # * Do not access GValues directly in your code. Instead, use the 896s # * g_value_get_*() functions 896s # */ 896s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 896s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 896s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 896s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 896s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 896s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 896s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 896s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 896s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 896s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 896s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 896s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 896s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 896s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 896s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 896s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 896s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 896s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 896s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 896s # #endif /* !G_ENABLE_DEBUG */ 896s ok 2 __main__.TestGenmarshal.test_help 896s # tmpdir: /tmp/tmp815_piov 896s # genmarshal: /usr/bin/glib-genmarshal 896s # Running: ['/usr/bin/glib-genmarshal', '--help'] 896s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 896s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 896s # [--internal] [--valist-marshallers] [-v] 896s # [--g-fatal-warnings] [--include-header [HEADER]] 896s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 896s # [--prototypes] [--header] [--body] 896s # [--stdinc | --nostdinc] [--quiet | --verbose] 896s # [FILE ...] 896s # 896s # Generate signal marshallers for GObject 896s # 896s # positional arguments: 896s # FILE Files with lists of marshallers to generate, or "-" 896s # for standard input 896s # 896s # options: 896s # -h, --help show this help message and exit 896s # --prefix STRING Specify marshaller prefix 896s # --output FILE Write output into the specified file 896s # --skip-source Skip source location comments 896s # --internal Mark generated functions as internal 896s # --valist-marshallers Generate va_list marshallers 896s # -v, --version Print version information, and exit 896s # --g-fatal-warnings Make warnings fatal 896s # --include-header [HEADER] 896s # Include the specified header in the body 896s # --pragma-once Use "pragma once" as the inclusion guard 896s # -D CPP_DEFINES Pre-processor define 896s # -U CPP_UNDEFINES Pre-processor undefine 896s # --prototypes Generate the marshallers prototype in the C code 896s # --header Generate C headers 896s # --body Generate C code 896s # --stdinc Include standard marshallers 896s # --nostdinc Use standard marshallers 896s # --quiet Only print warnings and errors 896s # --verbose Be verbose, and include debugging information 896s ok 3 __main__.TestGenmarshal.test_no_args 896s # tmpdir: /tmp/tmp0cc8a7rk 896s # genmarshal: /usr/bin/glib-genmarshal 896s # Running: ['/usr/bin/glib-genmarshal'] 896s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 896s # Output: 897s ok 4 __main__.TestGenmarshal.test_void_boolean 897s # tmpdir: /tmp/tmpj94_iqif 897s # genmarshal: /usr/bin/glib-genmarshal 897s # /tmp/tmpj94_iqif/tmpjmyb6gx4.list: VOID:BOOLEAN 897s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpj94_iqif/tmpjmyb6gx4.list', '--header', '--quiet'] 897s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 897s # Output: /* 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. */ 897s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 897s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 897s # 897s # #include 897s # 897s # G_BEGIN_DECLS 897s # 897s # /* VOID:BOOLEAN (/tmp/tmpj94_iqif/tmpjmyb6gx4.list:1) */ 897s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 897s # 897s # 897s # G_END_DECLS 897s # 897s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 897s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpj94_iqif/tmpjmyb6gx4.list', '--body', '--quiet'] 897s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 897s # Output: /* 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. */ 897s # #include 897s # 897s # #ifdef G_ENABLE_DEBUG 897s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 897s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 897s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 897s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 897s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 897s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 897s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 897s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 897s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 897s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 897s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 897s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 897s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 897s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 897s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 897s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 897s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 897s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 897s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 897s # #else /* !G_ENABLE_DEBUG */ 897s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 897s # * Do not access GValues directly in your code. Instead, use the 897s # * g_value_get_*() functions 897s # */ 897s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 897s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 897s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 897s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 897s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 897s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 897s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 897s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 897s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 897s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 897s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 897s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 897s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 897s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 897s # #endif /* !G_ENABLE_DEBUG */ 897s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 897s # tmpdir: /tmp/tmppdfw1lsm 897s # genmarshal: /usr/bin/glib-genmarshal 897s # /tmp/tmppdfw1lsm/tmpevuqr35w.list: VOID:BOOLEAN,INT64 897s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmppdfw1lsm/tmpevuqr35w.list', '--header', '--quiet'] 897s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 897s # Output: /* 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. */ 897s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 897s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 897s # 897s # #include 897s # 897s # G_BEGIN_DECLS 897s # 897s # /* VOID:BOOLEAN,INT64 (/tmp/tmppdfw1lsm/tmpevuqr35w.list:1) */ 897s # extern 897s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 897s # GValue *return_value, 897s # guint n_param_values, 897s # const GValue *param_values, 897s # gpointer invocation_hint, 897s # gpointer marshal_data); 897s # 897s # 897s # G_END_DECLS 897s # 897s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 897s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmppdfw1lsm/tmpevuqr35w.list', '--body', '--quiet'] 897s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 897s # Output: /* 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. */ 897s # #include 897s # 897s # #ifdef G_ENABLE_DEBUG 897s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 897s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 897s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 897s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 897s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 897s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 897s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 897s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 897s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 897s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 897s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 897s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 897s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 897s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 897s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 897s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 897s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 897s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 897s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 897s # #else /* !G_ENABLE_DEBUG */ 897s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 897s # * Do not access GValues directly in your code. Instead, use the 897s # * g_value_get_*() functions 897s # */ 897s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 897s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 897s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 897s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 897s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 897s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 897s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 897s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 897s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 897s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 897s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 897s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 897s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 897s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 897s # #endif /* !G_ENABLE_DEBUG */ 897s # 897s # /* VOID:BOOLEAN,INT64 (/tmp/tmppdfw1lsm/tmpevuqr35w.list:1) */ 897s # void 897s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 897s # GValue *return_value G_GNUC_UNUSED, 897s # guint n_param_values, 897s # const GValue *param_values, 897s # gpointer invocation_hint G_GNUC_UNUSED, 897s # gpointer marshal_data) 897s # { 897s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 897s # gboolean arg1, 897s # gint64 arg2, 897s # gpointer data2); 897s # GCClosure *cc = (GCClosure *) closure; 897s # gpointer data1, data2; 897s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 897s # 897s # g_return_if_fail (n_param_values == 3); 897s # 897s # if (G_CCLOSURE_SWAP_DATA (closure)) 897s # { 897s # data1 = closure->data; 897s # data2 = g_value_peek_pointer (param_values + 0); 897s # } 897s # else 897s # { 897s # data1 = g_value_peek_pointer (param_values + 0); 897s # data2 = closure->data; 897s # } 897s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 897s # 897s # callback (data1, 897s # g_marshal_value_peek_boolean (param_values + 1), 897s # g_marshal_value_peek_int64 (param_values + 2), 897s # data2); 897s # } 897s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 897s # tmpdir: /tmp/tmpvtxo76bo 897s # genmarshal: /usr/bin/glib-genmarshal 897s # /tmp/tmpvtxo76bo/tmpoddaj9h9.list: VOID:PARAM 897s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpvtxo76bo/tmpoddaj9h9.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 897s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 897s # Output: /* 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. */ 897s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 897s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 897s # 897s # G_BEGIN_DECLS 897s # 897s # /* VOID:PARAM (/tmp/tmpvtxo76bo/tmpoddaj9h9.list:1) */ 897s # extern 897s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 897s # GValue *return_value, 897s # guint n_param_values, 897s # const GValue *param_values, 897s # gpointer invocation_hint, 897s # gpointer marshal_data); 897s # extern 897s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 897s # GValue *return_value, 897s # gpointer instance, 897s # va_list args, 897s # gpointer marshal_data, 897s # int n_params, 897s # GType *param_types); 897s # 897s # 897s # G_END_DECLS 897s # 897s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 897s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpvtxo76bo/tmpoddaj9h9.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 897s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 897s # Output: /* 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. */ 897s # #ifdef G_ENABLE_DEBUG 897s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 897s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 897s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 897s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 897s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 897s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 897s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 897s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 897s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 897s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 897s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 897s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 897s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 897s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 897s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 897s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 897s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 897s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 897s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 897s # #else /* !G_ENABLE_DEBUG */ 897s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 897s # * Do not access GValues directly in your code. Instead, use the 897s # * g_value_get_*() functions 897s # */ 897s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 897s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 897s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 897s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 897s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 897s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 897s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 897s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 897s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 897s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 897s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 897s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 897s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 897s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 897s # #endif /* !G_ENABLE_DEBUG */ 897s # 897s # /* VOID:PARAM (/tmp/tmpvtxo76bo/tmpoddaj9h9.list:1) */ 897s # void 897s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 897s # GValue *return_value G_GNUC_UNUSED, 897s # guint n_param_values, 897s # const GValue *param_values, 897s # gpointer invocation_hint G_GNUC_UNUSED, 897s # gpointer marshal_data) 897s # { 897s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 897s # gpointer arg1, 897s # gpointer data2); 897s # GCClosure *cc = (GCClosure *) closure; 897s # gpointer data1, data2; 897s # GMarshalFunc_VOID__PARAM callback; 897s # 897s # g_return_if_fail (n_param_values == 2); 897s # 897s # if (G_CCLOSURE_SWAP_DATA (closure)) 897s # { 897s # data1 = closure->data; 897s # data2 = g_value_peek_pointer (param_values + 0); 897s # } 897s # else 897s # { 897s # data1 = g_value_peek_pointer (param_values + 0); 897s # data2 = closure->data; 897s # } 897s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 897s # 897s # callback (data1, 897s # g_marshal_value_peek_param (param_values + 1), 897s # data2); 897s # } 897s # 897s # void 897s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 897s # GValue *return_value G_GNUC_UNUSED, 897s # gpointer instance, 897s # va_list args, 897s # gpointer marshal_data, 897s # int n_params, 897s # GType *param_types) 897s # { 897s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 897s # gpointer arg1, 897s # gpointer data2); 897s # GCClosure *cc = (GCClosure *) closure; 897s # gpointer data1, data2; 897s # GMarshalFunc_VOID__PARAM callback; 897s # gpointer arg0; 897s # va_list args_copy; 897s # 897s # va_copy (args_copy, args); 897s # arg0 = (gpointer) va_arg (args_copy, gpointer); 897s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 897s # arg0 = g_param_spec_ref (arg0); 897s # va_end (args_copy); 897s # 897s # 897s # if (G_CCLOSURE_SWAP_DATA (closure)) 897s # { 897s # data1 = closure->data; 897s # data2 = instance; 897s # } 897s # else 897s # { 897s # data1 = instance; 897s # data2 = closure->data; 897s # } 897s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 897s # 897s # callback (data1, 897s # arg0, 897s # data2); 897s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 897s # g_param_spec_unref (arg0); 897s # } 897s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 897s # tmpdir: /tmp/tmp4luo9qpw 897s # genmarshal: /usr/bin/glib-genmarshal 897s # /tmp/tmp4luo9qpw/tmp76gep69t.list: VOID:STRING 897s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp4luo9qpw/tmp76gep69t.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 897s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 897s # Output: /* 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. */ 897s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 897s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 897s # 897s # G_BEGIN_DECLS 897s # 897s # /* VOID:STRING (/tmp/tmp4luo9qpw/tmp76gep69t.list:1) */ 897s # extern 897s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 897s # GValue *return_value, 897s # guint n_param_values, 897s # const GValue *param_values, 897s # gpointer invocation_hint, 897s # gpointer marshal_data); 897s # extern 897s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 897s # GValue *return_value, 897s # gpointer instance, 897s # va_list args, 897s # gpointer marshal_data, 897s # int n_params, 897s # GType *param_types); 897s # 897s # 897s # G_END_DECLS 897s # 897s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 897s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp4luo9qpw/tmp76gep69t.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 897s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 897s # Output: /* 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. */ 897s # #ifdef G_ENABLE_DEBUG 897s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 897s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 897s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 897s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 897s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 897s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 897s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 897s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 897s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 897s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 897s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 897s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 897s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 897s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 897s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 897s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 897s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 897s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 897s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 897s # #else /* !G_ENABLE_DEBUG */ 897s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 897s # * Do not access GValues directly in your code. Instead, use the 897s # * g_value_get_*() functions 897s # */ 897s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 897s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 897s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 897s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 897s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 897s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 897s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 897s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 897s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 897s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 897s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 897s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 897s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 897s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 897s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 897s # #endif /* !G_ENABLE_DEBUG */ 897s # 897s # /* VOID:STRING (/tmp/tmp4luo9qpw/tmp76gep69t.list:1) */ 897s # void 897s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 897s # GValue *return_value G_GNUC_UNUSED, 897s # guint n_param_values, 897s # const GValue *param_values, 897s # gpointer invocation_hint G_GNUC_UNUSED, 897s # gpointer marshal_data) 897s # { 897s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 897s # gpointer arg1, 897s # gpointer data2); 897s # GCClosure *cc = (GCClosure *) closure; 897s # gpointer data1, data2; 897s # GMarshalFunc_VOID__STRING callback; 897s # 897s # g_return_if_fail (n_param_values == 2); 897s # 897s # if (G_CCLOSURE_SWAP_DATA (closure)) 897s # { 897s # data1 = closure->data; 897s # data2 = g_value_peek_pointer (param_values + 0); 897s # } 897s # else 897s # { 897s # data1 = g_value_peek_pointer (param_values + 0); 897s # data2 = closure->data; 897s # } 897s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 897s # 897s # callback (data1, 897s # g_marshal_value_peek_string (param_values + 1), 897s # data2); 897s # } 897s # 897s # void 897s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 897s # GValue *return_value G_GNUC_UNUSED, 897s # gpointer instance, 897s # va_list args, 897s # gpointer marshal_data, 897s # int n_params, 897s # GType *param_types) 897s # { 897s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 897s # gpointer arg1, 897s # gpointer data2); 897s # GCClosure *cc = (GCClosure *) closure; 897s # gpointer data1, data2; 897s # GMarshalFunc_VOID__STRING callback; 897s # gpointer arg0; 897s # va_list args_copy; 897s # 897s # va_copy (args_copy, args); 897s # arg0 = (gpointer) va_arg (args_copy, gpointer); 897s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 897s # arg0 = g_strdup (arg0); 897s # va_end (args_copy); 897s # 897s # 897s # if (G_CCLOSURE_SWAP_DATA (closure)) 897s # { 897s # data1 = closure->data; 897s # data2 = instance; 897s # } 897s # else 897s # { 897s # data1 = instance; 897s # data2 = closure->data; 897s # } 897s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 897s # 897s # callback (data1, 897s # arg0, 897s # data2); 897s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 897s # g_free (arg0); 897s # } 898s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 898s # tmpdir: /tmp/tmpnhwmjrw7 898s # genmarshal: /usr/bin/glib-genmarshal 898s # /tmp/tmpnhwmjrw7/tmpmu0cljqi.list: VOID:VARIANT 898s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnhwmjrw7/tmpmu0cljqi.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 898s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: /* 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. */ 898s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 898s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 898s # 898s # G_BEGIN_DECLS 898s # 898s # /* VOID:VARIANT (/tmp/tmpnhwmjrw7/tmpmu0cljqi.list:1) */ 898s # extern 898s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 898s # GValue *return_value, 898s # guint n_param_values, 898s # const GValue *param_values, 898s # gpointer invocation_hint, 898s # gpointer marshal_data); 898s # extern 898s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 898s # GValue *return_value, 898s # gpointer instance, 898s # va_list args, 898s # gpointer marshal_data, 898s # int n_params, 898s # GType *param_types); 898s # 898s # 898s # G_END_DECLS 898s # 898s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 898s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnhwmjrw7/tmpmu0cljqi.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 898s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: /* 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. */ 898s # #ifdef G_ENABLE_DEBUG 898s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 898s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 898s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 898s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 898s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 898s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 898s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 898s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 898s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 898s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 898s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 898s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 898s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 898s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 898s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 898s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 898s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 898s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 898s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 898s # #else /* !G_ENABLE_DEBUG */ 898s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 898s # * Do not access GValues directly in your code. Instead, use the 898s # * g_value_get_*() functions 898s # */ 898s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 898s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 898s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 898s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 898s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 898s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 898s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 898s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 898s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 898s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 898s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 898s # #endif /* !G_ENABLE_DEBUG */ 898s # 898s # /* VOID:VARIANT (/tmp/tmpnhwmjrw7/tmpmu0cljqi.list:1) */ 898s # void 898s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 898s # GValue *return_value G_GNUC_UNUSED, 898s # guint n_param_values, 898s # const GValue *param_values, 898s # gpointer invocation_hint G_GNUC_UNUSED, 898s # gpointer marshal_data) 898s # { 898s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 898s # gpointer arg1, 898s # gpointer data2); 898s # GCClosure *cc = (GCClosure *) closure; 898s # gpointer data1, data2; 898s # GMarshalFunc_VOID__VARIANT callback; 898s # 898s # g_return_if_fail (n_param_values == 2); 898s # 898s # if (G_CCLOSURE_SWAP_DATA (closure)) 898s # { 898s # data1 = closure->data; 898s # data2 = g_value_peek_pointer (param_values + 0); 898s # } 898s # else 898s # { 898s # data1 = g_value_peek_pointer (param_values + 0); 898s # data2 = closure->data; 898s # } 898s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 898s # 898s # callback (data1, 898s # g_marshal_value_peek_variant (param_values + 1), 898s # data2); 898s # } 898s # 898s # void 898s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 898s # GValue *return_value G_GNUC_UNUSED, 898s # gpointer instance, 898s # va_list args, 898s # gpointer marshal_data, 898s # int n_params, 898s # GType *param_types) 898s # { 898s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 898s # gpointer arg1, 898s # gpointer data2); 898s # GCClosure *cc = (GCClosure *) closure; 898s # gpointer data1, data2; 898s # GMarshalFunc_VOID__VARIANT callback; 898s # gpointer arg0; 898s # va_list args_copy; 898s # 898s # va_copy (args_copy, args); 898s # arg0 = (gpointer) va_arg (args_copy, gpointer); 898s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 898s # arg0 = g_variant_ref_sink (arg0); 898s # va_end (args_copy); 898s # 898s # 898s # if (G_CCLOSURE_SWAP_DATA (closure)) 898s # { 898s # data1 = closure->data; 898s # data2 = instance; 898s # } 898s # else 898s # { 898s # data1 = instance; 898s # data2 = closure->data; 898s # } 898s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 898s # 898s # callback (data1, 898s # arg0, 898s # data2); 898s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 898s # g_variant_unref (arg0); 898s # } 898s 1..8 898s ok - glib/genmarshal.py.test 898s # Running test: glib/codegen.py.test 898s TAP version 13 898s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 898s # tmpdir: /tmp/tmph09pvikw 898s # codegen: /usr/bin/gdbus-codegen 898s # /tmp/tmph09pvikw/tmp8ebit99r.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph09pvikw/tmp8ebit99r.xml', '--output', '-', '--header'] 898s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: /* 898s # * This file is generated by gdbus-codegen, do not modify it. 898s # * 898s # * The license of this code is the same as for the D-Bus interface description 898s # * it was derived from. Note that it links to GLib, so must comply with the 898s # * LGPL linking clauses. 898s # */ 898s # 898s # #ifndef __STDOUT__ 898s # #define __STDOUT__ 898s # 898s # #include 898s # 898s # G_BEGIN_DECLS 898s # 898s # 898s # /* ------------------------------------------------------------------------ */ 898s # /* Declarations for org.project.UsefulInterface */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 898s # 898s # struct _OrgProjectUsefulInterface; 898s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 898s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 898s # 898s # struct _OrgProjectUsefulInterfaceIface 898s # { 898s # GTypeInterface parent_iface; 898s # 898s # gboolean (*handle_useful_method) ( 898s # OrgProjectUsefulInterface *object, 898s # GDBusMethodInvocation *invocation); 898s # 898s # }; 898s # 898s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 898s # 898s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 898s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 898s # 898s # 898s # /* D-Bus method call completion functions: */ 898s # void org_project_useful_interface_complete_useful_method ( 898s # OrgProjectUsefulInterface *object, 898s # GDBusMethodInvocation *invocation); 898s # 898s # 898s # 898s # /* D-Bus method calls: */ 898s # void org_project_useful_interface_call_useful_method ( 898s # OrgProjectUsefulInterface *proxy, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # 898s # gboolean org_project_useful_interface_call_useful_method_finish ( 898s # OrgProjectUsefulInterface *proxy, 898s # GAsyncResult *res, 898s # GError **error); 898s # 898s # gboolean org_project_useful_interface_call_useful_method_sync ( 898s # OrgProjectUsefulInterface *proxy, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # 898s # 898s # /* ---- */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 898s # 898s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 898s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 898s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 898s # 898s # struct _OrgProjectUsefulInterfaceProxy 898s # { 898s # /*< private >*/ 898s # GDBusProxy parent_instance; 898s # OrgProjectUsefulInterfaceProxyPrivate *priv; 898s # }; 898s # 898s # struct _OrgProjectUsefulInterfaceProxyClass 898s # { 898s # GDBusProxyClass parent_class; 898s # }; 898s # 898s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 898s # 898s # #if GLIB_CHECK_VERSION(2, 44, 0) 898s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 898s # #endif 898s # 898s # void org_project_useful_interface_proxy_new ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 898s # GAsyncResult *res, 898s # GError **error); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # void org_project_useful_interface_proxy_new_for_bus ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 898s # GAsyncResult *res, 898s # GError **error); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # 898s # /* ---- */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 898s # 898s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 898s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 898s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 898s # 898s # struct _OrgProjectUsefulInterfaceSkeleton 898s # { 898s # /*< private >*/ 898s # GDBusInterfaceSkeleton parent_instance; 898s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 898s # }; 898s # 898s # struct _OrgProjectUsefulInterfaceSkeletonClass 898s # { 898s # GDBusInterfaceSkeletonClass parent_class; 898s # }; 898s # 898s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 898s # 898s # #if GLIB_CHECK_VERSION(2, 44, 0) 898s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 898s # #endif 898s # 898s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 898s # 898s # 898s # G_END_DECLS 898s # 898s # #endif /* __STDOUT__ */ 898s # /tmp/tmph09pvikw/tmpodbg8d5a.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph09pvikw/tmpodbg8d5a.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 898s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: /* 898s # * This file is generated by gdbus-codegen, do not modify it. 898s # * 898s # * The license of this code is the same as for the D-Bus interface description 898s # * it was derived from. Note that it links to GLib, so must comply with the 898s # * LGPL linking clauses. 898s # */ 898s # 898s # #ifndef __STDOUT__ 898s # #define __STDOUT__ 898s # 898s # #include 898s # 898s # G_BEGIN_DECLS 898s # 898s # 898s # /* ------------------------------------------------------------------------ */ 898s # /* Declarations for org.project.UsefulInterface */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 898s # 898s # struct _OrgProjectUsefulInterface; 898s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 898s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 898s # 898s # struct _OrgProjectUsefulInterfaceIface 898s # { 898s # GTypeInterface parent_iface; 898s # 898s # gboolean (*handle_useful_method) ( 898s # OrgProjectUsefulInterface *object, 898s # GDBusMethodInvocation *invocation); 898s # 898s # }; 898s # 898s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 898s # 898s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 898s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 898s # 898s # 898s # /* D-Bus method call completion functions: */ 898s # void org_project_useful_interface_complete_useful_method ( 898s # OrgProjectUsefulInterface *object, 898s # GDBusMethodInvocation *invocation); 898s # 898s # 898s # 898s # /* D-Bus method calls: */ 898s # void org_project_useful_interface_call_useful_method ( 898s # OrgProjectUsefulInterface *proxy, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # 898s # gboolean org_project_useful_interface_call_useful_method_finish ( 898s # OrgProjectUsefulInterface *proxy, 898s # GAsyncResult *res, 898s # GError **error); 898s # 898s # gboolean org_project_useful_interface_call_useful_method_sync ( 898s # OrgProjectUsefulInterface *proxy, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # 898s # 898s # /* ---- */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 898s # 898s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 898s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 898s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 898s # 898s # struct _OrgProjectUsefulInterfaceProxy 898s # { 898s # /*< private >*/ 898s # GDBusProxy parent_instance; 898s # OrgProjectUsefulInterfaceProxyPrivate *priv; 898s # }; 898s # 898s # struct _OrgProjectUsefulInterfaceProxyClass 898s # { 898s # GDBusProxyClass parent_class; 898s # }; 898s # 898s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 898s # 898s # #if GLIB_CHECK_VERSION(2, 44, 0) 898s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 898s # #endif 898s # 898s # void org_project_useful_interface_proxy_new ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 898s # GAsyncResult *res, 898s # GError **error); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # void org_project_useful_interface_proxy_new_for_bus ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 898s # GAsyncResult *res, 898s # GError **error); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # 898s # /* ---- */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 898s # 898s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 898s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 898s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 898s # 898s # struct _OrgProjectUsefulInterfaceSkeleton 898s # { 898s # /*< private >*/ 898s # GDBusInterfaceSkeleton parent_instance; 898s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 898s # }; 898s # 898s # struct _OrgProjectUsefulInterfaceSkeletonClass 898s # { 898s # GDBusInterfaceSkeletonClass parent_class; 898s # }; 898s # 898s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 898s # 898s # #if GLIB_CHECK_VERSION(2, 44, 0) 898s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 898s # #endif 898s # 898s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 898s # 898s # 898s # G_END_DECLS 898s # 898s # #endif /* __STDOUT__ */ 898s # /tmp/tmph09pvikw/tmp_ii48y5d.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph09pvikw/tmp_ii48y5d.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 898s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: /* 898s # * This file is generated by gdbus-codegen, do not modify it. 898s # * 898s # * The license of this code is the same as for the D-Bus interface description 898s # * it was derived from. Note that it links to GLib, so must comply with the 898s # * LGPL linking clauses. 898s # */ 898s # 898s # #ifndef __STDOUT__ 898s # #define __STDOUT__ 898s # 898s # #include 898s # 898s # G_BEGIN_DECLS 898s # 898s # 898s # /* ------------------------------------------------------------------------ */ 898s # /* Declarations for org.project.UsefulInterface */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 898s # 898s # struct _OrgProjectUsefulInterface; 898s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 898s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 898s # 898s # struct _OrgProjectUsefulInterfaceIface 898s # { 898s # GTypeInterface parent_iface; 898s # 898s # gboolean (*handle_useful_method) ( 898s # OrgProjectUsefulInterface *object, 898s # GDBusMethodInvocation *invocation); 898s # 898s # }; 898s # 898s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 898s # 898s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 898s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 898s # 898s # 898s # /* D-Bus method call completion functions: */ 898s # void org_project_useful_interface_complete_useful_method ( 898s # OrgProjectUsefulInterface *object, 898s # GDBusMethodInvocation *invocation); 898s # 898s # 898s # 898s # /* D-Bus method calls: */ 898s # void org_project_useful_interface_call_useful_method ( 898s # OrgProjectUsefulInterface *proxy, 898s # GDBusCallFlags call_flags, 898s # gint timeout_msec, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # 898s # gboolean org_project_useful_interface_call_useful_method_finish ( 898s # OrgProjectUsefulInterface *proxy, 898s # GAsyncResult *res, 898s # GError **error); 898s # 898s # gboolean org_project_useful_interface_call_useful_method_sync ( 898s # OrgProjectUsefulInterface *proxy, 898s # GDBusCallFlags call_flags, 898s # gint timeout_msec, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # 898s # 898s # /* ---- */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 898s # 898s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 898s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 898s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 898s # 898s # struct _OrgProjectUsefulInterfaceProxy 898s # { 898s # /*< private >*/ 898s # GDBusProxy parent_instance; 898s # OrgProjectUsefulInterfaceProxyPrivate *priv; 898s # }; 898s # 898s # struct _OrgProjectUsefulInterfaceProxyClass 898s # { 898s # GDBusProxyClass parent_class; 898s # }; 898s # 898s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 898s # 898s # #if GLIB_CHECK_VERSION(2, 44, 0) 898s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 898s # #endif 898s # 898s # void org_project_useful_interface_proxy_new ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 898s # GAsyncResult *res, 898s # GError **error); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # void org_project_useful_interface_proxy_new_for_bus ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 898s # GAsyncResult *res, 898s # GError **error); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # 898s # /* ---- */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 898s # 898s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 898s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 898s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 898s # 898s # struct _OrgProjectUsefulInterfaceSkeleton 898s # { 898s # /*< private >*/ 898s # GDBusInterfaceSkeleton parent_instance; 898s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 898s # }; 898s # 898s # struct _OrgProjectUsefulInterfaceSkeletonClass 898s # { 898s # GDBusInterfaceSkeletonClass parent_class; 898s # }; 898s # 898s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 898s # 898s # #if GLIB_CHECK_VERSION(2, 44, 0) 898s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 898s # #endif 898s # 898s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 898s # 898s # 898s # G_END_DECLS 898s # 898s # #endif /* __STDOUT__ */ 900s # Executing: glib/codegen.py.test 901s ok 2 __main__.TestCodegen.test_dbus_types 901s # tmpdir: /tmp/tmpihytvci2 901s # codegen: /usr/bin/gdbus-codegen 901s # /tmp/tmpihytvci2/tmp33ite_1z.xml: 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpihytvci2/tmp33ite_1z.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # /tmp/tmpihytvci2/tmp2v5rmauc.xml: 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpihytvci2/tmp2v5rmauc.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # /tmp/tmpihytvci2/tmplv_9_q_2.xml: 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpihytvci2/tmplv_9_q_2.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # /tmp/tmpihytvci2/tmptrfdovrd.xml: 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpihytvci2/tmptrfdovrd.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # /tmp/tmpihytvci2/tmpz51c0j1k.xml: 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpihytvci2/tmpz51c0j1k.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # /tmp/tmpihytvci2/tmpifofhlr8.xml: 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpihytvci2/tmpifofhlr8.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # /tmp/tmpihytvci2/tmpri1oc877.xml: 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpihytvci2/tmpri1oc877.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # /tmp/tmpihytvci2/tmpviruuc0e.xml: 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpihytvci2/tmpviruuc0e.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # /tmp/tmpihytvci2/tmpkx8rdq1t.xml: 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpihytvci2/tmpkx8rdq1t.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # /tmp/tmpihytvci2/tmpkq_a7msc.xml: 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpihytvci2/tmpkq_a7msc.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # /tmp/tmpihytvci2/tmpk0h158it.xml: 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpihytvci2/tmpk0h158it.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # /tmp/tmpihytvci2/tmpiom69dyt.xml: 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpihytvci2/tmpiom69dyt.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # /tmp/tmpihytvci2/tmp_bpf0kwa.xml: 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpihytvci2/tmp_bpf0kwa.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # /tmp/tmpihytvci2/tmplq15n2t7.xml: 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpihytvci2/tmplq15n2t7.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s # 901s # /* ------------------------------------------------------------------------ 901s # * Code for interface GoodTypes 901s # * ------------------------------------------------------------------------ 901s # */ 901s # 901s # /** 901s # * SECTION:GoodTypes 901s # * @title: GoodTypes 901s # * @short_description: Generated C code for the GoodTypes D-Bus interface 901s # * 901s # * This section contains code for working with the GoodTypes D-Bus interface in C. 901s # */ 901s # 901s # /* ---- Introspection data for GoodTypes ---- */ 901s # 901s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 901s # { 901s # { 901s # -1, 901s # (gchar *) "GoodPropertyType", 901s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 901s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 901s # NULL 901s # }, 901s # "good-property-type", 901s # FALSE, 901s # TRUE 901s # }; 901s # 901s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 901s # { 901s # &_good_types_property_info_good_property_type.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 901s # { 901s # { 901s # -1, 901s # (gchar *) "GoodTypes", 901s # NULL, 901s # NULL, 901s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 901s # NULL 901s # }, 901s # "good-types", 901s # }; 901s # 901s # 901s # /** 901s # * good_types_interface_info: 901s # * 901s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 901s # * 901s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 901s # */ 901s # GDBusInterfaceInfo * 901s # good_types_interface_info (void) 901s # { 901s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 901s # } 901s # 901s # /** 901s # * good_types_override_properties: 901s # * @klass: The class structure for a #GObject derived class. 901s # * @property_id_begin: The property id to assign to the first overridden property. 901s # * 901s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 901s # * The properties are overridden in the order they are defined. 901s # * 901s # * Returns: The last property id. 901s # */ 901s # guint 901s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 901s # { 901s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 901s # return property_id_begin - 1; 901s # } 901s # 901s # 901s # 901s # /** 901s # * GoodTypes: 901s # * 901s # * Abstract interface type for the D-Bus interface GoodTypes. 901s # */ 901s # 901s # /** 901s # * GoodTypesIface: 901s # * @parent_iface: The parent interface. 901s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 901s # * 901s # * Virtual table for the D-Bus interface GoodTypes. 901s # */ 901s # 901s # typedef GoodTypesIface GoodTypesInterface; 901s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 901s # 901s # static void 901s # good_types_default_init (GoodTypesIface *iface) 901s # { 901s # /* GObject properties for D-Bus properties: */ 901s # /** 901s # * GoodTypes:good-property-type: 901s # * 901s # * Represents the D-Bus property "GoodPropertyType". 901s # * 901s # * 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. 901s # */ 901s # g_object_interface_install_property (iface, 901s # 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)); 901s # } 901s # 901s # /** 901s # * good_types_get_good_property_type: (skip) 901s # * @object: A GoodTypes. 901s # * 901s # * Gets the value of the "GoodPropertyType" D-Bus property. 901s # * 901s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 901s # * 901s # * 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. 901s # * 901s # * 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. 901s # */ 901s # GVariant * 901s # good_types_get_good_property_type (GoodTypes *object) 901s # { 901s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 901s # 901s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 901s # } 901s # 901s # /** 901s # * good_types_dup_good_property_type: (skip) 901s # * @object: A GoodTypes. 901s # * 901s # * Gets a copy of the "GoodPropertyType" D-Bus property. 901s # * 901s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 901s # * 901s # * 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(). 901s # */ 901s # GVariant * 901s # good_types_dup_good_property_type (GoodTypes *object) 901s # { 901s # GVariant *value; 901s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 901s # return value; 901s # } 901s # 901s # /** 901s # * good_types_set_good_property_type: (skip) 901s # * @object: A GoodTypes. 901s # * @value: The value to set. 901s # * 901s # * Sets the "GoodPropertyType" D-Bus property to @value. 901s # * 901s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 901s # */ 901s # void 901s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 901s # { 901s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * GoodTypesProxy: 901s # * 901s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * GoodTypesProxyClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for GoodTypesProxy. 901s # */ 901s # 901s # struct _GoodTypesProxyPrivate 901s # { 901s # GData *qdata; 901s # }; 901s # 901s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 901s # G_ADD_PRIVATE (GoodTypesProxy) 901s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 901s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 901s # 901s # #endif 901s # static void 901s # good_types_proxy_finalize (GObject *object) 901s # { 901s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 901s # g_datalist_clear (&proxy->priv->qdata); 901s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # good_types_proxy_get_property (GObject *object, 901s # guint prop_id, 901s # GValue *value, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # GVariant *variant; 901s # g_assert (prop_id != 0 && prop_id - 1 < 1); 901s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 901s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 901s # if (info->use_gvariant) 901s # { 901s # g_value_set_variant (value, variant); 901s # } 901s # else 901s # { 901s # if (variant != NULL) 901s # g_dbus_gvariant_to_gvalue (variant, value); 901s # } 901s # if (variant != NULL) 901s # g_variant_unref (variant); 901s # } 901s # 901s # static void 901s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 901s # GAsyncResult *res, 901s # gpointer user_data) 901s # { 901s # const _ExtendedGDBusPropertyInfo *info = user_data; 901s # GError *error; 901s # GVariant *_ret; 901s # error = NULL; 901s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 901s # if (!_ret) 901s # { 901s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 901s # info->parent_struct.name, 901s # error->message, g_quark_to_string (error->domain), error->code); 901s # g_error_free (error); 901s # } 901s # else 901s # { 901s # g_variant_unref (_ret); 901s # } 901s # } 901s # 901s # static void 901s # good_types_proxy_set_property (GObject *object, 901s # guint prop_id, 901s # const GValue *value, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # GVariant *variant; 901s # g_assert (prop_id != 0 && prop_id - 1 < 1); 901s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 901s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_dbus_proxy_call (G_DBUS_PROXY (object), 901s # "org.freedesktop.DBus.Properties.Set", 901s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 901s # G_DBUS_CALL_FLAGS_NONE, 901s # -1, 901s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 901s # g_variant_unref (variant); 901s # } 901s # 901s # static void 901s # good_types_proxy_g_signal (GDBusProxy *proxy, 901s # const gchar *sender_name G_GNUC_UNUSED, 901s # const gchar *signal_name, 901s # GVariant *parameters) 901s # { 901s # _ExtendedGDBusSignalInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # gsize n; 901s # guint signal_id; 901s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 901s # if (info == NULL) 901s # return; 901s # num_params = g_variant_n_children (parameters); 901s # paramv = g_new0 (GValue, num_params + 1); 901s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 901s # g_value_set_object (¶mv[0], proxy); 901s # g_variant_iter_init (&iter, parameters); 901s # n = 1; 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 901s # g_signal_emitv (paramv, signal_id, 0, NULL); 901s # for (n = 0; n < num_params + 1; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static void 901s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 901s # GVariant *changed_properties, 901s # const gchar *const *invalidated_properties) 901s # { 901s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 901s # guint n; 901s # const gchar *key; 901s # GVariantIter *iter; 901s # _ExtendedGDBusPropertyInfo *info; 901s # g_variant_get (changed_properties, "a{sv}", &iter); 901s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 901s # g_datalist_remove_data (&proxy->priv->qdata, key); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # g_variant_iter_free (iter); 901s # for (n = 0; invalidated_properties[n] != NULL; n++) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 901s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # } 901s # 901s # static GVariant * 901s # good_types_proxy_get_good_property_type (GoodTypes *object) 901s # { 901s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 901s # GVariant *variant; 901s # GVariant *value = NULL; 901s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 901s # value = variant; 901s # if (variant != NULL) 901s # g_variant_unref (variant); 901s # return value; 901s # } 901s # 901s # static void 901s # good_types_proxy_init (GoodTypesProxy *proxy) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # proxy->priv = good_types_proxy_get_instance_private (proxy); 901s # #else 901s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 901s # #endif 901s # 901s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 901s # } 901s # 901s # static void 901s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusProxyClass *proxy_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = good_types_proxy_finalize; 901s # gobject_class->get_property = good_types_proxy_get_property; 901s # gobject_class->set_property = good_types_proxy_set_property; 901s # 901s # proxy_class = G_DBUS_PROXY_CLASS (klass); 901s # proxy_class->g_signal = good_types_proxy_g_signal; 901s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 901s # 901s # good_types_override_properties (gobject_class, 1); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # good_types_proxy_iface_init (GoodTypesIface *iface) 901s # { 901s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 901s # } 901s # 901s # /** 901s # * good_types_proxy_new: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 901s # * 901s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # good_types_proxy_new ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * good_types_proxy_new_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with good_types_proxy_new(). 901s # * 901s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # GoodTypes * 901s # good_types_proxy_new_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return GOOD_TYPES (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * good_types_proxy_new_sync: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See good_types_proxy_new() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # GoodTypes * 901s # good_types_proxy_new_sync ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return GOOD_TYPES (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /** 901s # * good_types_proxy_new_for_bus: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 901s # * 901s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # good_types_proxy_new_for_bus ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * good_types_proxy_new_for_bus_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with good_types_proxy_new_for_bus(). 901s # * 901s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # GoodTypes * 901s # good_types_proxy_new_for_bus_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return GOOD_TYPES (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * good_types_proxy_new_for_bus_sync: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # GoodTypes * 901s # good_types_proxy_new_for_bus_sync ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return GOOD_TYPES (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * GoodTypesSkeleton: 901s # * 901s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * GoodTypesSkeletonClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for GoodTypesSkeleton. 901s # */ 901s # 901s # struct _GoodTypesSkeletonPrivate 901s # { 901s # GValue *properties; 901s # GList *changed_properties; 901s # GSource *changed_properties_idle_source; 901s # GMainContext *context; 901s # GMutex lock; 901s # }; 901s # 901s # static void 901s # _good_types_skeleton_handle_method_call ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name, 901s # const gchar *method_name, 901s # GVariant *parameters, 901s # GDBusMethodInvocation *invocation, 901s # gpointer user_data) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 901s # _ExtendedGDBusMethodInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # guint num_extra; 901s # gsize n; 901s # guint signal_id; 901s # GValue return_value = G_VALUE_INIT; 901s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 901s # g_assert (info != NULL); 901s # num_params = g_variant_n_children (parameters); 901s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 901s # n = 0; 901s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 901s # g_value_set_object (¶mv[n++], skeleton); 901s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 901s # g_value_set_object (¶mv[n++], invocation); 901s # if (info->pass_fdlist) 901s # { 901s # #ifdef G_OS_UNIX 901s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 901s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 901s # #else 901s # g_assert_not_reached (); 901s # #endif 901s # } 901s # g_variant_iter_init (&iter, parameters); 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 901s # g_value_init (&return_value, G_TYPE_BOOLEAN); 901s # g_signal_emitv (paramv, signal_id, 0, &return_value); 901s # if (!g_value_get_boolean (&return_value)) 901s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 901s # g_value_unset (&return_value); 901s # for (n = 0; n < num_params + num_extra; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static GVariant * 901s # _good_types_skeleton_handle_get_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # GVariant *ret; 901s # ret = NULL; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # g_value_init (&value, pspec->value_type); 901s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_value_unset (&value); 901s # } 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _good_types_skeleton_handle_set_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GVariant *variant, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # gboolean ret; 901s # ret = FALSE; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # if (info->use_gvariant) 901s # g_value_set_variant (&value, variant); 901s # else 901s # g_dbus_gvariant_to_gvalue (variant, &value); 901s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # g_value_unset (&value); 901s # ret = TRUE; 901s # } 901s # return ret; 901s # } 901s # 901s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 901s # { 901s # _good_types_skeleton_handle_method_call, 901s # _good_types_skeleton_handle_get_property, 901s # _good_types_skeleton_handle_set_property, 901s # {NULL} 901s # }; 901s # 901s # static GDBusInterfaceInfo * 901s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return good_types_interface_info (); 901s # } 901s # 901s # static GDBusInterfaceVTable * 901s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 901s # } 901s # 901s # static GVariant * 901s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 901s # 901s # GVariantBuilder builder; 901s # guint n; 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # if (_good_types_interface_info.parent_struct.properties == NULL) 901s # goto out; 901s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 901s # { 901s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 901s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 901s # { 901s # GVariant *value; 901s # 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); 901s # if (value != NULL) 901s # { 901s # g_variant_take_ref (value); 901s # g_variant_builder_add (&builder, "{sv}", info->name, value); 901s # g_variant_unref (value); 901s # } 901s # } 901s # } 901s # out: 901s # return g_variant_builder_end (&builder); 901s # } 901s # 901s # static gboolean _good_types_emit_changed (gpointer user_data); 901s # 901s # static void 901s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 901s # gboolean emit_changed = FALSE; 901s # 901s # g_mutex_lock (&skeleton->priv->lock); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # { 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # skeleton->priv->changed_properties_idle_source = NULL; 901s # emit_changed = TRUE; 901s # } 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # 901s # if (emit_changed) 901s # _good_types_emit_changed (skeleton); 901s # } 901s # 901s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_ADD_PRIVATE (GoodTypesSkeleton) 901s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 901s # 901s # #endif 901s # static void 901s # good_types_skeleton_finalize (GObject *object) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 901s # guint n; 901s # for (n = 0; n < 1; n++) 901s # g_value_unset (&skeleton->priv->properties[n]); 901s # g_free (skeleton->priv->properties); 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # g_main_context_unref (skeleton->priv->context); 901s # g_mutex_clear (&skeleton->priv->lock); 901s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # good_types_skeleton_get_property (GObject *object, 901s # guint prop_id, 901s # GValue *value, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 901s # g_assert (prop_id != 0 && prop_id - 1 < 1); 901s # g_mutex_lock (&skeleton->priv->lock); 901s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # } 901s # 901s # static gboolean 901s # _good_types_emit_changed (gpointer user_data) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 901s # GList *l; 901s # GVariantBuilder builder; 901s # GVariantBuilder invalidated_builder; 901s # guint num_changes; 901s # 901s # g_mutex_lock (&skeleton->priv->lock); 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 901s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 901s # { 901s # ChangedProperty *cp = l->data; 901s # GVariant *variant; 901s # const GValue *cur_value; 901s # 901s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 901s # if (!_g_value_equal (cur_value, &cp->orig_value)) 901s # { 901s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 901s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 901s # g_variant_unref (variant); 901s # num_changes++; 901s # } 901s # } 901s # if (num_changes > 0) 901s # { 901s # GList *connections, *ll; 901s # GVariant *signal_variant; 901s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 901s # &builder, &invalidated_builder)); 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # for (ll = connections; ll != NULL; ll = ll->next) 901s # { 901s # GDBusConnection *connection = ll->data; 901s # 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 901s # "org.freedesktop.DBus.Properties", 901s # "PropertiesChanged", 901s # signal_variant, 901s # NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # else 901s # { 901s # g_variant_builder_clear (&builder); 901s # g_variant_builder_clear (&invalidated_builder); 901s # } 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # skeleton->priv->changed_properties = NULL; 901s # skeleton->priv->changed_properties_idle_source = NULL; 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # return FALSE; 901s # } 901s # 901s # static void 901s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 901s # { 901s # ChangedProperty *cp; 901s # GList *l; 901s # cp = NULL; 901s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 901s # { 901s # ChangedProperty *i_cp = l->data; 901s # if (i_cp->info == info) 901s # { 901s # cp = i_cp; 901s # break; 901s # } 901s # } 901s # if (cp == NULL) 901s # { 901s # cp = g_new0 (ChangedProperty, 1); 901s # cp->prop_id = prop_id; 901s # cp->info = info; 901s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 901s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 901s # g_value_copy (orig_value, &cp->orig_value); 901s # } 901s # } 901s # 901s # static void 901s # good_types_skeleton_notify (GObject *object, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 901s # g_mutex_lock (&skeleton->priv->lock); 901s # if (skeleton->priv->changed_properties != NULL && 901s # skeleton->priv->changed_properties_idle_source == NULL) 901s # { 901s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 901s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 901s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 901s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 901s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 901s # g_source_unref (skeleton->priv->changed_properties_idle_source); 901s # } 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # } 901s # 901s # static void 901s # good_types_skeleton_set_property (GObject *object, 901s # guint prop_id, 901s # const GValue *value, 901s # GParamSpec *pspec) 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 901s # g_assert (prop_id != 0 && prop_id - 1 < 1); 901s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 901s # g_mutex_lock (&skeleton->priv->lock); 901s # g_object_freeze_notify (object); 901s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 901s # { 901s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 901s # info->emits_changed_signal) 901s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 901s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 901s # g_object_notify_by_pspec (object, pspec); 901s # } 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # g_object_thaw_notify (object); 901s # } 901s # 901s # static void 901s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 901s # #else 901s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 901s # #endif 901s # 901s # g_mutex_init (&skeleton->priv->lock); 901s # skeleton->priv->context = g_main_context_ref_thread_default (); 901s # skeleton->priv->properties = g_new0 (GValue, 1); 901s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 901s # } 901s # 901s # static GVariant * 901s # good_types_skeleton_get_good_property_type (GoodTypes *object) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 901s # GVariant *value; 901s # g_mutex_lock (&skeleton->priv->lock); 901s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # return value; 901s # } 901s # 901s # static void 901s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusInterfaceSkeletonClass *skeleton_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = good_types_skeleton_finalize; 901s # gobject_class->get_property = good_types_skeleton_get_property; 901s # gobject_class->set_property = good_types_skeleton_set_property; 901s # gobject_class->notify = good_types_skeleton_notify; 901s # 901s # 901s # good_types_override_properties (gobject_class, 1); 901s # 901s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 901s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 901s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 901s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 901s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # good_types_skeleton_iface_init (GoodTypesIface *iface) 901s # { 901s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 901s # } 901s # 901s # /** 901s # * good_types_skeleton_new: 901s # * 901s # * Creates a skeleton object for the D-Bus interface GoodTypes. 901s # * 901s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 901s # */ 901s # GoodTypes * 901s # good_types_skeleton_new (void) 901s # { 901s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 901s # } 901s # /tmp/tmpihytvci2/tmptjj3pl2i.xml: 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpihytvci2/tmptjj3pl2i.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s # 901s # /* ------------------------------------------------------------------------ 901s # * Code for interface GoodTypes 901s # * ------------------------------------------------------------------------ 901s # */ 901s # 901s # /** 901s # * SECTION:GoodTypes 901s # * @title: GoodTypes 901s # * @short_description: Generated C code for the GoodTypes D-Bus interface 901s # * 901s # * This section contains code for working with the GoodTypes D-Bus interface in C. 901s # */ 901s # 901s # /* ---- Introspection data for GoodTypes ---- */ 901s # 901s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 901s # { 901s # { 901s # -1, 901s # (gchar *) "GoodPropertyType", 901s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 901s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 901s # NULL 901s # }, 901s # "good-property-type", 901s # FALSE, 901s # TRUE 901s # }; 901s # 901s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 901s # { 901s # &_good_types_property_info_good_property_type.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 901s # { 901s # { 901s # -1, 901s # (gchar *) "GoodTypes", 901s # NULL, 901s # NULL, 901s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 901s # NULL 901s # }, 901s # "good-types", 901s # }; 901s # 901s # 901s # /** 901s # * good_types_interface_info: 901s # * 901s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 901s # * 901s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 901s # */ 901s # GDBusInterfaceInfo * 901s # good_types_interface_info (void) 901s # { 901s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 901s # } 901s # 901s # /** 901s # * good_types_override_properties: 901s # * @klass: The class structure for a #GObject derived class. 901s # * @property_id_begin: The property id to assign to the first overridden property. 901s # * 901s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 901s # * The properties are overridden in the order they are defined. 901s # * 901s # * Returns: The last property id. 901s # */ 901s # guint 901s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 901s # { 901s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 901s # return property_id_begin - 1; 901s # } 901s # 901s # 901s # 901s # /** 901s # * GoodTypes: 901s # * 901s # * Abstract interface type for the D-Bus interface GoodTypes. 901s # */ 901s # 901s # /** 901s # * GoodTypesIface: 901s # * @parent_iface: The parent interface. 901s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 901s # * 901s # * Virtual table for the D-Bus interface GoodTypes. 901s # */ 901s # 901s # typedef GoodTypesIface GoodTypesInterface; 901s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 901s # 901s # static void 901s # good_types_default_init (GoodTypesIface *iface) 901s # { 901s # /* GObject properties for D-Bus properties: */ 901s # /** 901s # * GoodTypes:good-property-type: 901s # * 901s # * Represents the D-Bus property "GoodPropertyType". 901s # * 901s # * 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. 901s # */ 901s # g_object_interface_install_property (iface, 901s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 901s # } 901s # 901s # /** 901s # * good_types_get_good_property_type: (skip) 901s # * @object: A GoodTypes. 901s # * 901s # * Gets the value of the "GoodPropertyType" D-Bus property. 901s # * 901s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 901s # * 901s # * 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. 901s # * 901s # * 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. 901s # */ 901s # GVariant * 901s # good_types_get_good_property_type (GoodTypes *object) 901s # { 901s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 901s # 901s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 901s # } 901s # 901s # /** 901s # * good_types_dup_good_property_type: (skip) 901s # * @object: A GoodTypes. 901s # * 901s # * Gets a copy of the "GoodPropertyType" D-Bus property. 901s # * 901s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 901s # * 901s # * 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(). 901s # */ 901s # GVariant * 901s # good_types_dup_good_property_type (GoodTypes *object) 901s # { 901s # GVariant *value; 901s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 901s # return value; 901s # } 901s # 901s # /** 901s # * good_types_set_good_property_type: (skip) 901s # * @object: A GoodTypes. 901s # * @value: The value to set. 901s # * 901s # * Sets the "GoodPropertyType" D-Bus property to @value. 901s # * 901s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 901s # */ 901s # void 901s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 901s # { 901s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * GoodTypesProxy: 901s # * 901s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * GoodTypesProxyClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for GoodTypesProxy. 901s # */ 901s # 901s # struct _GoodTypesProxyPrivate 901s # { 901s # GData *qdata; 901s # }; 901s # 901s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 901s # G_ADD_PRIVATE (GoodTypesProxy) 901s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 901s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 901s # 901s # #endif 901s # static void 901s # good_types_proxy_finalize (GObject *object) 901s # { 901s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 901s # g_datalist_clear (&proxy->priv->qdata); 901s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # good_types_proxy_get_property (GObject *object, 901s # guint prop_id, 901s # GValue *value, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # GVariant *variant; 901s # g_assert (prop_id != 0 && prop_id - 1 < 1); 901s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 901s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 901s # if (info->use_gvariant) 901s # { 901s # g_value_set_variant (value, variant); 901s # } 901s # else 901s # { 901s # if (variant != NULL) 901s # g_dbus_gvariant_to_gvalue (variant, value); 901s # } 901s # if (variant != NULL) 901s # g_variant_unref (variant); 901s # } 901s # 901s # static void 901s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 901s # GAsyncResult *res, 901s # gpointer user_data) 901s # { 901s # const _ExtendedGDBusPropertyInfo *info = user_data; 901s # GError *error; 901s # GVariant *_ret; 901s # error = NULL; 901s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 901s # if (!_ret) 901s # { 901s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 901s # info->parent_struct.name, 901s # error->message, g_quark_to_string (error->domain), error->code); 901s # g_error_free (error); 901s # } 901s # else 901s # { 901s # g_variant_unref (_ret); 901s # } 901s # } 901s # 901s # static void 901s # good_types_proxy_set_property (GObject *object, 901s # guint prop_id, 901s # const GValue *value, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # GVariant *variant; 901s # g_assert (prop_id != 0 && prop_id - 1 < 1); 901s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 901s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_dbus_proxy_call (G_DBUS_PROXY (object), 901s # "org.freedesktop.DBus.Properties.Set", 901s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 901s # G_DBUS_CALL_FLAGS_NONE, 901s # -1, 901s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 901s # g_variant_unref (variant); 901s # } 901s # 901s # static void 901s # good_types_proxy_g_signal (GDBusProxy *proxy, 901s # const gchar *sender_name G_GNUC_UNUSED, 901s # const gchar *signal_name, 901s # GVariant *parameters) 901s # { 901s # _ExtendedGDBusSignalInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # gsize n; 901s # guint signal_id; 901s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 901s # if (info == NULL) 901s # return; 901s # num_params = g_variant_n_children (parameters); 901s # paramv = g_new0 (GValue, num_params + 1); 901s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 901s # g_value_set_object (¶mv[0], proxy); 901s # g_variant_iter_init (&iter, parameters); 901s # n = 1; 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 901s # g_signal_emitv (paramv, signal_id, 0, NULL); 901s # for (n = 0; n < num_params + 1; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static void 901s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 901s # GVariant *changed_properties, 901s # const gchar *const *invalidated_properties) 901s # { 901s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 901s # guint n; 901s # const gchar *key; 901s # GVariantIter *iter; 901s # _ExtendedGDBusPropertyInfo *info; 901s # g_variant_get (changed_properties, "a{sv}", &iter); 901s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 901s # g_datalist_remove_data (&proxy->priv->qdata, key); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # g_variant_iter_free (iter); 901s # for (n = 0; invalidated_properties[n] != NULL; n++) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 901s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # } 901s # 901s # static GVariant * 901s # good_types_proxy_get_good_property_type (GoodTypes *object) 901s # { 901s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 901s # GVariant *variant; 901s # GVariant *value = NULL; 901s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 901s # value = variant; 901s # if (variant != NULL) 901s # g_variant_unref (variant); 901s # return value; 901s # } 901s # 901s # static void 901s # good_types_proxy_init (GoodTypesProxy *proxy) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # proxy->priv = good_types_proxy_get_instance_private (proxy); 901s # #else 901s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 901s # #endif 901s # 901s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 901s # } 901s # 901s # static void 901s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusProxyClass *proxy_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = good_types_proxy_finalize; 901s # gobject_class->get_property = good_types_proxy_get_property; 901s # gobject_class->set_property = good_types_proxy_set_property; 901s # 901s # proxy_class = G_DBUS_PROXY_CLASS (klass); 901s # proxy_class->g_signal = good_types_proxy_g_signal; 901s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 901s # 901s # good_types_override_properties (gobject_class, 1); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # good_types_proxy_iface_init (GoodTypesIface *iface) 901s # { 901s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 901s # } 901s # 901s # /** 901s # * good_types_proxy_new: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 901s # * 901s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # good_types_proxy_new ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * good_types_proxy_new_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with good_types_proxy_new(). 901s # * 901s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # GoodTypes * 901s # good_types_proxy_new_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return GOOD_TYPES (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * good_types_proxy_new_sync: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See good_types_proxy_new() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # GoodTypes * 901s # good_types_proxy_new_sync ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return GOOD_TYPES (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /** 901s # * good_types_proxy_new_for_bus: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 901s # * 901s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # good_types_proxy_new_for_bus ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * good_types_proxy_new_for_bus_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with good_types_proxy_new_for_bus(). 901s # * 901s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # GoodTypes * 901s # good_types_proxy_new_for_bus_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return GOOD_TYPES (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * good_types_proxy_new_for_bus_sync: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # GoodTypes * 901s # good_types_proxy_new_for_bus_sync ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return GOOD_TYPES (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * GoodTypesSkeleton: 901s # * 901s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * GoodTypesSkeletonClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for GoodTypesSkeleton. 901s # */ 901s # 901s # struct _GoodTypesSkeletonPrivate 901s # { 901s # GValue *properties; 901s # GList *changed_properties; 901s # GSource *changed_properties_idle_source; 901s # GMainContext *context; 901s # GMutex lock; 901s # }; 901s # 901s # static void 901s # _good_types_skeleton_handle_method_call ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name, 901s # const gchar *method_name, 901s # GVariant *parameters, 901s # GDBusMethodInvocation *invocation, 901s # gpointer user_data) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 901s # _ExtendedGDBusMethodInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # guint num_extra; 901s # gsize n; 901s # guint signal_id; 901s # GValue return_value = G_VALUE_INIT; 901s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 901s # g_assert (info != NULL); 901s # num_params = g_variant_n_children (parameters); 901s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 901s # n = 0; 901s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 901s # g_value_set_object (¶mv[n++], skeleton); 901s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 901s # g_value_set_object (¶mv[n++], invocation); 901s # if (info->pass_fdlist) 901s # { 901s # #ifdef G_OS_UNIX 901s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 901s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 901s # #else 901s # g_assert_not_reached (); 901s # #endif 901s # } 901s # g_variant_iter_init (&iter, parameters); 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 901s # g_value_init (&return_value, G_TYPE_BOOLEAN); 901s # g_signal_emitv (paramv, signal_id, 0, &return_value); 901s # if (!g_value_get_boolean (&return_value)) 901s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 901s # g_value_unset (&return_value); 901s # for (n = 0; n < num_params + num_extra; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static GVariant * 901s # _good_types_skeleton_handle_get_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # GVariant *ret; 901s # ret = NULL; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # g_value_init (&value, pspec->value_type); 901s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_value_unset (&value); 901s # } 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _good_types_skeleton_handle_set_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GVariant *variant, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # gboolean ret; 901s # ret = FALSE; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # if (info->use_gvariant) 901s # g_value_set_variant (&value, variant); 901s # else 901s # g_dbus_gvariant_to_gvalue (variant, &value); 901s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # g_value_unset (&value); 901s # ret = TRUE; 901s # } 901s # return ret; 901s # } 901s # 901s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 901s # { 901s # _good_types_skeleton_handle_method_call, 901s # _good_types_skeleton_handle_get_property, 901s # _good_types_skeleton_handle_set_property, 901s # {NULL} 901s # }; 901s # 901s # static GDBusInterfaceInfo * 901s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return good_types_interface_info (); 901s # } 901s # 901s # static GDBusInterfaceVTable * 901s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 901s # } 901s # 901s # static GVariant * 901s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 901s # 901s # GVariantBuilder builder; 901s # guint n; 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # if (_good_types_interface_info.parent_struct.properties == NULL) 901s # goto out; 901s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 901s # { 901s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 901s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 901s # { 901s # GVariant *value; 901s # 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); 901s # if (value != NULL) 901s # { 901s # g_variant_take_ref (value); 901s # g_variant_builder_add (&builder, "{sv}", info->name, value); 901s # g_variant_unref (value); 901s # } 901s # } 901s # } 901s # out: 901s # return g_variant_builder_end (&builder); 901s # } 901s # 901s # static gboolean _good_types_emit_changed (gpointer user_data); 901s # 901s # static void 901s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 901s # gboolean emit_changed = FALSE; 901s # 901s # g_mutex_lock (&skeleton->priv->lock); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # { 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # skeleton->priv->changed_properties_idle_source = NULL; 901s # emit_changed = TRUE; 901s # } 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # 901s # if (emit_changed) 901s # _good_types_emit_changed (skeleton); 901s # } 901s # 901s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_ADD_PRIVATE (GoodTypesSkeleton) 901s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 901s # 901s # #endif 901s # static void 901s # good_types_skeleton_finalize (GObject *object) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 901s # guint n; 901s # for (n = 0; n < 1; n++) 901s # g_value_unset (&skeleton->priv->properties[n]); 901s # g_free (skeleton->priv->properties); 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # g_main_context_unref (skeleton->priv->context); 901s # g_mutex_clear (&skeleton->priv->lock); 901s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # good_types_skeleton_get_property (GObject *object, 901s # guint prop_id, 901s # GValue *value, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 901s # g_assert (prop_id != 0 && prop_id - 1 < 1); 901s # g_mutex_lock (&skeleton->priv->lock); 901s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # } 901s # 901s # static gboolean 901s # _good_types_emit_changed (gpointer user_data) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 901s # GList *l; 901s # GVariantBuilder builder; 901s # GVariantBuilder invalidated_builder; 901s # guint num_changes; 901s # 901s # g_mutex_lock (&skeleton->priv->lock); 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 901s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 901s # { 901s # ChangedProperty *cp = l->data; 901s # GVariant *variant; 901s # const GValue *cur_value; 901s # 901s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 901s # if (!_g_value_equal (cur_value, &cp->orig_value)) 901s # { 901s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 901s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 901s # g_variant_unref (variant); 901s # num_changes++; 901s # } 901s # } 901s # if (num_changes > 0) 901s # { 901s # GList *connections, *ll; 901s # GVariant *signal_variant; 901s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 901s # &builder, &invalidated_builder)); 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # for (ll = connections; ll != NULL; ll = ll->next) 901s # { 901s # GDBusConnection *connection = ll->data; 901s # 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 901s # "org.freedesktop.DBus.Properties", 901s # "PropertiesChanged", 901s # signal_variant, 901s # NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # else 901s # { 901s # g_variant_builder_clear (&builder); 901s # g_variant_builder_clear (&invalidated_builder); 901s # } 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # skeleton->priv->changed_properties = NULL; 901s # skeleton->priv->changed_properties_idle_source = NULL; 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # return FALSE; 901s # } 901s # 901s # static void 901s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 901s # { 901s # ChangedProperty *cp; 901s # GList *l; 901s # cp = NULL; 901s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 901s # { 901s # ChangedProperty *i_cp = l->data; 901s # if (i_cp->info == info) 901s # { 901s # cp = i_cp; 901s # break; 901s # } 901s # } 901s # if (cp == NULL) 901s # { 901s # cp = g_new0 (ChangedProperty, 1); 901s # cp->prop_id = prop_id; 901s # cp->info = info; 901s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 901s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 901s # g_value_copy (orig_value, &cp->orig_value); 901s # } 901s # } 901s # 901s # static void 901s # good_types_skeleton_notify (GObject *object, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 901s # g_mutex_lock (&skeleton->priv->lock); 901s # if (skeleton->priv->changed_properties != NULL && 901s # skeleton->priv->changed_properties_idle_source == NULL) 901s # { 901s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 901s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 901s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 901s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 901s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 901s # g_source_unref (skeleton->priv->changed_properties_idle_source); 901s # } 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # } 901s # 901s # static void 901s # good_types_skeleton_set_property (GObject *object, 901s # guint prop_id, 901s # const GValue *value, 901s # GParamSpec *pspec) 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 901s # g_assert (prop_id != 0 && prop_id - 1 < 1); 901s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 901s # g_mutex_lock (&skeleton->priv->lock); 901s # g_object_freeze_notify (object); 901s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 901s # { 901s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 901s # info->emits_changed_signal) 901s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 901s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 901s # g_object_notify_by_pspec (object, pspec); 901s # } 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # g_object_thaw_notify (object); 901s # } 901s # 901s # static void 901s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 901s # #else 901s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 901s # #endif 901s # 901s # g_mutex_init (&skeleton->priv->lock); 901s # skeleton->priv->context = g_main_context_ref_thread_default (); 901s # skeleton->priv->properties = g_new0 (GValue, 1); 901s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 901s # } 901s # 901s # static GVariant * 901s # good_types_skeleton_get_good_property_type (GoodTypes *object) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 901s # GVariant *value; 901s # g_mutex_lock (&skeleton->priv->lock); 901s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # return value; 901s # } 901s # 901s # static void 901s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusInterfaceSkeletonClass *skeleton_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = good_types_skeleton_finalize; 901s # gobject_class->get_property = good_types_skeleton_get_property; 901s # gobject_class->set_property = good_types_skeleton_set_property; 901s # gobject_class->notify = good_types_skeleton_notify; 901s # 901s # 901s # good_types_override_properties (gobject_class, 1); 901s # 901s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 901s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 901s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 901s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 901s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # good_types_skeleton_iface_init (GoodTypesIface *iface) 901s # { 901s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 901s # } 901s # 901s # /** 901s # * good_types_skeleton_new: 901s # * 901s # * Creates a skeleton object for the D-Bus interface GoodTypes. 901s # * 901s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 901s # */ 901s # GoodTypes * 901s # good_types_skeleton_new (void) 901s # { 901s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 901s # } 901s # /tmp/tmpihytvci2/tmp26a82dbq.xml: 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpihytvci2/tmp26a82dbq.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s # 901s # /* ------------------------------------------------------------------------ 901s # * Code for interface GoodTypes 901s # * ------------------------------------------------------------------------ 901s # */ 901s # 901s # /** 901s # * SECTION:GoodTypes 901s # * @title: GoodTypes 901s # * @short_description: Generated C code for the GoodTypes D-Bus interface 901s # * 901s # * This section contains code for working with the GoodTypes D-Bus interface in C. 901s # */ 901s # 901s # /* ---- Introspection data for GoodTypes ---- */ 901s # 901s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 901s # { 901s # { 901s # -1, 901s # (gchar *) "GoodPropertyType", 901s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 901s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 901s # NULL 901s # }, 901s # "good-property-type", 901s # FALSE, 901s # TRUE 901s # }; 901s # 901s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 901s # { 901s # &_good_types_property_info_good_property_type.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 901s # { 901s # { 901s # -1, 901s # (gchar *) "GoodTypes", 901s # NULL, 901s # NULL, 901s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 901s # NULL 901s # }, 901s # "good-types", 901s # }; 901s # 901s # 901s # /** 901s # * good_types_interface_info: 901s # * 901s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 901s # * 901s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 901s # */ 901s # GDBusInterfaceInfo * 901s # good_types_interface_info (void) 901s # { 901s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 901s # } 901s # 901s # /** 901s # * good_types_override_properties: 901s # * @klass: The class structure for a #GObject derived class. 901s # * @property_id_begin: The property id to assign to the first overridden property. 901s # * 901s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 901s # * The properties are overridden in the order they are defined. 901s # * 901s # * Returns: The last property id. 901s # */ 901s # guint 901s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 901s # { 901s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 901s # return property_id_begin - 1; 901s # } 901s # 901s # 901s # 901s # /** 901s # * GoodTypes: 901s # * 901s # * Abstract interface type for the D-Bus interface GoodTypes. 901s # */ 901s # 901s # /** 901s # * GoodTypesIface: 901s # * @parent_iface: The parent interface. 901s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 901s # * 901s # * Virtual table for the D-Bus interface GoodTypes. 901s # */ 901s # 901s # typedef GoodTypesIface GoodTypesInterface; 901s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 901s # 901s # static void 901s # good_types_default_init (GoodTypesIface *iface) 901s # { 901s # /* GObject properties for D-Bus properties: */ 901s # /** 901s # * GoodTypes:good-property-type: 901s # * 901s # * Represents the D-Bus property "GoodPropertyType". 901s # * 901s # * 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. 901s # */ 901s # g_object_interface_install_property (iface, 901s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 901s # } 901s # 901s # /** 901s # * good_types_get_good_property_type: (skip) 901s # * @object: A GoodTypes. 901s # * 901s # * Gets the value of the "GoodPropertyType" D-Bus property. 901s # * 901s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 901s # * 901s # * 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. 901s # * 901s # * 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. 901s # */ 901s # GVariant * 901s # good_types_get_good_property_type (GoodTypes *object) 901s # { 901s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 901s # 901s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 901s # } 901s # 901s # /** 901s # * good_types_dup_good_property_type: (skip) 901s # * @object: A GoodTypes. 901s # * 901s # * Gets a copy of the "GoodPropertyType" D-Bus property. 901s # * 901s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 901s # * 901s # * 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(). 901s # */ 901s # GVariant * 901s # good_types_dup_good_property_type (GoodTypes *object) 901s # { 901s # GVariant *value; 901s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 901s # return value; 901s # } 901s # 901s # /** 901s # * good_types_set_good_property_type: (skip) 901s # * @object: A GoodTypes. 901s # * @value: The value to set. 901s # * 901s # * Sets the "GoodPropertyType" D-Bus property to @value. 901s # * 901s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 901s # */ 901s # void 901s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 901s # { 901s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * GoodTypesProxy: 901s # * 901s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * GoodTypesProxyClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for GoodTypesProxy. 901s # */ 901s # 901s # struct _GoodTypesProxyPrivate 901s # { 901s # GData *qdata; 901s # }; 901s # 901s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 901s # G_ADD_PRIVATE (GoodTypesProxy) 901s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 901s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 901s # 901s # #endif 901s # static void 901s # good_types_proxy_finalize (GObject *object) 901s # { 901s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 901s # g_datalist_clear (&proxy->priv->qdata); 901s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # good_types_proxy_get_property (GObject *object, 901s # guint prop_id, 901s # GValue *value, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # GVariant *variant; 901s # g_assert (prop_id != 0 && prop_id - 1 < 1); 901s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 901s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 901s # if (info->use_gvariant) 901s # { 901s # g_value_set_variant (value, variant); 901s # } 901s # else 901s # { 901s # if (variant != NULL) 901s # g_dbus_gvariant_to_gvalue (variant, value); 901s # } 901s # if (variant != NULL) 901s # g_variant_unref (variant); 901s # } 901s # 901s # static void 901s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 901s # GAsyncResult *res, 901s # gpointer user_data) 901s # { 901s # const _ExtendedGDBusPropertyInfo *info = user_data; 901s # GError *error; 901s # GVariant *_ret; 901s # error = NULL; 901s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 901s # if (!_ret) 901s # { 901s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 901s # info->parent_struct.name, 901s # error->message, g_quark_to_string (error->domain), error->code); 901s # g_error_free (error); 901s # } 901s # else 901s # { 901s # g_variant_unref (_ret); 901s # } 901s # } 901s # 901s # static void 901s # good_types_proxy_set_property (GObject *object, 901s # guint prop_id, 901s # const GValue *value, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # GVariant *variant; 901s # g_assert (prop_id != 0 && prop_id - 1 < 1); 901s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 901s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_dbus_proxy_call (G_DBUS_PROXY (object), 901s # "org.freedesktop.DBus.Properties.Set", 901s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 901s # G_DBUS_CALL_FLAGS_NONE, 901s # -1, 901s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 901s # g_variant_unref (variant); 901s # } 901s # 901s # static void 901s # good_types_proxy_g_signal (GDBusProxy *proxy, 901s # const gchar *sender_name G_GNUC_UNUSED, 901s # const gchar *signal_name, 901s # GVariant *parameters) 901s # { 901s # _ExtendedGDBusSignalInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # gsize n; 901s # guint signal_id; 901s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 901s # if (info == NULL) 901s # return; 901s # num_params = g_variant_n_children (parameters); 901s # paramv = g_new0 (GValue, num_params + 1); 901s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 901s # g_value_set_object (¶mv[0], proxy); 901s # g_variant_iter_init (&iter, parameters); 901s # n = 1; 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 901s # g_signal_emitv (paramv, signal_id, 0, NULL); 901s # for (n = 0; n < num_params + 1; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static void 901s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 901s # GVariant *changed_properties, 901s # const gchar *const *invalidated_properties) 901s # { 901s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 901s # guint n; 901s # const gchar *key; 901s # GVariantIter *iter; 901s # _ExtendedGDBusPropertyInfo *info; 901s # g_variant_get (changed_properties, "a{sv}", &iter); 901s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 901s # g_datalist_remove_data (&proxy->priv->qdata, key); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # g_variant_iter_free (iter); 901s # for (n = 0; invalidated_properties[n] != NULL; n++) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 901s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # } 901s # 901s # static GVariant * 901s # good_types_proxy_get_good_property_type (GoodTypes *object) 901s # { 901s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 901s # GVariant *variant; 901s # GVariant *value = NULL; 901s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 901s # value = variant; 901s # if (variant != NULL) 901s # g_variant_unref (variant); 901s # return value; 901s # } 901s # 901s # static void 901s # good_types_proxy_init (GoodTypesProxy *proxy) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # proxy->priv = good_types_proxy_get_instance_private (proxy); 901s # #else 901s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 901s # #endif 901s # 901s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 901s # } 901s # 901s # static void 901s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusProxyClass *proxy_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = good_types_proxy_finalize; 901s # gobject_class->get_property = good_types_proxy_get_property; 901s # gobject_class->set_property = good_types_proxy_set_property; 901s # 901s # proxy_class = G_DBUS_PROXY_CLASS (klass); 901s # proxy_class->g_signal = good_types_proxy_g_signal; 901s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 901s # 901s # good_types_override_properties (gobject_class, 1); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # good_types_proxy_iface_init (GoodTypesIface *iface) 901s # { 901s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 901s # } 901s # 901s # /** 901s # * good_types_proxy_new: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 901s # * 901s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # good_types_proxy_new ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * good_types_proxy_new_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with good_types_proxy_new(). 901s # * 901s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # GoodTypes * 901s # good_types_proxy_new_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return GOOD_TYPES (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * good_types_proxy_new_sync: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See good_types_proxy_new() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # GoodTypes * 901s # good_types_proxy_new_sync ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return GOOD_TYPES (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /** 901s # * good_types_proxy_new_for_bus: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 901s # * 901s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # good_types_proxy_new_for_bus ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * good_types_proxy_new_for_bus_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with good_types_proxy_new_for_bus(). 901s # * 901s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # GoodTypes * 901s # good_types_proxy_new_for_bus_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return GOOD_TYPES (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * good_types_proxy_new_for_bus_sync: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # GoodTypes * 901s # good_types_proxy_new_for_bus_sync ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return GOOD_TYPES (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * GoodTypesSkeleton: 901s # * 901s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * GoodTypesSkeletonClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for GoodTypesSkeleton. 901s # */ 901s # 901s # struct _GoodTypesSkeletonPrivate 901s # { 901s # GValue *properties; 901s # GList *changed_properties; 901s # GSource *changed_properties_idle_source; 901s # GMainContext *context; 901s # GMutex lock; 901s # }; 901s # 901s # static void 901s # _good_types_skeleton_handle_method_call ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name, 901s # const gchar *method_name, 901s # GVariant *parameters, 901s # GDBusMethodInvocation *invocation, 901s # gpointer user_data) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 901s # _ExtendedGDBusMethodInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # guint num_extra; 901s # gsize n; 901s # guint signal_id; 901s # GValue return_value = G_VALUE_INIT; 901s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 901s # g_assert (info != NULL); 901s # num_params = g_variant_n_children (parameters); 901s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 901s # n = 0; 901s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 901s # g_value_set_object (¶mv[n++], skeleton); 901s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 901s # g_value_set_object (¶mv[n++], invocation); 901s # if (info->pass_fdlist) 901s # { 901s # #ifdef G_OS_UNIX 901s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 901s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 901s # #else 901s # g_assert_not_reached (); 901s # #endif 901s # } 901s # g_variant_iter_init (&iter, parameters); 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 901s # g_value_init (&return_value, G_TYPE_BOOLEAN); 901s # g_signal_emitv (paramv, signal_id, 0, &return_value); 901s # if (!g_value_get_boolean (&return_value)) 901s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 901s # g_value_unset (&return_value); 901s # for (n = 0; n < num_params + num_extra; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static GVariant * 901s # _good_types_skeleton_handle_get_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # GVariant *ret; 901s # ret = NULL; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # g_value_init (&value, pspec->value_type); 901s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_value_unset (&value); 901s # } 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _good_types_skeleton_handle_set_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GVariant *variant, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # gboolean ret; 901s # ret = FALSE; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # if (info->use_gvariant) 901s # g_value_set_variant (&value, variant); 901s # else 901s # g_dbus_gvariant_to_gvalue (variant, &value); 901s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # g_value_unset (&value); 901s # ret = TRUE; 901s # } 901s # return ret; 901s # } 901s # 901s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 901s # { 901s # _good_types_skeleton_handle_method_call, 901s # _good_types_skeleton_handle_get_property, 901s # _good_types_skeleton_handle_set_property, 901s # {NULL} 901s # }; 901s # 901s # static GDBusInterfaceInfo * 901s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return good_types_interface_info (); 901s # } 901s # 901s # static GDBusInterfaceVTable * 901s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 901s # } 901s # 901s # static GVariant * 901s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 901s # 901s # GVariantBuilder builder; 901s # guint n; 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # if (_good_types_interface_info.parent_struct.properties == NULL) 901s # goto out; 901s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 901s # { 901s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 901s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 901s # { 901s # GVariant *value; 901s # 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); 901s # if (value != NULL) 901s # { 901s # g_variant_take_ref (value); 901s # g_variant_builder_add (&builder, "{sv}", info->name, value); 901s # g_variant_unref (value); 901s # } 901s # } 901s # } 901s # out: 901s # return g_variant_builder_end (&builder); 901s # } 901s # 901s # static gboolean _good_types_emit_changed (gpointer user_data); 901s # 901s # static void 901s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 901s # gboolean emit_changed = FALSE; 901s # 901s # g_mutex_lock (&skeleton->priv->lock); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # { 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # skeleton->priv->changed_properties_idle_source = NULL; 901s # emit_changed = TRUE; 901s # } 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # 901s # if (emit_changed) 901s # _good_types_emit_changed (skeleton); 901s # } 901s # 901s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_ADD_PRIVATE (GoodTypesSkeleton) 901s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 901s # 901s # #endif 901s # static void 901s # good_types_skeleton_finalize (GObject *object) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 901s # guint n; 901s # for (n = 0; n < 1; n++) 901s # g_value_unset (&skeleton->priv->properties[n]); 901s # g_free (skeleton->priv->properties); 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # g_main_context_unref (skeleton->priv->context); 901s # g_mutex_clear (&skeleton->priv->lock); 901s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # good_types_skeleton_get_property (GObject *object, 901s # guint prop_id, 901s # GValue *value, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 901s # g_assert (prop_id != 0 && prop_id - 1 < 1); 901s # g_mutex_lock (&skeleton->priv->lock); 901s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # } 901s # 901s # static gboolean 901s # _good_types_emit_changed (gpointer user_data) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 901s # GList *l; 901s # GVariantBuilder builder; 901s # GVariantBuilder invalidated_builder; 901s # guint num_changes; 901s # 901s # g_mutex_lock (&skeleton->priv->lock); 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 901s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 901s # { 901s # ChangedProperty *cp = l->data; 901s # GVariant *variant; 901s # const GValue *cur_value; 901s # 901s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 901s # if (!_g_value_equal (cur_value, &cp->orig_value)) 901s # { 901s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 901s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 901s # g_variant_unref (variant); 901s # num_changes++; 901s # } 901s # } 901s # if (num_changes > 0) 901s # { 901s # GList *connections, *ll; 901s # GVariant *signal_variant; 901s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 901s # &builder, &invalidated_builder)); 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # for (ll = connections; ll != NULL; ll = ll->next) 901s # { 901s # GDBusConnection *connection = ll->data; 901s # 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 901s # "org.freedesktop.DBus.Properties", 901s # "PropertiesChanged", 901s # signal_variant, 901s # NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # else 901s # { 901s # g_variant_builder_clear (&builder); 901s # g_variant_builder_clear (&invalidated_builder); 901s # } 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # skeleton->priv->changed_properties = NULL; 901s # skeleton->priv->changed_properties_idle_source = NULL; 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # return FALSE; 901s # } 901s # 901s # static void 901s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 901s # { 901s # ChangedProperty *cp; 901s # GList *l; 901s # cp = NULL; 901s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 901s # { 901s # ChangedProperty *i_cp = l->data; 901s # if (i_cp->info == info) 901s # { 901s # cp = i_cp; 901s # break; 901s # } 901s # } 901s # if (cp == NULL) 901s # { 901s # cp = g_new0 (ChangedProperty, 1); 901s # cp->prop_id = prop_id; 901s # cp->info = info; 901s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 901s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 901s # g_value_copy (orig_value, &cp->orig_value); 901s # } 901s # } 901s # 901s # static void 901s # good_types_skeleton_notify (GObject *object, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 901s # g_mutex_lock (&skeleton->priv->lock); 901s # if (skeleton->priv->changed_properties != NULL && 901s # skeleton->priv->changed_properties_idle_source == NULL) 901s # { 901s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 901s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 901s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 901s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 901s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 901s # g_source_unref (skeleton->priv->changed_properties_idle_source); 901s # } 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # } 901s # 901s # static void 901s # good_types_skeleton_set_property (GObject *object, 901s # guint prop_id, 901s # const GValue *value, 901s # GParamSpec *pspec) 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 901s # g_assert (prop_id != 0 && prop_id - 1 < 1); 901s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 901s # g_mutex_lock (&skeleton->priv->lock); 901s # g_object_freeze_notify (object); 901s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 901s # { 901s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 901s # info->emits_changed_signal) 901s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 901s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 901s # g_object_notify_by_pspec (object, pspec); 901s # } 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # g_object_thaw_notify (object); 901s # } 901s # 901s # static void 901s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 901s # #else 901s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 901s # #endif 901s # 901s # g_mutex_init (&skeleton->priv->lock); 901s # skeleton->priv->context = g_main_context_ref_thread_default (); 901s # skeleton->priv->properties = g_new0 (GValue, 1); 901s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 901s # } 901s # 901s # static GVariant * 901s # good_types_skeleton_get_good_property_type (GoodTypes *object) 901s # { 901s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 901s # GVariant *value; 901s # g_mutex_lock (&skeleton->priv->lock); 901s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 901s # g_mutex_unlock (&skeleton->priv->lock); 901s # return value; 901s # } 901s # 901s # static void 901s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusInterfaceSkeletonClass *skeleton_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = good_types_skeleton_finalize; 901s # gobject_class->get_property = good_types_skeleton_get_property; 901s # gobject_class->set_property = good_types_skeleton_set_property; 901s # gobject_class->notify = good_types_skeleton_notify; 901s # 901s # 901s # good_types_override_properties (gobject_class, 1); 901s # 901s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 901s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 901s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 901s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 901s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # good_types_skeleton_iface_init (GoodTypesIface *iface) 901s # { 901s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 901s # } 901s # 901s # /** 901s # * good_types_skeleton_new: 901s # * 901s # * Creates a skeleton object for the D-Bus interface GoodTypes. 901s # * 901s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 901s # */ 901s # GoodTypes * 901s # good_types_skeleton_new (void) 901s # { 901s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 901s # } 901s ok 3 __main__.TestCodegen.test_empty_interface_body 901s # tmpdir: /tmp/tmpwc9ncoay 901s # codegen: /usr/bin/gdbus-codegen 901s # /tmp/tmpwc9ncoay/tmpt0gz1qw0.xml: 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwc9ncoay/tmpt0gz1qw0.xml', '--output', '-', '--body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s ok 4 __main__.TestCodegen.test_empty_interface_header 901s # tmpdir: /tmp/tmpzaf6xts9 901s # codegen: /usr/bin/gdbus-codegen 901s # /tmp/tmpzaf6xts9/tmpbvlbdp1j.xml: 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzaf6xts9/tmpbvlbdp1j.xml', '--output', '-', '--header'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifndef __STDOUT__ 901s # #define __STDOUT__ 901s # 901s # #include 901s # 901s # G_BEGIN_DECLS 901s # 901s # 901s # G_END_DECLS 901s # 901s # #endif /* __STDOUT__ */ 901s ok 5 __main__.TestCodegen.test_empty_interface_info_body 901s # tmpdir: /tmp/tmplg7wdso8 901s # codegen: /usr/bin/gdbus-codegen 901s # /tmp/tmplg7wdso8/tmp5j3ot7s8.xml: 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplg7wdso8/tmp5j3ot7s8.xml', '--output', '-', '--interface-info-body'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s ok 6 __main__.TestCodegen.test_empty_interface_info_header 901s # tmpdir: /tmp/tmpys7i24p0 901s # codegen: /usr/bin/gdbus-codegen 901s # /tmp/tmpys7i24p0/tmpv3w_5p0w.xml: 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpys7i24p0/tmpv3w_5p0w.xml', '--output', '-', '--interface-info-header'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifndef __STDOUT__ 901s # #define __STDOUT__ 901s # 901s # #include 901s # 901s # G_BEGIN_DECLS 901s # 901s # 901s # G_END_DECLS 901s # 901s # #endif /* __STDOUT__ */ 901s ok 7 __main__.TestCodegen.test_generate_docbook 901s # tmpdir: /tmp/tmpg07lzpb1 901s # codegen: /usr/bin/gdbus-codegen 901s # /tmp/tmpg07lzpb1/tmp0gmawseu.xml: 901s # 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg07lzpb1/tmp0gmawseu.xml', '--generate-docbook', 'test'] 901s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: 902s ok 8 __main__.TestCodegen.test_generate_md 902s # tmpdir: /tmp/tmpdutnrlmo 902s # codegen: /usr/bin/gdbus-codegen 902s # /tmp/tmpdutnrlmo/tmprlaqpm80.xml: 902s # 902s # 902s # 902s # 902s # 902s # 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdutnrlmo/tmprlaqpm80.xml', '--generate-md', 'test'] 902s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: 902s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 902s # tmpdir: /tmp/tmpvixav9zz 902s # codegen: /usr/bin/gdbus-codegen 902s # /tmp/tmpvixav9zz/tmpzwvjs834.xml: 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvixav9zz/tmpzwvjs834.xml', '--output', '-', '--body'] 902s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifdef HAVE_CONFIG_H 902s # # include "config.h" 902s # #endif 902s # 902s # #include 902s # #ifdef G_OS_UNIX 902s # # include 902s # #endif 902s # 902s # #ifdef G_ENABLE_DEBUG 902s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 902s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 902s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 902s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 902s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 902s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 902s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 902s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 902s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 902s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 902s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 902s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 902s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 902s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 902s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 902s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 902s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 902s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 902s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 902s # #else /* !G_ENABLE_DEBUG */ 902s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 902s # * Do not access GValues directly in your code. Instead, use the 902s # * g_value_get_*() functions 902s # */ 902s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 902s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 902s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 902s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 902s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 902s # #endif /* !G_ENABLE_DEBUG */ 902s # 902s # typedef struct 902s # { 902s # GDBusArgInfo parent_struct; 902s # gboolean use_gvariant; 902s # } _ExtendedGDBusArgInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusMethodInfo parent_struct; 902s # const gchar *signal_name; 902s # gboolean pass_fdlist; 902s # } _ExtendedGDBusMethodInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusSignalInfo parent_struct; 902s # const gchar *signal_name; 902s # } _ExtendedGDBusSignalInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusPropertyInfo parent_struct; 902s # const gchar *hyphen_name; 902s # guint use_gvariant : 1; 902s # guint emits_changed_signal : 1; 902s # } _ExtendedGDBusPropertyInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusInterfaceInfo parent_struct; 902s # const gchar *hyphen_name; 902s # } _ExtendedGDBusInterfaceInfo; 902s # 902s # typedef struct 902s # { 902s # const _ExtendedGDBusPropertyInfo *info; 902s # guint prop_id; 902s # GValue orig_value; /* the value before the change */ 902s # } ChangedProperty; 902s # 902s # static void 902s # _changed_property_free (ChangedProperty *data) 902s # { 902s # g_value_unset (&data->orig_value); 902s # g_free (data); 902s # } 902s # 902s # static gboolean 902s # _g_strv_equal0 (gchar **a, gchar **b) 902s # { 902s # gboolean ret = FALSE; 902s # guint n; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # if (g_strv_length (a) != g_strv_length (b)) 902s # goto out; 902s # for (n = 0; a[n] != NULL; n++) 902s # if (g_strcmp0 (a[n], b[n]) != 0) 902s # goto out; 902s # ret = TRUE; 902s # out: 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _g_variant_equal0 (GVariant *a, GVariant *b) 902s # { 902s # gboolean ret = FALSE; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # ret = g_variant_equal (a, b); 902s # out: 902s # return ret; 902s # } 902s # 902s # G_GNUC_UNUSED static gboolean 902s # _g_value_equal (const GValue *a, const GValue *b) 902s # { 902s # gboolean ret = FALSE; 902s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 902s # switch (G_VALUE_TYPE (a)) 902s # { 902s # case G_TYPE_BOOLEAN: 902s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 902s # break; 902s # case G_TYPE_UCHAR: 902s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 902s # break; 902s # case G_TYPE_INT: 902s # ret = (g_value_get_int (a) == g_value_get_int (b)); 902s # break; 902s # case G_TYPE_UINT: 902s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 902s # break; 902s # case G_TYPE_INT64: 902s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 902s # break; 902s # case G_TYPE_UINT64: 902s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 902s # break; 902s # case G_TYPE_DOUBLE: 902s # { 902s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 902s # gdouble da = g_value_get_double (a); 902s # gdouble db = g_value_get_double (b); 902s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 902s # } 902s # break; 902s # case G_TYPE_STRING: 902s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 902s # break; 902s # case G_TYPE_VARIANT: 902s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 902s # break; 902s # default: 902s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 902s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 902s # else 902s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 902s # break; 902s # } 902s # return ret; 902s # } 902s # 902s # static void 902s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint G_GNUC_UNUSED, 902s # void *marshal_data) 902s # { 902s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 902s # (void *data1, 902s # GDBusMethodInvocation *arg_method_invocation, 902s # void *data2); 902s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 902s # GCClosure *cc = (GCClosure*) closure; 902s # void *data1, *data2; 902s # gboolean v_return; 902s # 902s # g_return_if_fail (return_value != NULL); 902s # g_return_if_fail (n_param_values == 2); 902s # 902s # if (G_CCLOSURE_SWAP_DATA (closure)) 902s # { 902s # data1 = closure->data; 902s # data2 = g_value_peek_pointer (param_values + 0); 902s # } 902s # else 902s # { 902s # data1 = g_value_peek_pointer (param_values + 0); 902s # data2 = closure->data; 902s # } 902s # 902s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 902s # (marshal_data ? marshal_data : cc->callback); 902s # 902s # v_return = 902s # callback (data1, 902s # g_marshal_value_peek_object (param_values + 1), 902s # data2); 902s # 902s # g_value_set_boolean (return_value, v_return); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ 902s # * Code for interface org.project.CallableIface 902s # * ------------------------------------------------------------------------ 902s # */ 902s # 902s # /** 902s # * SECTION:OrgProjectCallableIface 902s # * @title: OrgProjectCallableIface 902s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 902s # * 902s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 902s # */ 902s # 902s # /* ---- Introspection data for org.project.CallableIface ---- */ 902s # 902s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 902s # { 902s # { 902s # -1, 902s # (gchar *) "SimpleMethod", 902s # NULL, 902s # NULL, 902s # NULL 902s # }, 902s # "handle-simple-method", 902s # FALSE 902s # }; 902s # 902s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 902s # { 902s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 902s # { 902s # { 902s # -1, 902s # (gchar *) "org.project.CallableIface", 902s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 902s # NULL, 902s # NULL, 902s # NULL 902s # }, 902s # "org-project-callable-iface", 902s # }; 902s # 902s # 902s # /** 902s # * org_project_callable_iface_interface_info: 902s # * 902s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 902s # * 902s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 902s # */ 902s # GDBusInterfaceInfo * 902s # org_project_callable_iface_interface_info (void) 902s # { 902s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 902s # } 902s # 902s # /** 902s # * org_project_callable_iface_override_properties: 902s # * @klass: The class structure for a #GObject derived class. 902s # * @property_id_begin: The property id to assign to the first overridden property. 902s # * 902s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 902s # * The properties are overridden in the order they are defined. 902s # * 902s # * Returns: The last property id. 902s # */ 902s # guint 902s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 902s # { 902s # return property_id_begin - 1; 902s # } 902s # 902s # 902s # inline static void 902s # org_project_callable_iface_method_marshal_simple_method ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # 902s # /** 902s # * OrgProjectCallableIface: 902s # * 902s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 902s # */ 902s # 902s # /** 902s # * OrgProjectCallableIfaceIface: 902s # * @parent_iface: The parent interface. 902s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 902s # * 902s # * Virtual table for the D-Bus interface org.project.CallableIface. 902s # */ 902s # 902s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 902s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 902s # 902s # static void 902s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 902s # { 902s # /* GObject signals for incoming D-Bus method calls: */ 902s # /** 902s # * OrgProjectCallableIface::handle-simple-method: 902s # * @object: A #OrgProjectCallableIface. 902s # * @invocation: A #GDBusMethodInvocation. 902s # * 902s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 902s # * 902s # * 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. 902s # * 902s # * 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. 902s # */ 902s # g_signal_new ("handle-simple-method", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 902s # g_signal_accumulator_true_handled, 902s # NULL, 902s # org_project_callable_iface_method_marshal_simple_method, 902s # G_TYPE_BOOLEAN, 902s # 1, 902s # G_TYPE_DBUS_METHOD_INVOCATION); 902s # 902s # } 902s # 902s # /** 902s # * org_project_callable_iface_call_simple_method: 902s # * @proxy: A #OrgProjectCallableIfaceProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 902s # * 902s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 902s # */ 902s # void 902s # org_project_callable_iface_call_simple_method ( 902s # OrgProjectCallableIface *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 902s # "SimpleMethod", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # callback, 902s # user_data); 902s # } 902s # 902s # /** 902s # * org_project_callable_iface_call_simple_method_finish: 902s # * @proxy: A #OrgProjectCallableIfaceProxy. 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # org_project_callable_iface_call_simple_method_finish ( 902s # OrgProjectCallableIface *proxy, 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * org_project_callable_iface_call_simple_method_sync: 902s # * @proxy: A #OrgProjectCallableIfaceProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # org_project_callable_iface_call_simple_method_sync ( 902s # OrgProjectCallableIface *proxy, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 902s # "SimpleMethod", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * org_project_callable_iface_complete_simple_method: 902s # * @object: A #OrgProjectCallableIface. 902s # * @invocation: (transfer full): A #GDBusMethodInvocation. 902s # * 902s # * 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. 902s # * 902s # * This method will free @invocation, you cannot use it afterwards. 902s # */ 902s # void 902s # org_project_callable_iface_complete_simple_method ( 902s # OrgProjectCallableIface *object G_GNUC_UNUSED, 902s # GDBusMethodInvocation *invocation) 902s # { 902s # g_dbus_method_invocation_return_value (invocation, 902s # g_variant_new ("()")); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectCallableIfaceProxy: 902s # * 902s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectCallableIfaceProxyClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectCallableIfaceProxy. 902s # */ 902s # 902s # struct _OrgProjectCallableIfaceProxyPrivate 902s # { 902s # GData *qdata; 902s # }; 902s # 902s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_callable_iface_proxy_finalize (GObject *object) 902s # { 902s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 902s # g_datalist_clear (&proxy->priv->qdata); 902s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # const GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 902s # const gchar *sender_name G_GNUC_UNUSED, 902s # const gchar *signal_name, 902s # GVariant *parameters) 902s # { 902s # _ExtendedGDBusSignalInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # gsize n; 902s # guint signal_id; 902s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 902s # if (info == NULL) 902s # return; 902s # num_params = g_variant_n_children (parameters); 902s # paramv = g_new0 (GValue, num_params + 1); 902s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 902s # g_value_set_object (¶mv[0], proxy); 902s # g_variant_iter_init (&iter, parameters); 902s # n = 1; 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 902s # g_signal_emitv (paramv, signal_id, 0, NULL); 902s # for (n = 0; n < num_params + 1; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static void 902s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 902s # GVariant *changed_properties, 902s # const gchar *const *invalidated_properties) 902s # { 902s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 902s # guint n; 902s # const gchar *key; 902s # GVariantIter *iter; 902s # _ExtendedGDBusPropertyInfo *info; 902s # g_variant_get (changed_properties, "a{sv}", &iter); 902s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 902s # g_datalist_remove_data (&proxy->priv->qdata, key); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # g_variant_iter_free (iter); 902s # for (n = 0; invalidated_properties[n] != NULL; n++) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 902s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # } 902s # 902s # static void 902s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 902s # #else 902s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 902s # #endif 902s # 902s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 902s # } 902s # 902s # static void 902s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusProxyClass *proxy_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 902s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 902s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 902s # 902s # proxy_class = G_DBUS_PROXY_CLASS (klass); 902s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 902s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # /** 902s # * org_project_callable_iface_proxy_new: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 902s # * 902s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_callable_iface_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_callable_iface_proxy_new_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectCallableIface * 902s # org_project_callable_iface_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_CALLABLE_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_callable_iface_proxy_new_sync: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectCallableIface * 902s # org_project_callable_iface_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_CALLABLE_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /** 902s # * org_project_callable_iface_proxy_new_for_bus: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 902s # * 902s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_callable_iface_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_callable_iface_proxy_new_for_bus_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectCallableIface * 902s # org_project_callable_iface_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_CALLABLE_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_callable_iface_proxy_new_for_bus_sync: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectCallableIface * 902s # org_project_callable_iface_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_CALLABLE_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectCallableIfaceSkeleton: 902s # * 902s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectCallableIfaceSkeletonClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectCallableIfaceSkeleton. 902s # */ 902s # 902s # struct _OrgProjectCallableIfaceSkeletonPrivate 902s # { 902s # GValue *properties; 902s # GList *changed_properties; 902s # GSource *changed_properties_idle_source; 902s # GMainContext *context; 902s # GMutex lock; 902s # }; 902s # 902s # static void 902s # _org_project_callable_iface_skeleton_handle_method_call ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name, 902s # const gchar *method_name, 902s # GVariant *parameters, 902s # GDBusMethodInvocation *invocation, 902s # gpointer user_data) 902s # { 902s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 902s # _ExtendedGDBusMethodInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # guint num_extra; 902s # gsize n; 902s # guint signal_id; 902s # GValue return_value = G_VALUE_INIT; 902s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 902s # g_assert (info != NULL); 902s # num_params = g_variant_n_children (parameters); 902s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 902s # n = 0; 902s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 902s # g_value_set_object (¶mv[n++], skeleton); 902s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 902s # g_value_set_object (¶mv[n++], invocation); 902s # if (info->pass_fdlist) 902s # { 902s # #ifdef G_OS_UNIX 902s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 902s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 902s # #else 902s # g_assert_not_reached (); 902s # #endif 902s # } 902s # g_variant_iter_init (&iter, parameters); 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 902s # g_value_init (&return_value, G_TYPE_BOOLEAN); 902s # g_signal_emitv (paramv, signal_id, 0, &return_value); 902s # if (!g_value_get_boolean (&return_value)) 902s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 902s # g_value_unset (&return_value); 902s # for (n = 0; n < num_params + num_extra; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static GVariant * 902s # _org_project_callable_iface_skeleton_handle_get_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # GVariant *ret; 902s # ret = NULL; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # g_value_init (&value, pspec->value_type); 902s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 902s # g_value_unset (&value); 902s # } 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _org_project_callable_iface_skeleton_handle_set_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GVariant *variant, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # gboolean ret; 902s # ret = FALSE; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # if (info->use_gvariant) 902s # g_value_set_variant (&value, variant); 902s # else 902s # g_dbus_gvariant_to_gvalue (variant, &value); 902s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # g_value_unset (&value); 902s # ret = TRUE; 902s # } 902s # return ret; 902s # } 902s # 902s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 902s # { 902s # _org_project_callable_iface_skeleton_handle_method_call, 902s # _org_project_callable_iface_skeleton_handle_get_property, 902s # _org_project_callable_iface_skeleton_handle_set_property, 902s # {NULL} 902s # }; 902s # 902s # static GDBusInterfaceInfo * 902s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return org_project_callable_iface_interface_info (); 902s # } 902s # 902s # static GDBusInterfaceVTable * 902s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 902s # } 902s # 902s # static GVariant * 902s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 902s # { 902s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 902s # 902s # GVariantBuilder builder; 902s # guint n; 902s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 902s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 902s # goto out; 902s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 902s # { 902s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 902s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 902s # { 902s # GVariant *value; 902s # 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); 902s # if (value != NULL) 902s # { 902s # g_variant_take_ref (value); 902s # g_variant_builder_add (&builder, "{sv}", info->name, value); 902s # g_variant_unref (value); 902s # } 902s # } 902s # } 902s # out: 902s # return g_variant_builder_end (&builder); 902s # } 902s # 902s # static void 902s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_callable_iface_skeleton_finalize (GObject *object) 902s # { 902s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 902s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 902s # if (skeleton->priv->changed_properties_idle_source != NULL) 902s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 902s # g_main_context_unref (skeleton->priv->context); 902s # g_mutex_clear (&skeleton->priv->lock); 902s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 902s # #else 902s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 902s # #endif 902s # 902s # g_mutex_init (&skeleton->priv->lock); 902s # skeleton->priv->context = g_main_context_ref_thread_default (); 902s # } 902s # 902s # static void 902s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusInterfaceSkeletonClass *skeleton_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 902s # 902s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 902s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 902s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 902s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 902s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # /** 902s # * org_project_callable_iface_skeleton_new: 902s # * 902s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 902s # * 902s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 902s # */ 902s # OrgProjectCallableIface * 902s # org_project_callable_iface_skeleton_new (void) 902s # { 902s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ 902s # * Code for interface org.project.OtherCallableIface 902s # * ------------------------------------------------------------------------ 902s # */ 902s # 902s # /** 902s # * SECTION:OrgProjectOtherCallableIface 902s # * @title: OrgProjectOtherCallableIface 902s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 902s # * 902s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 902s # */ 902s # 902s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 902s # 902s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 902s # { 902s # { 902s # -1, 902s # (gchar *) "SimpleMethod", 902s # NULL, 902s # NULL, 902s # NULL 902s # }, 902s # "handle-simple-method", 902s # FALSE 902s # }; 902s # 902s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 902s # { 902s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 902s # { 902s # { 902s # -1, 902s # (gchar *) "org.project.OtherCallableIface", 902s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 902s # NULL, 902s # NULL, 902s # NULL 902s # }, 902s # "org-project-other-callable-iface", 902s # }; 902s # 902s # 902s # /** 902s # * org_project_other_callable_iface_interface_info: 902s # * 902s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 902s # * 902s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 902s # */ 902s # GDBusInterfaceInfo * 902s # org_project_other_callable_iface_interface_info (void) 902s # { 902s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 902s # } 902s # 902s # /** 902s # * org_project_other_callable_iface_override_properties: 902s # * @klass: The class structure for a #GObject derived class. 902s # * @property_id_begin: The property id to assign to the first overridden property. 902s # * 902s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 902s # * The properties are overridden in the order they are defined. 902s # * 902s # * Returns: The last property id. 902s # */ 902s # guint 902s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 902s # { 902s # return property_id_begin - 1; 902s # } 902s # 902s # 902s # inline static void 902s # org_project_other_callable_iface_method_marshal_simple_method ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # 902s # /** 902s # * OrgProjectOtherCallableIface: 902s # * 902s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 902s # */ 902s # 902s # /** 902s # * OrgProjectOtherCallableIfaceIface: 902s # * @parent_iface: The parent interface. 902s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 902s # * 902s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 902s # */ 902s # 902s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 902s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 902s # 902s # static void 902s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 902s # { 902s # /* GObject signals for incoming D-Bus method calls: */ 902s # /** 902s # * OrgProjectOtherCallableIface::handle-simple-method: 902s # * @object: A #OrgProjectOtherCallableIface. 902s # * @invocation: A #GDBusMethodInvocation. 902s # * 902s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 902s # * 902s # * 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. 902s # * 902s # * 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. 902s # */ 902s # g_signal_new ("handle-simple-method", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 902s # g_signal_accumulator_true_handled, 902s # NULL, 902s # org_project_other_callable_iface_method_marshal_simple_method, 902s # G_TYPE_BOOLEAN, 902s # 1, 902s # G_TYPE_DBUS_METHOD_INVOCATION); 902s # 902s # } 902s # 902s # /** 902s # * org_project_other_callable_iface_call_simple_method: 902s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 902s # * 902s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 902s # */ 902s # void 902s # org_project_other_callable_iface_call_simple_method ( 902s # OrgProjectOtherCallableIface *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 902s # "SimpleMethod", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # callback, 902s # user_data); 902s # } 902s # 902s # /** 902s # * org_project_other_callable_iface_call_simple_method_finish: 902s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # org_project_other_callable_iface_call_simple_method_finish ( 902s # OrgProjectOtherCallableIface *proxy, 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * org_project_other_callable_iface_call_simple_method_sync: 902s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # org_project_other_callable_iface_call_simple_method_sync ( 902s # OrgProjectOtherCallableIface *proxy, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 902s # "SimpleMethod", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * org_project_other_callable_iface_complete_simple_method: 902s # * @object: A #OrgProjectOtherCallableIface. 902s # * @invocation: (transfer full): A #GDBusMethodInvocation. 902s # * 902s # * 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. 902s # * 902s # * This method will free @invocation, you cannot use it afterwards. 902s # */ 902s # void 902s # org_project_other_callable_iface_complete_simple_method ( 902s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 902s # GDBusMethodInvocation *invocation) 902s # { 902s # g_dbus_method_invocation_return_value (invocation, 902s # g_variant_new ("()")); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectOtherCallableIfaceProxy: 902s # * 902s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectOtherCallableIfaceProxyClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 902s # */ 902s # 902s # struct _OrgProjectOtherCallableIfaceProxyPrivate 902s # { 902s # GData *qdata; 902s # }; 902s # 902s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_other_callable_iface_proxy_finalize (GObject *object) 902s # { 902s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 902s # g_datalist_clear (&proxy->priv->qdata); 902s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # const GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 902s # const gchar *sender_name G_GNUC_UNUSED, 902s # const gchar *signal_name, 902s # GVariant *parameters) 902s # { 902s # _ExtendedGDBusSignalInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # gsize n; 902s # guint signal_id; 902s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 902s # if (info == NULL) 902s # return; 902s # num_params = g_variant_n_children (parameters); 902s # paramv = g_new0 (GValue, num_params + 1); 902s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 902s # g_value_set_object (¶mv[0], proxy); 902s # g_variant_iter_init (&iter, parameters); 902s # n = 1; 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 902s # g_signal_emitv (paramv, signal_id, 0, NULL); 902s # for (n = 0; n < num_params + 1; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static void 902s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 902s # GVariant *changed_properties, 902s # const gchar *const *invalidated_properties) 902s # { 902s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 902s # guint n; 902s # const gchar *key; 902s # GVariantIter *iter; 902s # _ExtendedGDBusPropertyInfo *info; 902s # g_variant_get (changed_properties, "a{sv}", &iter); 902s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 902s # g_datalist_remove_data (&proxy->priv->qdata, key); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # g_variant_iter_free (iter); 902s # for (n = 0; invalidated_properties[n] != NULL; n++) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 902s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # } 902s # 902s # static void 902s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 902s # #else 902s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 902s # #endif 902s # 902s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 902s # } 902s # 902s # static void 902s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusProxyClass *proxy_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 902s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 902s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 902s # 902s # proxy_class = G_DBUS_PROXY_CLASS (klass); 902s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 902s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # /** 902s # * org_project_other_callable_iface_proxy_new: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 902s # * 902s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_other_callable_iface_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_other_callable_iface_proxy_new_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectOtherCallableIface * 902s # org_project_other_callable_iface_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_other_callable_iface_proxy_new_sync: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectOtherCallableIface * 902s # org_project_other_callable_iface_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /** 902s # * org_project_other_callable_iface_proxy_new_for_bus: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 902s # * 902s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_other_callable_iface_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectOtherCallableIface * 902s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectOtherCallableIface * 902s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectOtherCallableIfaceSkeleton: 902s # * 902s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectOtherCallableIfaceSkeletonClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 902s # */ 902s # 902s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 902s # { 902s # GValue *properties; 902s # GList *changed_properties; 902s # GSource *changed_properties_idle_source; 902s # GMainContext *context; 902s # GMutex lock; 902s # }; 902s # 902s # static void 902s # _org_project_other_callable_iface_skeleton_handle_method_call ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name, 902s # const gchar *method_name, 902s # GVariant *parameters, 902s # GDBusMethodInvocation *invocation, 902s # gpointer user_data) 902s # { 902s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 902s # _ExtendedGDBusMethodInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # guint num_extra; 902s # gsize n; 902s # guint signal_id; 902s # GValue return_value = G_VALUE_INIT; 902s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 902s # g_assert (info != NULL); 902s # num_params = g_variant_n_children (parameters); 902s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 902s # n = 0; 902s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 902s # g_value_set_object (¶mv[n++], skeleton); 902s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 902s # g_value_set_object (¶mv[n++], invocation); 902s # if (info->pass_fdlist) 902s # { 902s # #ifdef G_OS_UNIX 902s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 902s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 902s # #else 902s # g_assert_not_reached (); 902s # #endif 902s # } 902s # g_variant_iter_init (&iter, parameters); 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 902s # g_value_init (&return_value, G_TYPE_BOOLEAN); 902s # g_signal_emitv (paramv, signal_id, 0, &return_value); 902s # if (!g_value_get_boolean (&return_value)) 902s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 902s # g_value_unset (&return_value); 902s # for (n = 0; n < num_params + num_extra; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static GVariant * 902s # _org_project_other_callable_iface_skeleton_handle_get_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # GVariant *ret; 902s # ret = NULL; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # g_value_init (&value, pspec->value_type); 902s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 902s # g_value_unset (&value); 902s # } 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _org_project_other_callable_iface_skeleton_handle_set_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GVariant *variant, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # gboolean ret; 902s # ret = FALSE; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # if (info->use_gvariant) 902s # g_value_set_variant (&value, variant); 902s # else 902s # g_dbus_gvariant_to_gvalue (variant, &value); 902s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # g_value_unset (&value); 902s # ret = TRUE; 902s # } 902s # return ret; 902s # } 902s # 902s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 902s # { 902s # _org_project_other_callable_iface_skeleton_handle_method_call, 902s # _org_project_other_callable_iface_skeleton_handle_get_property, 902s # _org_project_other_callable_iface_skeleton_handle_set_property, 902s # {NULL} 902s # }; 902s # 902s # static GDBusInterfaceInfo * 902s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return org_project_other_callable_iface_interface_info (); 902s # } 902s # 902s # static GDBusInterfaceVTable * 902s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 902s # } 902s # 902s # static GVariant * 902s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 902s # { 902s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 902s # 902s # GVariantBuilder builder; 902s # guint n; 902s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 902s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 902s # goto out; 902s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 902s # { 902s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 902s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 902s # { 902s # GVariant *value; 902s # 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); 902s # if (value != NULL) 902s # { 902s # g_variant_take_ref (value); 902s # g_variant_builder_add (&builder, "{sv}", info->name, value); 902s # g_variant_unref (value); 902s # } 902s # } 902s # } 902s # out: 902s # return g_variant_builder_end (&builder); 902s # } 902s # 902s # static void 902s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 902s # { 902s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 902s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 902s # if (skeleton->priv->changed_properties_idle_source != NULL) 902s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 902s # g_main_context_unref (skeleton->priv->context); 902s # g_mutex_clear (&skeleton->priv->lock); 902s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 902s # #else 902s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 902s # #endif 902s # 902s # g_mutex_init (&skeleton->priv->lock); 902s # skeleton->priv->context = g_main_context_ref_thread_default (); 902s # } 902s # 902s # static void 902s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusInterfaceSkeletonClass *skeleton_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 902s # 902s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 902s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 902s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 902s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 902s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # /** 902s # * org_project_other_callable_iface_skeleton_new: 902s # * 902s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 902s # * 902s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 902s # */ 902s # OrgProjectOtherCallableIface * 902s # org_project_other_callable_iface_skeleton_new (void) 902s # { 902s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 902s # } 905s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 905s # tmpdir: /tmp/tmp5rdkstcu 905s # codegen: /usr/bin/gdbus-codegen 905s # /tmp/tmp5rdkstcu/tmpgkkazstb.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmpgkkazstb.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # gboolean arg_arg_b, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_boolean (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_b", 905s # (gchar *) "b", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodB", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-b", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_b ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_b: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-b", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_b, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_b: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_b: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_b ( 905s # OrgProjectUsefulInterface *proxy, 905s # gboolean arg_arg_b, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodB", 905s # g_variant_new ("(b)", 905s # arg_arg_b), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_b_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_b_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_b_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_b: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_b_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # gboolean arg_arg_b, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodB", 905s # g_variant_new ("(b)", 905s # arg_arg_b), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_b: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_b ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmpgt1a6kpn.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmpgt1a6kpn.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # guchar arg_arg_y, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_uchar (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_y", 905s # (gchar *) "y", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodY", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-y", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_y ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_y: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-y", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_y, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_y: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_y: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_y ( 905s # OrgProjectUsefulInterface *proxy, 905s # guchar arg_arg_y, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodY", 905s # g_variant_new ("(y)", 905s # arg_arg_y), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_y_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_y_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_y_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_y: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_y_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # guchar arg_arg_y, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodY", 905s # g_variant_new ("(y)", 905s # arg_arg_y), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_y: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_y ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmpfiuxjnie.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmpfiuxjnie.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # gint16 arg_arg_n, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_int (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_n", 905s # (gchar *) "n", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodN", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-n", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_n ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_n: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-n", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_n, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_n: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_n: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_n ( 905s # OrgProjectUsefulInterface *proxy, 905s # gint16 arg_arg_n, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodN", 905s # g_variant_new ("(n)", 905s # arg_arg_n), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_n_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_n_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_n_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_n: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_n_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # gint16 arg_arg_n, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodN", 905s # g_variant_new ("(n)", 905s # arg_arg_n), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_n: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_n ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmpac7cwvpu.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmpac7cwvpu.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # guint16 arg_arg_q, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_uint (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_q", 905s # (gchar *) "q", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodQ", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-q", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_q ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_q: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-q", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_q, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_q: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_q: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_q ( 905s # OrgProjectUsefulInterface *proxy, 905s # guint16 arg_arg_q, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodQ", 905s # g_variant_new ("(q)", 905s # arg_arg_q), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_q_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_q_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_q_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_q: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_q_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # guint16 arg_arg_q, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodQ", 905s # g_variant_new ("(q)", 905s # arg_arg_q), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_q: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_q ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmps5c_7bdf.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmps5c_7bdf.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # gint arg_arg_i, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_int (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_i", 905s # (gchar *) "i", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodI", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-i", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_i ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_i: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-i", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_i, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_i: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_i: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_i ( 905s # OrgProjectUsefulInterface *proxy, 905s # gint arg_arg_i, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodI", 905s # g_variant_new ("(i)", 905s # arg_arg_i), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_i_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_i_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_i_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_i: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_i_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # gint arg_arg_i, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodI", 905s # g_variant_new ("(i)", 905s # arg_arg_i), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_i: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_i ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmpj3dg5tw6.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmpj3dg5tw6.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # guint arg_arg_u, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_uint (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_u", 905s # (gchar *) "u", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodU", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-u", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_u ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_u: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-u", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_u, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_u: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_u: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_u ( 905s # OrgProjectUsefulInterface *proxy, 905s # guint arg_arg_u, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodU", 905s # g_variant_new ("(u)", 905s # arg_arg_u), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_u_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_u_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_u_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_u: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_u_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # guint arg_arg_u, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodU", 905s # g_variant_new ("(u)", 905s # arg_arg_u), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_u: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_u ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmp2868n374.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmp2868n374.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # gint64 arg_arg_x, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_int64 (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_x", 905s # (gchar *) "x", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodX", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-x", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_x ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_x: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-x", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_x, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_x: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_x: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_x ( 905s # OrgProjectUsefulInterface *proxy, 905s # gint64 arg_arg_x, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodX", 905s # g_variant_new ("(x)", 905s # arg_arg_x), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_x_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_x_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_x_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_x: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_x_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # gint64 arg_arg_x, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodX", 905s # g_variant_new ("(x)", 905s # arg_arg_x), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_x: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_x ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmp09xlss7g.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmp09xlss7g.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # guint64 arg_arg_t, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_uint64 (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_t", 905s # (gchar *) "t", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodT", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-t", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_t ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_t: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-t", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_t, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_t: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_t: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_t ( 905s # OrgProjectUsefulInterface *proxy, 905s # guint64 arg_arg_t, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodT", 905s # g_variant_new ("(t)", 905s # arg_arg_t), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_t_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_t_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_t_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_t: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_t_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # guint64 arg_arg_t, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodT", 905s # g_variant_new ("(t)", 905s # arg_arg_t), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_t: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_t ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmpi7rkdu3i.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmpi7rkdu3i.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # gdouble arg_arg_d, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_double (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_d", 905s # (gchar *) "d", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodD", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-d", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_d ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_d: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-d", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_d, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_d: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_d: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_d ( 905s # OrgProjectUsefulInterface *proxy, 905s # gdouble arg_arg_d, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodD", 905s # g_variant_new ("(d)", 905s # arg_arg_d), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_d_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_d_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_d_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_d: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_d_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # gdouble arg_arg_d, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodD", 905s # g_variant_new ("(d)", 905s # arg_arg_d), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_d: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_d ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmpssib4_fm.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmpssib4_fm.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # const gchar *arg_arg_s, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_string (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_s", 905s # (gchar *) "s", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodS", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-s", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_s ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_s: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-s", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_s, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_s: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_s: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_s ( 905s # OrgProjectUsefulInterface *proxy, 905s # const gchar *arg_arg_s, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodS", 905s # g_variant_new ("(s)", 905s # arg_arg_s), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_s_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_s_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_s_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_s: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_s_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # const gchar *arg_arg_s, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodS", 905s # g_variant_new ("(s)", 905s # arg_arg_s), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_s: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_s ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmpmd425h80.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmpmd425h80.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # const gchar *arg_arg_o, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_string (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_o", 905s # (gchar *) "o", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodO", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-o", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_o ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_o: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-o", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_o, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_o: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_o: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_o ( 905s # OrgProjectUsefulInterface *proxy, 905s # const gchar *arg_arg_o, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodO", 905s # g_variant_new ("(o)", 905s # arg_arg_o), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_o_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_o_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_o_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_o: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_o_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # const gchar *arg_arg_o, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodO", 905s # g_variant_new ("(o)", 905s # arg_arg_o), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_o: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_o ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmp2lm7jfur.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmp2lm7jfur.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # const gchar *arg_arg_g, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_string (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_g", 905s # (gchar *) "g", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodG", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-g", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_g ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_g: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-g", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_g, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_g: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_g: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_g ( 905s # OrgProjectUsefulInterface *proxy, 905s # const gchar *arg_arg_g, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodG", 905s # g_variant_new ("(g)", 905s # arg_arg_g), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_g_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_g_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_g_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_g: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_g_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # const gchar *arg_arg_g, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodG", 905s # g_variant_new ("(g)", 905s # arg_arg_g), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_g: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_g ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmph3n081qp.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmph3n081qp.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # GVariant *arg_arg_h, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_variant (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_h", 905s # (gchar *) "h", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodH", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-h", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_h ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_h: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-h", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_h, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_h: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_h: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_h ( 905s # OrgProjectUsefulInterface *proxy, 905s # GVariant *arg_arg_h, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodH", 905s # g_variant_new ("(@h)", 905s # arg_arg_h), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_h_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_h_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_h_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_h: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_h_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # GVariant *arg_arg_h, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodH", 905s # g_variant_new ("(@h)", 905s # arg_arg_h), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_h: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_h ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmpxw3zxiuj.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmpxw3zxiuj.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s ## Executing: glib/codegen.py.test 905s typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # const gchar *arg_arg_ay, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_string (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_ay", 905s # (gchar *) "ay", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodAy", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-ay", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_ay: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-ay", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_ay, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_ay: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_ay: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_ay ( 905s # OrgProjectUsefulInterface *proxy, 905s # const gchar *arg_arg_ay, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodAy", 905s # g_variant_new ("(^ay)", 905s # arg_arg_ay), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_ay_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_ay_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_ay_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_ay: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_ay_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # const gchar *arg_arg_ay, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodAy", 905s # g_variant_new ("(^ay)", 905s # arg_arg_ay), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_ay: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_ay ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmpdmyky2li.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmpdmyky2li.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # const gchar *const *arg_arg_as, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_boxed (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_as", 905s # (gchar *) "as", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodAs", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-as", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_as ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_as: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-as", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_as, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_as: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_as: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_as ( 905s # OrgProjectUsefulInterface *proxy, 905s # const gchar *const *arg_arg_as, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodAs", 905s # g_variant_new ("(^as)", 905s # arg_arg_as), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_as_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_as_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_as_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_as: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_as_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # const gchar *const *arg_arg_as, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodAs", 905s # g_variant_new ("(^as)", 905s # arg_arg_as), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_as: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_as ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmp3b3icgbw.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmp3b3icgbw.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # const gchar *const *arg_arg_ao, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_boxed (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_ao", 905s # (gchar *) "ao", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodAo", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-ao", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_ao: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-ao", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_ao, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_ao: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_ao: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_ao ( 905s # OrgProjectUsefulInterface *proxy, 905s # const gchar *const *arg_arg_ao, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodAo", 905s # g_variant_new ("(^ao)", 905s # arg_arg_ao), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_ao_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_ao_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_ao_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_ao: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_ao_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # const gchar *const *arg_arg_ao, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodAo", 905s # g_variant_new ("(^ao)", 905s # arg_arg_ao), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_ao: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_ao ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmpvt6r8i0f.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmpvt6r8i0f.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # const gchar *const *arg_arg_aay, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_boxed (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_aay", 905s # (gchar *) "aay", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodAay", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-aay", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_aay: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-aay", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_aay, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_aay: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_aay: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_aay ( 905s # OrgProjectUsefulInterface *proxy, 905s # const gchar *const *arg_arg_aay, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodAay", 905s # g_variant_new ("(^aay)", 905s # arg_arg_aay), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_aay_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_aay_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_aay_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_aay: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_aay_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # const gchar *const *arg_arg_aay, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodAay", 905s # g_variant_new ("(^aay)", 905s # arg_arg_aay), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_aay: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_aay ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 905s # /tmp/tmp5rdkstcu/tmpk_c0ukik.xml: 905s # 905s # 905s # 905s # 905s # 905s # 905s # 905s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5rdkstcu/tmpk_c0ukik.xml', '--output', '-', '--body'] 905s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 905s # Output: /* 905s # * This file is generated by gdbus-codegen, do not modify it. 905s # * 905s # * The license of this code is the same as for the D-Bus interface description 905s # * it was derived from. Note that it links to GLib, so must comply with the 905s # * LGPL linking clauses. 905s # */ 905s # 905s # #ifdef HAVE_CONFIG_H 905s # # include "config.h" 905s # #endif 905s # 905s # #include 905s # #ifdef G_OS_UNIX 905s # # include 905s # #endif 905s # 905s # #ifdef G_ENABLE_DEBUG 905s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 905s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 905s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 905s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 905s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 905s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 905s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 905s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 905s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 905s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 905s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 905s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 905s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 905s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 905s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 905s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 905s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 905s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 905s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 905s # #else /* !G_ENABLE_DEBUG */ 905s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 905s # * Do not access GValues directly in your code. Instead, use the 905s # * g_value_get_*() functions 905s # */ 905s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 905s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 905s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 905s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 905s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 905s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 905s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 905s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 905s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 905s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 905s # #endif /* !G_ENABLE_DEBUG */ 905s # 905s # typedef struct 905s # { 905s # GDBusArgInfo parent_struct; 905s # gboolean use_gvariant; 905s # } _ExtendedGDBusArgInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusMethodInfo parent_struct; 905s # const gchar *signal_name; 905s # gboolean pass_fdlist; 905s # } _ExtendedGDBusMethodInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusSignalInfo parent_struct; 905s # const gchar *signal_name; 905s # } _ExtendedGDBusSignalInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusPropertyInfo parent_struct; 905s # const gchar *hyphen_name; 905s # guint use_gvariant : 1; 905s # guint emits_changed_signal : 1; 905s # } _ExtendedGDBusPropertyInfo; 905s # 905s # typedef struct 905s # { 905s # GDBusInterfaceInfo parent_struct; 905s # const gchar *hyphen_name; 905s # } _ExtendedGDBusInterfaceInfo; 905s # 905s # typedef struct 905s # { 905s # const _ExtendedGDBusPropertyInfo *info; 905s # guint prop_id; 905s # GValue orig_value; /* the value before the change */ 905s # } ChangedProperty; 905s # 905s # static void 905s # _changed_property_free (ChangedProperty *data) 905s # { 905s # g_value_unset (&data->orig_value); 905s # g_free (data); 905s # } 905s # 905s # static gboolean 905s # _g_strv_equal0 (gchar **a, gchar **b) 905s # { 905s # gboolean ret = FALSE; 905s # guint n; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # if (g_strv_length (a) != g_strv_length (b)) 905s # goto out; 905s # for (n = 0; a[n] != NULL; n++) 905s # if (g_strcmp0 (a[n], b[n]) != 0) 905s # goto out; 905s # ret = TRUE; 905s # out: 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _g_variant_equal0 (GVariant *a, GVariant *b) 905s # { 905s # gboolean ret = FALSE; 905s # if (a == NULL && b == NULL) 905s # { 905s # ret = TRUE; 905s # goto out; 905s # } 905s # if (a == NULL || b == NULL) 905s # goto out; 905s # ret = g_variant_equal (a, b); 905s # out: 905s # return ret; 905s # } 905s # 905s # G_GNUC_UNUSED static gboolean 905s # _g_value_equal (const GValue *a, const GValue *b) 905s # { 905s # gboolean ret = FALSE; 905s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 905s # switch (G_VALUE_TYPE (a)) 905s # { 905s # case G_TYPE_BOOLEAN: 905s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 905s # break; 905s # case G_TYPE_UCHAR: 905s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 905s # break; 905s # case G_TYPE_INT: 905s # ret = (g_value_get_int (a) == g_value_get_int (b)); 905s # break; 905s # case G_TYPE_UINT: 905s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 905s # break; 905s # case G_TYPE_INT64: 905s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 905s # break; 905s # case G_TYPE_UINT64: 905s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 905s # break; 905s # case G_TYPE_DOUBLE: 905s # { 905s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 905s # gdouble da = g_value_get_double (a); 905s # gdouble db = g_value_get_double (b); 905s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 905s # } 905s # break; 905s # case G_TYPE_STRING: 905s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 905s # break; 905s # case G_TYPE_VARIANT: 905s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 905s # break; 905s # default: 905s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 905s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 905s # else 905s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 905s # break; 905s # } 905s # return ret; 905s # } 905s # 905s # static void 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint G_GNUC_UNUSED, 905s # void *marshal_data) 905s # { 905s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 905s # (void *data1, 905s # GDBusMethodInvocation *arg_method_invocation, 905s # GVariant *arg_arg_asv, 905s # void *data2); 905s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 905s # GCClosure *cc = (GCClosure*) closure; 905s # void *data1, *data2; 905s # gboolean v_return; 905s # 905s # g_return_if_fail (return_value != NULL); 905s # g_return_if_fail (n_param_values == 3); 905s # 905s # if (G_CCLOSURE_SWAP_DATA (closure)) 905s # { 905s # data1 = closure->data; 905s # data2 = g_value_peek_pointer (param_values + 0); 905s # } 905s # else 905s # { 905s # data1 = g_value_peek_pointer (param_values + 0); 905s # data2 = closure->data; 905s # } 905s # 905s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 905s # (marshal_data ? marshal_data : cc->callback); 905s # 905s # v_return = 905s # callback (data1, 905s # g_marshal_value_peek_object (param_values + 1), 905s # g_marshal_value_peek_variant (param_values + 2), 905s # data2); 905s # 905s # g_value_set_boolean (return_value, v_return); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ 905s # * Code for interface org.project.UsefulInterface 905s # * ------------------------------------------------------------------------ 905s # */ 905s # 905s # /** 905s # * SECTION:OrgProjectUsefulInterface 905s # * @title: OrgProjectUsefulInterface 905s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 905s # * 905s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 905s # */ 905s # 905s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 905s # 905s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 905s # { 905s # { 905s # -1, 905s # (gchar *) "arg_asv", 905s # (gchar *) "a{sv}", 905s # NULL 905s # }, 905s # FALSE 905s # }; 905s # 905s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 905s # { 905s # { 905s # -1, 905s # (gchar *) "SingleArgMethodAsv", 905s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 905s # NULL, 905s # NULL 905s # }, 905s # "handle-single-arg-method-asv", 905s # FALSE 905s # }; 905s # 905s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 905s # { 905s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 905s # NULL 905s # }; 905s # 905s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 905s # { 905s # { 905s # -1, 905s # (gchar *) "org.project.UsefulInterface", 905s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 905s # NULL, 905s # NULL, 905s # NULL 905s # }, 905s # "org-project-useful-interface", 905s # }; 905s # 905s # 905s # /** 905s # * org_project_useful_interface_interface_info: 905s # * 905s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 905s # * 905s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 905s # */ 905s # GDBusInterfaceInfo * 905s # org_project_useful_interface_interface_info (void) 905s # { 905s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_override_properties: 905s # * @klass: The class structure for a #GObject derived class. 905s # * @property_id_begin: The property id to assign to the first overridden property. 905s # * 905s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 905s # * The properties are overridden in the order they are defined. 905s # * 905s # * Returns: The last property id. 905s # */ 905s # guint 905s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 905s # { 905s # return property_id_begin - 1; 905s # } 905s # 905s # 905s # inline static void 905s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 905s # GClosure *closure, 905s # GValue *return_value, 905s # unsigned int n_param_values, 905s # const GValue *param_values, 905s # void *invocation_hint, 905s # void *marshal_data) 905s # { 905s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 905s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 905s # } 905s # 905s # 905s # /** 905s # * OrgProjectUsefulInterface: 905s # * 905s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceIface: 905s # * @parent_iface: The parent interface. 905s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 905s # * 905s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 905s # */ 905s # 905s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 905s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 905s # 905s # static void 905s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 905s # { 905s # /* GObject signals for incoming D-Bus method calls: */ 905s # /** 905s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: A #GDBusMethodInvocation. 905s # * @arg_arg_asv: Argument passed by remote caller. 905s # * 905s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 905s # * 905s # * 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. 905s # * 905s # * 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. 905s # */ 905s # g_signal_new ("handle-single-arg-method-asv", 905s # G_TYPE_FROM_INTERFACE (iface), 905s # G_SIGNAL_RUN_LAST, 905s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 905s # g_signal_accumulator_true_handled, 905s # NULL, 905s # org_project_useful_interface_method_marshal_single_arg_method_asv, 905s # G_TYPE_BOOLEAN, 905s # 2, 905s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 905s # 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_asv: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_asv: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 905s # */ 905s # void 905s # org_project_useful_interface_call_single_arg_method_asv ( 905s # OrgProjectUsefulInterface *proxy, 905s # GVariant *arg_arg_asv, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodAsv", 905s # g_variant_new ("(@a{sv})", 905s # arg_arg_asv), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # callback, 905s # user_data); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_asv_finish: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_asv_finish ( 905s # OrgProjectUsefulInterface *proxy, 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_call_single_arg_method_asv_sync: 905s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 905s # * @arg_arg_asv: Argument to pass with the method invocation. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL. 905s # * 905s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 905s # * 905s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 905s # */ 905s # gboolean 905s # org_project_useful_interface_call_single_arg_method_asv_sync ( 905s # OrgProjectUsefulInterface *proxy, 905s # GVariant *arg_arg_asv, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GVariant *_ret; 905s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 905s # "SingleArgMethodAsv", 905s # g_variant_new ("(@a{sv})", 905s # arg_arg_asv), 905s # G_DBUS_CALL_FLAGS_NONE, 905s # -1, 905s # cancellable, 905s # error); 905s # if (_ret == NULL) 905s # goto _out; 905s # g_variant_get (_ret, 905s # "()"); 905s # g_variant_unref (_ret); 905s # _out: 905s # return _ret != NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_complete_single_arg_method_asv: 905s # * @object: A #OrgProjectUsefulInterface. 905s # * @invocation: (transfer full): A #GDBusMethodInvocation. 905s # * 905s # * 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. 905s # * 905s # * This method will free @invocation, you cannot use it afterwards. 905s # */ 905s # void 905s # org_project_useful_interface_complete_single_arg_method_asv ( 905s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 905s # GDBusMethodInvocation *invocation) 905s # { 905s # g_dbus_method_invocation_return_value (invocation, 905s # g_variant_new ("()")); 905s # } 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxy: 905s # * 905s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceProxyClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceProxy. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceProxyPrivate 905s # { 905s # GData *qdata; 905s # }; 905s # 905s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_proxy_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 905s # g_datalist_clear (&proxy->priv->qdata); 905s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 905s # guint prop_id G_GNUC_UNUSED, 905s # const GValue *value G_GNUC_UNUSED, 905s # GParamSpec *pspec G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 905s # const gchar *sender_name G_GNUC_UNUSED, 905s # const gchar *signal_name, 905s # GVariant *parameters) 905s # { 905s # _ExtendedGDBusSignalInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # gsize n; 905s # guint signal_id; 905s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 905s # if (info == NULL) 905s # return; 905s # num_params = g_variant_n_children (parameters); 905s # paramv = g_new0 (GValue, num_params + 1); 905s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[0], proxy); 905s # g_variant_iter_init (&iter, parameters); 905s # n = 1; 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_signal_emitv (paramv, signal_id, 0, NULL); 905s # for (n = 0; n < num_params + 1; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 905s # GVariant *changed_properties, 905s # const gchar *const *invalidated_properties) 905s # { 905s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 905s # guint n; 905s # const gchar *key; 905s # GVariantIter *iter; 905s # _ExtendedGDBusPropertyInfo *info; 905s # g_variant_get (changed_properties, "a{sv}", &iter); 905s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 905s # g_datalist_remove_data (&proxy->priv->qdata, key); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # g_variant_iter_free (iter); 905s # for (n = 0; invalidated_properties[n] != NULL; n++) 905s # { 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 905s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 905s # if (info != NULL) 905s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 905s # } 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 905s # #else 905s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 905s # #endif 905s # 905s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusProxyClass *proxy_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 905s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 905s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 905s # 905s # proxy_class = G_DBUS_PROXY_CLASS (klass); 905s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 905s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_sync: 905s # * @connection: A #GDBusConnection. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_sync ( 905s # GDBusConnection *connection, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 905s # * @user_data: User data to pass to @callback. 905s # * 905s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 905s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 905s # */ 905s # void 905s # org_project_useful_interface_proxy_new_for_bus ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GAsyncReadyCallback callback, 905s # gpointer user_data) 905s # { 905s # g_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); 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_finish: 905s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 905s # * @error: Return location for error or %NULL 905s # * 905s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_finish ( 905s # GAsyncResult *res, 905s # GError **error) 905s # { 905s # GObject *ret; 905s # GObject *source_object; 905s # source_object = g_async_result_get_source_object (res); 905s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 905s # g_object_unref (source_object); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_proxy_new_for_bus_sync: 905s # * @bus_type: A #GBusType. 905s # * @flags: Flags from the #GDBusProxyFlags enumeration. 905s # * @name: A bus name (well-known or unique). 905s # * @object_path: An object path. 905s # * @cancellable: (nullable): A #GCancellable or %NULL. 905s # * @error: Return location for error or %NULL 905s # * 905s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 905s # * 905s # * The calling thread is blocked until a reply is received. 905s # * 905s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_proxy_new_for_bus_sync ( 905s # GBusType bus_type, 905s # GDBusProxyFlags flags, 905s # const gchar *name, 905s # const gchar *object_path, 905s # GCancellable *cancellable, 905s # GError **error) 905s # { 905s # GInitable *ret; 905s # 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); 905s # if (ret != NULL) 905s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 905s # else 905s # return NULL; 905s # } 905s # 905s # 905s # /* ------------------------------------------------------------------------ */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeleton: 905s # * 905s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 905s # */ 905s # 905s # /** 905s # * OrgProjectUsefulInterfaceSkeletonClass: 905s # * @parent_class: The parent class. 905s # * 905s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 905s # */ 905s # 905s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 905s # { 905s # GValue *properties; 905s # GList *changed_properties; 905s # GSource *changed_properties_idle_source; 905s # GMainContext *context; 905s # GMutex lock; 905s # }; 905s # 905s # static void 905s # _org_project_useful_interface_skeleton_handle_method_call ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name, 905s # const gchar *method_name, 905s # GVariant *parameters, 905s # GDBusMethodInvocation *invocation, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # _ExtendedGDBusMethodInfo *info; 905s # GVariantIter iter; 905s # GVariant *child; 905s # GValue *paramv; 905s # gsize num_params; 905s # guint num_extra; 905s # gsize n; 905s # guint signal_id; 905s # GValue return_value = G_VALUE_INIT; 905s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 905s # g_assert (info != NULL); 905s # num_params = g_variant_n_children (parameters); 905s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 905s # n = 0; 905s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_set_object (¶mv[n++], skeleton); 905s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 905s # g_value_set_object (¶mv[n++], invocation); 905s # if (info->pass_fdlist) 905s # { 905s # #ifdef G_OS_UNIX 905s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 905s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 905s # #else 905s # g_assert_not_reached (); 905s # #endif 905s # } 905s # g_variant_iter_init (&iter, parameters); 905s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 905s # { 905s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 905s # if (arg_info->use_gvariant) 905s # { 905s # g_value_init (¶mv[n], G_TYPE_VARIANT); 905s # g_value_set_variant (¶mv[n], child); 905s # n++; 905s # } 905s # else 905s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 905s # g_variant_unref (child); 905s # } 905s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 905s # g_value_init (&return_value, G_TYPE_BOOLEAN); 905s # g_signal_emitv (paramv, signal_id, 0, &return_value); 905s # if (!g_value_get_boolean (&return_value)) 905s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 905s # g_value_unset (&return_value); 905s # for (n = 0; n < num_params + num_extra; n++) 905s # g_value_unset (¶mv[n]); 905s # g_free (paramv); 905s # } 905s # 905s # static GVariant * 905s # _org_project_useful_interface_skeleton_handle_get_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # GVariant *ret; 905s # ret = NULL; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # g_value_init (&value, pspec->value_type); 905s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 905s # g_value_unset (&value); 905s # } 905s # return ret; 905s # } 905s # 905s # static gboolean 905s # _org_project_useful_interface_skeleton_handle_set_property ( 905s # GDBusConnection *connection G_GNUC_UNUSED, 905s # const gchar *sender G_GNUC_UNUSED, 905s # const gchar *object_path G_GNUC_UNUSED, 905s # const gchar *interface_name G_GNUC_UNUSED, 905s # const gchar *property_name, 905s # GVariant *variant, 905s # GError **error, 905s # gpointer user_data) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 905s # GValue value = G_VALUE_INIT; 905s # GParamSpec *pspec; 905s # _ExtendedGDBusPropertyInfo *info; 905s # gboolean ret; 905s # ret = FALSE; 905s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 905s # g_assert (info != NULL); 905s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 905s # if (pspec == NULL) 905s # { 905s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 905s # } 905s # else 905s # { 905s # if (info->use_gvariant) 905s # g_value_set_variant (&value, variant); 905s # else 905s # g_dbus_gvariant_to_gvalue (variant, &value); 905s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 905s # g_value_unset (&value); 905s # ret = TRUE; 905s # } 905s # return ret; 905s # } 905s # 905s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 905s # { 905s # _org_project_useful_interface_skeleton_handle_method_call, 905s # _org_project_useful_interface_skeleton_handle_get_property, 905s # _org_project_useful_interface_skeleton_handle_set_property, 905s # {NULL} 905s # }; 905s # 905s # static GDBusInterfaceInfo * 905s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return org_project_useful_interface_interface_info (); 905s # } 905s # 905s # static GDBusInterfaceVTable * 905s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 905s # { 905s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 905s # } 905s # 905s # static GVariant * 905s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 905s # 905s # GVariantBuilder builder; 905s # guint n; 905s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 905s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 905s # goto out; 905s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 905s # { 905s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 905s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 905s # { 905s # GVariant *value; 905s # 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); 905s # if (value != NULL) 905s # { 905s # g_variant_take_ref (value); 905s # g_variant_builder_add (&builder, "{sv}", info->name, value); 905s # g_variant_unref (value); 905s # } 905s # } 905s # } 905s # out: 905s # return g_variant_builder_end (&builder); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #else 905s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 905s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 905s # 905s # #endif 905s # static void 905s # org_project_useful_interface_skeleton_finalize (GObject *object) 905s # { 905s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 905s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 905s # if (skeleton->priv->changed_properties_idle_source != NULL) 905s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 905s # g_main_context_unref (skeleton->priv->context); 905s # g_mutex_clear (&skeleton->priv->lock); 905s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 905s # { 905s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 905s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 905s # #else 905s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 905s # #endif 905s # 905s # g_mutex_init (&skeleton->priv->lock); 905s # skeleton->priv->context = g_main_context_ref_thread_default (); 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 905s # { 905s # GObjectClass *gobject_class; 905s # GDBusInterfaceSkeletonClass *skeleton_class; 905s # 905s # gobject_class = G_OBJECT_CLASS (klass); 905s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 905s # 905s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 905s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 905s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 905s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 905s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 905s # 905s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 905s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 905s # #endif 905s # } 905s # 905s # static void 905s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 905s # { 905s # } 905s # 905s # /** 905s # * org_project_useful_interface_skeleton_new: 905s # * 905s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 905s # * 905s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 905s # */ 905s # OrgProjectUsefulInterface * 905s # org_project_useful_interface_skeleton_new (void) 905s # { 905s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 905s # } 907s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 907s # tmpdir: /tmp/tmp9ajrkwa8 907s # codegen: /usr/bin/gdbus-codegen 907s # /tmp/tmp9ajrkwa8/tmpn6nzdjkw.xml: 907s # 907s # 907s # 907s # 907s # 907s # 907s # 907s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmpn6nzdjkw.xml', '--output', '-', '--body'] 907s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 907s # Output: /* 907s # * This file is generated by gdbus-codegen, do not modify it. 907s # * 907s # * The license of this code is the same as for the D-Bus interface description 907s # * it was derived from. Note that it links to GLib, so must comply with the 907s # * LGPL linking clauses. 907s # */ 907s # 907s # #ifdef HAVE_CONFIG_H 907s # # include "config.h" 907s # #endif 907s # 907s # #include 907s # #ifdef G_OS_UNIX 907s # # include 907s # #endif 907s # 907s # #ifdef G_ENABLE_DEBUG 907s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 907s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 907s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 907s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 907s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 907s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 907s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 907s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 907s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 907s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 907s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 907s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 907s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 907s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 907s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 907s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 907s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 907s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 907s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 907s # #else /* !G_ENABLE_DEBUG */ 907s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 907s # * Do not access GValues directly in your code. Instead, use the 907s # * g_value_get_*() functions 907s # */ 907s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 907s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 907s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 907s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 907s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 907s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 907s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 907s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 907s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 907s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 907s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 907s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 907s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 907s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 907s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 907s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 907s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 907s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 907s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 907s # #endif /* !G_ENABLE_DEBUG */ 907s # 907s # typedef struct 907s # { 907s # GDBusArgInfo parent_struct; 907s # gboolean use_gvariant; 907s # } _ExtendedGDBusArgInfo; 907s # 907s # typedef struct 907s # { 907s # GDBusMethodInfo parent_struct; 907s # const gchar *signal_name; 907s # gboolean pass_fdlist; 907s # } _ExtendedGDBusMethodInfo; 907s # 907s # typedef struct 907s # { 907s # GDBusSignalInfo parent_struct; 907s # const gchar *signal_name; 907s # } _ExtendedGDBusSignalInfo; 907s # 907s # typedef struct 907s # { 907s # GDBusPropertyInfo parent_struct; 907s # const gchar *hyphen_name; 907s # guint use_gvariant : 1; 907s # guint emits_changed_signal : 1; 907s # } _ExtendedGDBusPropertyInfo; 907s # 907s # typedef struct 907s # { 907s # GDBusInterfaceInfo parent_struct; 907s # const gchar *hyphen_name; 907s # } _ExtendedGDBusInterfaceInfo; 907s # 907s # typedef struct 907s # { 907s # const _ExtendedGDBusPropertyInfo *info; 907s # guint prop_id; 907s # GValue orig_value; /* the value before the change */ 907s # } ChangedProperty; 907s # 907s # static void 907s # _changed_property_free (ChangedProperty *data) 907s # { 907s # g_value_unset (&data->orig_value); 907s # g_free (data); 907s # } 907s # 907s # static gboolean 907s # _g_strv_equal0 (gchar **a, gchar **b) 907s # { 907s # gboolean ret = FALSE; 907s # guint n; 907s # if (a == NULL && b == NULL) 907s # { 907s # ret = TRUE; 907s # goto out; 907s # } 907s # if (a == NULL || b == NULL) 907s # goto out; 907s # if (g_strv_length (a) != g_strv_length (b)) 907s # goto out; 907s # for (n = 0; a[n] != NULL; n++) 907s # if (g_strcmp0 (a[n], b[n]) != 0) 907s # goto out; 907s # ret = TRUE; 907s # out: 907s # return ret; 907s # } 907s # 907s # static gboolean 907s # _g_variant_equal0 (GVariant *a, GVariant *b) 907s # { 907s # gboolean ret = FALSE; 907s # if (a == NULL && b == NULL) 907s # { 907s # ret = TRUE; 907s # goto out; 907s # } 907s # if (a == NULL || b == NULL) 907s # goto out; 907s # ret = g_variant_equal (a, b); 907s # out: 907s # return ret; 907s # } 907s # 907s # G_GNUC_UNUSED static gboolean 907s # _g_value_equal (const GValue *a, const GValue *b) 907s # { 907s # gboolean ret = FALSE; 907s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 907s # switch (G_VALUE_TYPE (a)) 907s # { 907s # case G_TYPE_BOOLEAN: 907s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 907s # break; 907s # case G_TYPE_UCHAR: 907s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 907s # break; 907s # case G_TYPE_INT: 907s # ret = (g_value_get_int (a) == g_value_get_int (b)); 907s # break; 907s # case G_TYPE_UINT: 907s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 907s # break; 907s # case G_TYPE_INT64: 907s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 907s # break; 907s # case G_TYPE_UINT64: 907s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 907s # break; 907s # case G_TYPE_DOUBLE: 907s # { 907s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 907s # gdouble da = g_value_get_double (a); 907s # gdouble db = g_value_get_double (b); 907s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 907s # } 907s # break; 907s # case G_TYPE_STRING: 907s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 907s # break; 907s # case G_TYPE_VARIANT: 907s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 907s # break; 907s # default: 907s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 907s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 907s # else 907s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 907s # break; 907s # } 907s # return ret; 907s # } 907s # 907s # static void 907s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 907s # GClosure *closure, 907s # GValue *return_value, 907s # unsigned int n_param_values, 907s # const GValue *param_values, 907s # void *invocation_hint G_GNUC_UNUSED, 907s # void *marshal_data) 907s # { 907s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 907s # (void *data1, 907s # GDBusMethodInvocation *arg_method_invocation, 907s # void *data2); 907s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 907s # GCClosure *cc = (GCClosure*) closure; 907s # void *data1, *data2; 907s # gboolean v_return; 907s # 907s # g_return_if_fail (return_value != NULL); 907s # g_return_if_fail (n_param_values == 2); 907s # 907s # if (G_CCLOSURE_SWAP_DATA (closure)) 907s # { 907s # data1 = closure->data; 907s # data2 = g_value_peek_pointer (param_values + 0); 907s # } 907s # else 907s # { 907s # data1 = g_value_peek_pointer (param_values + 0); 907s # data2 = closure->data; 907s # } 907s # 907s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 907s # (marshal_data ? marshal_data : cc->callback); 907s # 907s # v_return = 907s # callback (data1, 907s # g_marshal_value_peek_object (param_values + 1), 907s # data2); 907s # 907s # g_value_set_boolean (return_value, v_return); 907s # } 907s # 907s # /* ------------------------------------------------------------------------ 907s # * Code for interface org.project.UsefulInterface 907s # * ------------------------------------------------------------------------ 907s # */ 907s # 907s # /** 907s # * SECTION:OrgProjectUsefulInterface 907s # * @title: OrgProjectUsefulInterface 907s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 907s # * 907s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 907s # */ 907s # 907s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 907s # 907s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 907s # { 907s # { 907s # -1, 907s # (gchar *) "arg_b", 907s # (gchar *) "b", 907s # NULL 907s # }, 907s # FALSE 907s # }; 907s # 907s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 907s # { 907s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 907s # NULL 907s # }; 907s # 907s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 907s # { 907s # { 907s # -1, 907s # (gchar *) "SingleArgMethodB", 907s # NULL, 907s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 907s # NULL 907s # }, 907s # "handle-single-arg-method-b", 907s # FALSE 907s # }; 907s # 907s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 907s # { 907s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 907s # NULL 907s # }; 907s # 907s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 907s # { 907s # { 907s # -1, 907s # (gchar *) "org.project.UsefulInterface", 907s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 907s # NULL, 907s # NULL, 907s # NULL 907s # }, 907s # "org-project-useful-interface", 907s # }; 907s # 907s # 907s # /** 907s # * org_project_useful_interface_interface_info: 907s # * 907s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 907s # * 907s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 907s # */ 907s # GDBusInterfaceInfo * 907s # org_project_useful_interface_interface_info (void) 907s # { 907s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_override_properties: 907s # * @klass: The class structure for a #GObject derived class. 907s # * @property_id_begin: The property id to assign to the first overridden property. 907s # * 907s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 907s # * The properties are overridden in the order they are defined. 907s # * 907s # * Returns: The last property id. 907s # */ 907s # guint 907s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 907s # { 907s # return property_id_begin - 1; 907s # } 907s # 907s # 907s # inline static void 907s # org_project_useful_interface_method_marshal_single_arg_method_b ( 907s # GClosure *closure, 907s # GValue *return_value, 907s # unsigned int n_param_values, 907s # const GValue *param_values, 907s # void *invocation_hint, 907s # void *marshal_data) 907s # { 907s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 907s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 907s # } 907s # 907s # 907s # /** 907s # * OrgProjectUsefulInterface: 907s # * 907s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 907s # */ 907s # 907s # /** 907s # * OrgProjectUsefulInterfaceIface: 907s # * @parent_iface: The parent interface. 907s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 907s # * 907s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 907s # */ 907s # 907s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 907s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 907s # 907s # static void 907s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 907s # { 907s # /* GObject signals for incoming D-Bus method calls: */ 907s # /** 907s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 907s # * @object: A #OrgProjectUsefulInterface. 907s # * @invocation: A #GDBusMethodInvocation. 907s # * 907s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 907s # * 907s # * 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. 907s # * 907s # * 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. 907s # */ 907s # g_signal_new ("handle-single-arg-method-b", 907s # G_TYPE_FROM_INTERFACE (iface), 907s # G_SIGNAL_RUN_LAST, 907s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 907s # g_signal_accumulator_true_handled, 907s # NULL, 907s # org_project_useful_interface_method_marshal_single_arg_method_b, 907s # G_TYPE_BOOLEAN, 907s # 1, 907s # G_TYPE_DBUS_METHOD_INVOCATION); 907s # 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_call_single_arg_method_b: 907s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 907s # * @cancellable: (nullable): A #GCancellable or %NULL. 907s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 907s # * @user_data: User data to pass to @callback. 907s # * 907s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 907s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 907s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 907s # * 907s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 907s # */ 907s # void 907s # org_project_useful_interface_call_single_arg_method_b ( 907s # OrgProjectUsefulInterface *proxy, 907s # GCancellable *cancellable, 907s # GAsyncReadyCallback callback, 907s # gpointer user_data) 907s # { 907s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 907s # "SingleArgMethodB", 907s # g_variant_new ("()"), 907s # G_DBUS_CALL_FLAGS_NONE, 907s # -1, 907s # cancellable, 907s # callback, 907s # user_data); 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_call_single_arg_method_b_finish: 907s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 907s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 907s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 907s # * @error: Return location for error or %NULL. 907s # * 907s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 907s # * 907s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 907s # */ 907s # gboolean 907s # org_project_useful_interface_call_single_arg_method_b_finish ( 907s # OrgProjectUsefulInterface *proxy, 907s # gboolean *out_arg_b, 907s # GAsyncResult *res, 907s # GError **error) 907s # { 907s # GVariant *_ret; 907s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 907s # if (_ret == NULL) 907s # goto _out; 907s # g_variant_get (_ret, 907s # "(b)", 907s # out_arg_b); 907s # g_variant_unref (_ret); 907s # _out: 907s # return _ret != NULL; 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_call_single_arg_method_b_sync: 907s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 907s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 907s # * @cancellable: (nullable): A #GCancellable or %NULL. 907s # * @error: Return location for error or %NULL. 907s # * 907s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 907s # * 907s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 907s # * 907s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 907s # */ 907s # gboolean 907s # org_project_useful_interface_call_single_arg_method_b_sync ( 907s # OrgProjectUsefulInterface *proxy, 907s # gboolean *out_arg_b, 907s # GCancellable *cancellable, 907s # GError **error) 907s # { 907s # GVariant *_ret; 907s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 907s # "SingleArgMethodB", 907s # g_variant_new ("()"), 907s # G_DBUS_CALL_FLAGS_NONE, 907s # -1, 907s # cancellable, 907s # error); 907s # if (_ret == NULL) 907s # goto _out; 907s # g_variant_get (_ret, 907s # "(b)", 907s # out_arg_b); 907s # g_variant_unref (_ret); 907s # _out: 907s # return _ret != NULL; 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_complete_single_arg_method_b: 907s # * @object: A #OrgProjectUsefulInterface. 907s # * @invocation: (transfer full): A #GDBusMethodInvocation. 907s # * @arg_b: Parameter to return. 907s # * 907s # * 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. 907s # * 907s # * This method will free @invocation, you cannot use it afterwards. 907s # */ 907s # void 907s # org_project_useful_interface_complete_single_arg_method_b ( 907s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 907s # GDBusMethodInvocation *invocation, 907s # gboolean arg_b) 907s # { 907s # g_dbus_method_invocation_return_value (invocation, 907s # g_variant_new ("(b)", 907s # arg_b)); 907s # } 907s # 907s # /* ------------------------------------------------------------------------ */ 907s # 907s # /** 907s # * OrgProjectUsefulInterfaceProxy: 907s # * 907s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 907s # */ 907s # 907s # /** 907s # * OrgProjectUsefulInterfaceProxyClass: 907s # * @parent_class: The parent class. 907s # * 907s # * Class structure for #OrgProjectUsefulInterfaceProxy. 907s # */ 907s # 907s # struct _OrgProjectUsefulInterfaceProxyPrivate 907s # { 907s # GData *qdata; 907s # }; 907s # 907s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 907s # 907s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 907s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 907s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 907s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 907s # 907s # #else 907s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 907s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 907s # 907s # #endif 907s # static void 907s # org_project_useful_interface_proxy_finalize (GObject *object) 907s # { 907s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 907s # g_datalist_clear (&proxy->priv->qdata); 907s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 907s # } 907s # 907s # static void 907s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 907s # guint prop_id G_GNUC_UNUSED, 907s # GValue *value G_GNUC_UNUSED, 907s # GParamSpec *pspec G_GNUC_UNUSED) 907s # { 907s # } 907s # 907s # static void 907s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 907s # guint prop_id G_GNUC_UNUSED, 907s # const GValue *value G_GNUC_UNUSED, 907s # GParamSpec *pspec G_GNUC_UNUSED) 907s # { 907s # } 907s # 907s # static void 907s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 907s # const gchar *sender_name G_GNUC_UNUSED, 907s # const gchar *signal_name, 907s # GVariant *parameters) 907s # { 907s # _ExtendedGDBusSignalInfo *info; 907s # GVariantIter iter; 907s # GVariant *child; 907s # GValue *paramv; 907s # gsize num_params; 907s # gsize n; 907s # guint signal_id; 907s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 907s # if (info == NULL) 907s # return; 907s # num_params = g_variant_n_children (parameters); 907s # paramv = g_new0 (GValue, num_params + 1); 907s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 907s # g_value_set_object (¶mv[0], proxy); 907s # g_variant_iter_init (&iter, parameters); 907s # n = 1; 907s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 907s # { 907s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 907s # if (arg_info->use_gvariant) 907s # { 907s # g_value_init (¶mv[n], G_TYPE_VARIANT); 907s # g_value_set_variant (¶mv[n], child); 907s # n++; 907s # } 907s # else 907s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 907s # g_variant_unref (child); 907s # } 907s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 907s # g_signal_emitv (paramv, signal_id, 0, NULL); 907s # for (n = 0; n < num_params + 1; n++) 907s # g_value_unset (¶mv[n]); 907s # g_free (paramv); 907s # } 907s # 907s # static void 907s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 907s # GVariant *changed_properties, 907s # const gchar *const *invalidated_properties) 907s # { 907s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 907s # guint n; 907s # const gchar *key; 907s # GVariantIter *iter; 907s # _ExtendedGDBusPropertyInfo *info; 907s # g_variant_get (changed_properties, "a{sv}", &iter); 907s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 907s # { 907s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 907s # g_datalist_remove_data (&proxy->priv->qdata, key); 907s # if (info != NULL) 907s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 907s # } 907s # g_variant_iter_free (iter); 907s # for (n = 0; invalidated_properties[n] != NULL; n++) 907s # { 907s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 907s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 907s # if (info != NULL) 907s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 907s # } 907s # } 907s # 907s # static void 907s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 907s # { 907s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 907s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 907s # #else 907s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 907s # #endif 907s # 907s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 907s # } 907s # 907s # static void 907s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 907s # { 907s # GObjectClass *gobject_class; 907s # GDBusProxyClass *proxy_class; 907s # 907s # gobject_class = G_OBJECT_CLASS (klass); 907s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 907s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 907s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 907s # 907s # proxy_class = G_DBUS_PROXY_CLASS (klass); 907s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 907s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 907s # 907s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 907s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 907s # #endif 907s # } 907s # 907s # static void 907s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 907s # { 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_proxy_new: 907s # * @connection: A #GDBusConnection. 907s # * @flags: Flags from the #GDBusProxyFlags enumeration. 907s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 907s # * @object_path: An object path. 907s # * @cancellable: (nullable): A #GCancellable or %NULL. 907s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 907s # * @user_data: User data to pass to @callback. 907s # * 907s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 907s # * 907s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 907s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 907s # * 907s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 907s # */ 907s # void 907s # org_project_useful_interface_proxy_new ( 907s # GDBusConnection *connection, 907s # GDBusProxyFlags flags, 907s # const gchar *name, 907s # const gchar *object_path, 907s # GCancellable *cancellable, 907s # GAsyncReadyCallback callback, 907s # gpointer user_data) 907s # { 907s # g_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); 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_proxy_new_finish: 907s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 907s # * @error: Return location for error or %NULL 907s # * 907s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 907s # * 907s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 907s # */ 907s # OrgProjectUsefulInterface * 907s # org_project_useful_interface_proxy_new_finish ( 907s # GAsyncResult *res, 907s # GError **error) 907s # { 907s # GObject *ret; 907s # GObject *source_object; 907s # source_object = g_async_result_get_source_object (res); 907s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 907s # g_object_unref (source_object); 907s # if (ret != NULL) 907s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 907s # else 907s # return NULL; 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_proxy_new_sync: 907s # * @connection: A #GDBusConnection. 907s # * @flags: Flags from the #GDBusProxyFlags enumeration. 907s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 907s # * @object_path: An object path. 907s # * @cancellable: (nullable): A #GCancellable or %NULL. 907s # * @error: Return location for error or %NULL 907s # * 907s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 907s # * 907s # * The calling thread is blocked until a reply is received. 907s # * 907s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 907s # * 907s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 907s # */ 907s # OrgProjectUsefulInterface * 907s # org_project_useful_interface_proxy_new_sync ( 907s # GDBusConnection *connection, 907s # GDBusProxyFlags flags, 907s # const gchar *name, 907s # const gchar *object_path, 907s # GCancellable *cancellable, 907s # GError **error) 907s # { 907s # GInitable *ret; 907s # 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); 907s # if (ret != NULL) 907s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 907s # else 907s # return NULL; 907s # } 907s # 907s # 907s # /** 907s # * org_project_useful_interface_proxy_new_for_bus: 907s # * @bus_type: A #GBusType. 907s # * @flags: Flags from the #GDBusProxyFlags enumeration. 907s # * @name: A bus name (well-known or unique). 907s # * @object_path: An object path. 907s # * @cancellable: (nullable): A #GCancellable or %NULL. 907s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 907s # * @user_data: User data to pass to @callback. 907s # * 907s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 907s # * 907s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 907s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 907s # * 907s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 907s # */ 907s # void 907s # org_project_useful_interface_proxy_new_for_bus ( 907s # GBusType bus_type, 907s # GDBusProxyFlags flags, 907s # const gchar *name, 907s # const gchar *object_path, 907s # GCancellable *cancellable, 907s # GAsyncReadyCallback callback, 907s # gpointer user_data) 907s # { 907s # g_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); 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_proxy_new_for_bus_finish: 907s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 907s # * @error: Return location for error or %NULL 907s # * 907s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 907s # * 907s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 907s # */ 907s # OrgProjectUsefulInterface * 907s # org_project_useful_interface_proxy_new_for_bus_finish ( 907s # GAsyncResult *res, 907s # GError **error) 907s # { 907s # GObject *ret; 907s # GObject *source_object; 907s # source_object = g_async_result_get_source_object (res); 907s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 907s # g_object_unref (source_object); 907s # if (ret != NULL) 907s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 907s # else 907s # return NULL; 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_proxy_new_for_bus_sync: 907s # * @bus_type: A #GBusType. 907s # * @flags: Flags from the #GDBusProxyFlags enumeration. 907s # * @name: A bus name (well-known or unique). 907s # * @object_path: An object path. 907s # * @cancellable: (nullable): A #GCancellable or %NULL. 907s # * @error: Return location for error or %NULL 907s # * 907s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 907s # * 907s # * The calling thread is blocked until a reply is received. 907s # * 907s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 907s # * 907s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 907s # */ 907s # OrgProjectUsefulInterface * 907s # org_project_useful_interface_proxy_new_for_bus_sync ( 907s # GBusType bus_type, 907s # GDBusProxyFlags flags, 907s # const gchar *name, 907s # const gchar *object_path, 907s # GCancellable *cancellable, 907s # GError **error) 907s # { 907s # GInitable *ret; 907s # 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); 907s # if (ret != NULL) 907s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 907s # else 907s # return NULL; 907s # } 907s # 907s # 907s # /* ------------------------------------------------------------------------ */ 907s # 907s # /** 907s # * OrgProjectUsefulInterfaceSkeleton: 907s # * 907s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 907s # */ 907s # 907s # /** 907s # * OrgProjectUsefulInterfaceSkeletonClass: 907s # * @parent_class: The parent class. 907s # * 907s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 907s # */ 907s # 907s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 907s # { 907s # GValue *properties; 907s # GList *changed_properties; 907s # GSource *changed_properties_idle_source; 907s # GMainContext *context; 907s # GMutex lock; 907s # }; 907s # 907s # static void 907s # _org_project_useful_interface_skeleton_handle_method_call ( 907s # GDBusConnection *connection G_GNUC_UNUSED, 907s # const gchar *sender G_GNUC_UNUSED, 907s # const gchar *object_path G_GNUC_UNUSED, 907s # const gchar *interface_name, 907s # const gchar *method_name, 907s # GVariant *parameters, 907s # GDBusMethodInvocation *invocation, 907s # gpointer user_data) 907s # { 907s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 907s # _ExtendedGDBusMethodInfo *info; 907s # GVariantIter iter; 907s # GVariant *child; 907s # GValue *paramv; 907s # gsize num_params; 907s # guint num_extra; 907s # gsize n; 907s # guint signal_id; 907s # GValue return_value = G_VALUE_INIT; 907s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 907s # g_assert (info != NULL); 907s # num_params = g_variant_n_children (parameters); 907s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 907s # n = 0; 907s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 907s # g_value_set_object (¶mv[n++], skeleton); 907s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 907s # g_value_set_object (¶mv[n++], invocation); 907s # if (info->pass_fdlist) 907s # { 907s # #ifdef G_OS_UNIX 907s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 907s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 907s # #else 907s # g_assert_not_reached (); 907s # #endif 907s # } 907s # g_variant_iter_init (&iter, parameters); 907s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 907s # { 907s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 907s # if (arg_info->use_gvariant) 907s # { 907s # g_value_init (¶mv[n], G_TYPE_VARIANT); 907s # g_value_set_variant (¶mv[n], child); 907s # n++; 907s # } 907s # else 907s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 907s # g_variant_unref (child); 907s # } 907s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 907s # g_value_init (&return_value, G_TYPE_BOOLEAN); 907s # g_signal_emitv (paramv, signal_id, 0, &return_value); 907s # if (!g_value_get_boolean (&return_value)) 907s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 907s # g_value_unset (&return_value); 907s # for (n = 0; n < num_params + num_extra; n++) 907s # g_value_unset (¶mv[n]); 907s # g_free (paramv); 907s # } 907s # 907s # static GVariant * 907s # _org_project_useful_interface_skeleton_handle_get_property ( 907s # GDBusConnection *connection G_GNUC_UNUSED, 907s # const gchar *sender G_GNUC_UNUSED, 907s # const gchar *object_path G_GNUC_UNUSED, 907s # const gchar *interface_name G_GNUC_UNUSED, 907s # const gchar *property_name, 907s # GError **error, 907s # gpointer user_data) 907s # { 907s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 907s # GValue value = G_VALUE_INIT; 907s # GParamSpec *pspec; 907s # _ExtendedGDBusPropertyInfo *info; 907s # GVariant *ret; 907s # ret = NULL; 907s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 907s # g_assert (info != NULL); 907s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 907s # if (pspec == NULL) 907s # { 907s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 907s # } 907s # else 907s # { 907s # g_value_init (&value, pspec->value_type); 907s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 907s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 907s # g_value_unset (&value); 907s # } 907s # return ret; 907s # } 907s # 907s # static gboolean 907s # _org_project_useful_interface_skeleton_handle_set_property ( 907s # GDBusConnection *connection G_GNUC_UNUSED, 907s # const gchar *sender G_GNUC_UNUSED, 907s # const gchar *object_path G_GNUC_UNUSED, 907s # const gchar *interface_name G_GNUC_UNUSED, 907s # const gchar *property_name, 907s # GVariant *variant, 907s # GError **error, 907s # gpointer user_data) 907s # { 907s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 907s # GValue value = G_VALUE_INIT; 907s # GParamSpec *pspec; 907s # _ExtendedGDBusPropertyInfo *info; 907s # gboolean ret; 907s # ret = FALSE; 907s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 907s # g_assert (info != NULL); 907s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 907s # if (pspec == NULL) 907s # { 907s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 907s # } 907s # else 907s # { 907s # if (info->use_gvariant) 907s # g_value_set_variant (&value, variant); 907s # else 907s # g_dbus_gvariant_to_gvalue (variant, &value); 907s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 907s # g_value_unset (&value); 907s # ret = TRUE; 907s # } 907s # return ret; 907s # } 907s # 907s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 907s # { 907s # _org_project_useful_interface_skeleton_handle_method_call, 907s # _org_project_useful_interface_skeleton_handle_get_property, 907s # _org_project_useful_interface_skeleton_handle_set_property, 907s # {NULL} 907s # }; 907s # 907s # static GDBusInterfaceInfo * 907s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 907s # { 907s # return org_project_useful_interface_interface_info (); 907s # } 907s # 907s # static GDBusInterfaceVTable * 907s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 907s # { 907s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 907s # } 907s # 907s # static GVariant * 907s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 907s # { 907s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 907s # 907s # GVariantBuilder builder; 907s # guint n; 907s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 907s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 907s # goto out; 907s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 907s # { 907s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 907s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 907s # { 907s # GVariant *value; 907s # 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); 907s # if (value != NULL) 907s # { 907s # g_variant_take_ref (value); 907s # g_variant_builder_add (&builder, "{sv}", info->name, value); 907s # g_variant_unref (value); 907s # } 907s # } 907s # } 907s # out: 907s # return g_variant_builder_end (&builder); 907s # } 907s # 907s # static void 907s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 907s # { 907s # } 907s # 907s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 907s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 907s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 907s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 907s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 907s # 907s # #else 907s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 907s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 907s # 907s # #endif 907s # static void 907s # org_project_useful_interface_skeleton_finalize (GObject *object) 907s # { 907s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 907s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 907s # if (skeleton->priv->changed_properties_idle_source != NULL) 907s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 907s # g_main_context_unref (skeleton->priv->context); 907s # g_mutex_clear (&skeleton->priv->lock); 907s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 907s # } 907s # 907s # static void 907s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 907s # { 907s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 907s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 907s # #else 907s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 907s # #endif 907s # 907s # g_mutex_init (&skeleton->priv->lock); 907s # skeleton->priv->context = g_main_context_ref_thread_default (); 907s # } 907s # 907s # static void 907s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 907s # { 907s # GObjectClass *gobject_class; 907s # GDBusInterfaceSkeletonClass *skeleton_class; 907s # 907s # gobject_class = G_OBJECT_CLASS (klass); 907s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 907s # 907s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 907s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 907s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 907s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 907s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 907s # 907s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 907s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 907s # #endif 907s # } 907s # 907s # static void 907s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 907s # { 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_skeleton_new: 907s # * 907s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 907s # * 907s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 907s # */ 907s # OrgProjectUsefulInterface * 907s # org_project_useful_interface_skeleton_new (void) 907s # { 907s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 907s # } 907s # /tmp/tmp9ajrkwa8/tmp2smampx_.xml: 907s # 907s # 907s # 907s # 907s # 907s # 907s # 907s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmp2smampx_.xml', '--output', '-', '--body'] 907s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 907s # Output: /* 907s # * This file is generated by gdbus-codegen, do not modify it. 907s # * 907s # * The license of this code is the same as for the D-Bus interface description 907s # * it was derived from. Note that it links to GLib, so must comply with the 907s # * LGPL linking clauses. 907s # */ 907s # 907s # #ifdef HAVE_CONFIG_H 907s # # include "config.h" 907s # #endif 907s # 907s # #include 907s # #ifdef G_OS_UNIX 907s # # include 907s # #endif 907s # 907s # #ifdef G_ENABLE_DEBUG 907s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 907s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 907s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 907s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 907s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 907s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 907s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 907s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 907s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 907s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 907s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 907s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 907s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 907s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 907s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 907s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 907s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 907s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 907s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 907s # #else /* !G_ENABLE_DEBUG */ 907s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 907s # * Do not access GValues directly in your code. Instead, use the 907s # * g_value_get_*() functions 907s # */ 907s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 907s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 907s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 907s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 907s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 907s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 907s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 907s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 907s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 907s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 907s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 907s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 907s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 907s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 907s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 907s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 907s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 907s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 907s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 907s # #endif /* !G_ENABLE_DEBUG */ 907s # 907s # typedef struct 907s # { 907s # GDBusArgInfo parent_struct; 907s # gboolean use_gvariant; 907s # } _ExtendedGDBusArgInfo; 907s # 907s # typedef struct 907s # { 907s # GDBusMethodInfo parent_struct; 907s # const gchar *signal_name; 907s # gboolean pass_fdlist; 907s # } _ExtendedGDBusMethodInfo; 907s # 907s # typedef struct 907s # { 907s # GDBusSignalInfo parent_struct; 907s # const gchar *signal_name; 907s # } _ExtendedGDBusSignalInfo; 907s # 907s # typedef struct 907s # { 907s # GDBusPropertyInfo parent_struct; 907s # const gchar *hyphen_name; 907s # guint use_gvariant : 1; 907s # guint emits_changed_signal : 1; 907s # } _ExtendedGDBusPropertyInfo; 907s # 907s # typedef struct 907s # { 907s # GDBusInterfaceInfo parent_struct; 907s # const gchar *hyphen_name; 907s # } _ExtendedGDBusInterfaceInfo; 907s # 907s # typedef struct 907s # { 907s # const _ExtendedGDBusPropertyInfo *info; 907s # guint prop_id; 907s # GValue orig_value; /* the value before the change */ 907s # } ChangedProperty; 907s # 907s # static void 907s # _changed_property_free (ChangedProperty *data) 907s # { 907s # g_value_unset (&data->orig_value); 907s # g_free (data); 907s # } 907s # 907s # static gboolean 907s # _g_strv_equal0 (gchar **a, gchar **b) 907s # { 907s # gboolean ret = FALSE; 907s # guint n; 907s # if (a == NULL && b == NULL) 907s # { 907s # ret = TRUE; 907s # goto out; 907s # } 907s # if (a == NULL || b == NULL) 907s # goto out; 907s # if (g_strv_length (a) != g_strv_length (b)) 907s # goto out; 907s # for (n = 0; a[n] != NULL; n++) 907s # if (g_strcmp0 (a[n], b[n]) != 0) 907s # goto out; 907s # ret = TRUE; 907s # out: 907s # return ret; 907s # } 907s # 907s # static gboolean 907s # _g_variant_equal0 (GVariant *a, GVariant *b) 907s # { 907s # gboolean ret = FALSE; 907s # if (a == NULL && b == NULL) 907s # { 907s # ret = TRUE; 907s # goto out; 907s # } 907s # if (a == NULL || b == NULL) 907s # goto out; 907s # ret = g_variant_equal (a, b); 907s # out: 907s # return ret; 907s # } 907s # 907s # G_GNUC_UNUSED static gboolean 907s # _g_value_equal (const GValue *a, const GValue *b) 907s # { 907s # gboolean ret = FALSE; 907s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 907s # switch (G_VALUE_TYPE (a)) 907s # { 907s # case G_TYPE_BOOLEAN: 907s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 907s # break; 907s # case G_TYPE_UCHAR: 907s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 907s # break; 907s # case G_TYPE_INT: 907s # ret = (g_value_get_int (a) == g_value_get_int (b)); 907s # break; 907s # case G_TYPE_UINT: 907s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 907s # break; 907s # case G_TYPE_INT64: 907s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 907s # break; 907s # case G_TYPE_UINT64: 907s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 907s # break; 907s # case G_TYPE_DOUBLE: 907s # { 907s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 907s # gdouble da = g_value_get_double (a); 907s # gdouble db = g_value_get_double (b); 907s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 907s # } 907s # break; 907s # case G_TYPE_STRING: 907s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 907s # break; 907s # case G_TYPE_VARIANT: 907s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 907s # break; 907s # default: 907s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 907s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 907s # else 907s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 907s # break; 907s # } 907s # return ret; 907s # } 907s # 907s # static void 907s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 907s # GClosure *closure, 907s # GValue *return_value, 907s # unsigned int n_param_values, 907s # const GValue *param_values, 907s # void *invocation_hint G_GNUC_UNUSED, 907s # void *marshal_data) 907s # { 907s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 907s # (void *data1, 907s # GDBusMethodInvocation *arg_method_invocation, 907s # void *data2); 907s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 907s # GCClosure *cc = (GCClosure*) closure; 907s # void *data1, *data2; 907s # gboolean v_return; 907s # 907s # g_return_if_fail (return_value != NULL); 907s # g_return_if_fail (n_param_values == 2); 907s # 907s # if (G_CCLOSURE_SWAP_DATA (closure)) 907s # { 907s # data1 = closure->data; 907s # data2 = g_value_peek_pointer (param_values + 0); 907s # } 907s # else 907s # { 907s # data1 = g_value_peek_pointer (param_values + 0); 907s # data2 = closure->data; 907s # } 907s # 907s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 907s # (marshal_data ? marshal_data : cc->callback); 907s # 907s # v_return = 907s # callback (data1, 907s # g_marshal_value_peek_object (param_values + 1), 907s # data2); 907s # 907s # g_value_set_boolean (return_value, v_return); 907s # } 907s # 907s # /* ------------------------------------------------------------------------ 907s # * Code for interface org.project.UsefulInterface 907s # * ------------------------------------------------------------------------ 907s # */ 907s # 907s # /** 907s # * SECTION:OrgProjectUsefulInterface 907s # * @title: OrgProjectUsefulInterface 907s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 907s # * 907s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 907s # */ 907s # 907s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 907s # 907s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 907s # { 907s # { 907s # -1, 907s # (gchar *) "arg_y", 907s # (gchar *) "y", 907s # NULL 907s # }, 907s # FALSE 907s # }; 907s # 907s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 907s # { 907s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 907s # NULL 907s # }; 907s # 907s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 907s # { 907s # { 907s # -1, 907s # (gchar *) "SingleArgMethodY", 907s # NULL, 907s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 907s # NULL 907s # }, 907s # "handle-single-arg-method-y", 907s # FALSE 907s # }; 907s # 907s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 907s # { 907s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 907s # NULL 907s # }; 907s # 907s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 907s # { 907s # { 907s # -1, 907s # (gchar *) "org.project.UsefulInterface", 907s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 907s # NULL, 907s # NULL, 907s # NULL 907s # }, 907s # "org-project-useful-interface", 907s # }; 907s # 907s # 907s # /** 907s # * org_project_useful_interface_interface_info: 907s # * 907s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 907s # * 907s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 907s # */ 907s # GDBusInterfaceInfo * 907s # org_project_useful_interface_interface_info (void) 907s # { 907s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_override_properties: 907s # * @klass: The class structure for a #GObject derived class. 907s # * @property_id_begin: The property id to assign to the first overridden property. 907s # * 907s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 907s # * The properties are overridden in the order they are defined. 907s # * 907s # * Returns: The last property id. 907s # */ 907s # guint 907s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 907s # { 907s # return property_id_begin - 1; 907s # } 907s # 907s # 907s # inline static void 907s # org_project_useful_interface_method_marshal_single_arg_method_y ( 907s # GClosure *closure, 907s # GValue *return_value, 907s # unsigned int n_param_values, 907s # const GValue *param_values, 907s # void *invocation_hint, 907s # void *marshal_data) 907s # { 907s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 907s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 907s # } 907s # 907s # 907s # /** 907s # * OrgProjectUsefulInterface: 907s # * 907s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 907s # */ 907s # 907s # /** 907s # * OrgProjectUsefulInterfaceIface: 907s # * @parent_iface: The parent interface. 907s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 907s # * 907s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 907s # */ 907s # 907s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 907s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 907s # 907s # static void 907s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 907s # { 907s # /* GObject signals for incoming D-Bus method calls: */ 907s # /** 907s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 907s # * @object: A #OrgProjectUsefulInterface. 907s # * @invocation: A #GDBusMethodInvocation. 907s # * 907s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 907s # * 907s # * 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. 907s # * 907s # * 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. 907s # */ 907s # g_signal_new ("handle-single-arg-method-y", 907s # G_TYPE_FROM_INTERFACE (iface), 907s # G_SIGNAL_RUN_LAST, 907s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 907s # g_signal_accumulator_true_handled, 907s # NULL, 907s # org_project_useful_interface_method_marshal_single_arg_method_y, 907s # G_TYPE_BOOLEAN, 907s # 1, 907s # G_TYPE_DBUS_METHOD_INVOCATION); 907s # 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_call_single_arg_method_y: 907s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 907s # * @cancellable: (nullable): A #GCancellable or %NULL. 907s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 907s # * @user_data: User data to pass to @callback. 907s # * 907s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 907s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 907s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 907s # * 907s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 907s # */ 907s # void 907s # org_project_useful_interface_call_single_arg_method_y ( 907s # OrgProjectUsefulInterface *proxy, 907s # GCancellable *cancellable, 907s # GAsyncReadyCallback callback, 907s # gpointer user_data) 907s # { 907s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 907s # "SingleArgMethodY", 907s # g_variant_new ("()"), 907s # G_DBUS_CALL_FLAGS_NONE, 907s # -1, 907s # cancellable, 907s # callback, 907s # user_data); 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_call_single_arg_method_y_finish: 907s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 907s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 907s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 907s # * @error: Return location for error or %NULL. 907s # * 907s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 907s # * 907s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 907s # */ 907s # gboolean 907s # org_project_useful_interface_call_single_arg_method_y_finish ( 907s # OrgProjectUsefulInterface *proxy, 907s # guchar *out_arg_y, 907s # GAsyncResult *res, 907s # GError **error) 907s # { 907s # GVariant *_ret; 907s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 907s # if (_ret == NULL) 907s # goto _out; 907s # g_variant_get (_ret, 907s # "(y)", 907s # out_arg_y); 907s # g_variant_unref (_ret); 907s # _out: 907s # return _ret != NULL; 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_call_single_arg_method_y_sync: 907s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 907s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 907s # * @cancellable: (nullable): A #GCancellable or %NULL. 907s # * @error: Return location for error or %NULL. 907s # * 907s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 907s # * 907s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 907s # * 907s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 907s # */ 907s # gboolean 907s # org_project_useful_interface_call_single_arg_method_y_sync ( 907s # OrgProjectUsefulInterface *proxy, 907s # guchar *out_arg_y, 907s # GCancellable *cancellable, 907s # GError **error) 907s # { 907s # GVariant *_ret; 907s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 907s # "SingleArgMethodY", 907s # g_variant_new ("()"), 907s # G_DBUS_CALL_FLAGS_NONE, 907s # -1, 907s # cancellable, 907s # error); 907s # if (_ret == NULL) 907s # goto _out; 907s # g_variant_get (_ret, 907s # "(y)", 907s # out_arg_y); 907s # g_variant_unref (_ret); 907s # _out: 907s # return _ret != NULL; 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_complete_single_arg_method_y: 907s # * @object: A #OrgProjectUsefulInterface. 907s # * @invocation: (transfer full): A #GDBusMethodInvocation. 907s # * @arg_y: Parameter to return. 907s # * 907s # * 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. 907s # * 907s # * This method will free @invocation, you cannot use it afterwards. 907s # */ 907s # void 907s # org_project_useful_interface_complete_single_arg_method_y ( 907s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 907s # GDBusMethodInvocation *invocation, 907s # guchar arg_y) 907s # { 907s # g_dbus_method_invocation_return_value (invocation, 907s # g_variant_new ("(y)", 907s # arg_y)); 907s # } 907s # 907s # /* ------------------------------------------------------------------------ */ 907s # 907s # /** 907s # * OrgProjectUsefulInterfaceProxy: 907s # * 907s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 907s # */ 907s # 907s # /** 907s # * OrgProjectUsefulInterfaceProxyClass: 907s # * @parent_class: The parent class. 907s # * 907s # * Class structure for #OrgProjectUsefulInterfaceProxy. 907s # */ 907s # 907s # struct _OrgProjectUsefulInterfaceProxyPrivate 907s # { 907s # GData *qdata; 907s # }; 907s # 907s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 907s # 907s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 907s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 907s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 907s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 907s # 907s # #else 907s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 907s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 907s # 907s # #endif 907s # static void 907s # org_project_useful_interface_proxy_finalize (GObject *object) 907s # { 907s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 907s # g_datalist_clear (&proxy->priv->qdata); 907s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 907s # } 907s # 907s # static void 907s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 907s # guint prop_id G_GNUC_UNUSED, 907s # GValue *value G_GNUC_UNUSED, 907s # GParamSpec *pspec G_GNUC_UNUSED) 907s # { 907s # } 907s # 907s # static void 907s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 907s # guint prop_id G_GNUC_UNUSED, 907s # const GValue *value G_GNUC_UNUSED, 907s # GParamSpec *pspec G_GNUC_UNUSED) 907s # { 907s # } 907s # 907s # static void 907s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 907s # const gchar *sender_name G_GNUC_UNUSED, 907s # const gchar *signal_name, 907s # GVariant *parameters) 907s # { 907s # _ExtendedGDBusSignalInfo *info; 907s # GVariantIter iter; 907s # GVariant *child; 907s # GValue *paramv; 907s # gsize num_params; 907s # gsize n; 907s # guint signal_id; 907s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 907s # if (info == NULL) 907s # return; 907s # num_params = g_variant_n_children (parameters); 907s # paramv = g_new0 (GValue, num_params + 1); 907s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 907s # g_value_set_object (¶mv[0], proxy); 907s # g_variant_iter_init (&iter, parameters); 907s # n = 1; 907s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 907s # { 907s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 907s # if (arg_info->use_gvariant) 907s # { 907s # g_value_init (¶mv[n], G_TYPE_VARIANT); 907s # g_value_set_variant (¶mv[n], child); 907s # n++; 907s # } 907s # else 907s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 907s # g_variant_unref (child); 907s # } 907s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 907s # g_signal_emitv (paramv, signal_id, 0, NULL); 907s # for (n = 0; n < num_params + 1; n++) 907s # g_value_unset (¶mv[n]); 907s # g_free (paramv); 907s # } 907s # 907s # static void 907s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 907s # GVariant *changed_properties, 907s # const gchar *const *invalidated_properties) 907s # { 907s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 907s # guint n; 907s # const gchar *key; 907s # GVariantIter *iter; 907s # _ExtendedGDBusPropertyInfo *info; 907s # g_variant_get (changed_properties, "a{sv}", &iter); 907s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 907s # { 907s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 907s # g_datalist_remove_data (&proxy->priv->qdata, key); 907s # if (info != NULL) 907s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 907s # } 907s # g_variant_iter_free (iter); 907s # for (n = 0; invalidated_properties[n] != NULL; n++) 907s # { 907s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 907s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 907s # if (info != NULL) 907s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 907s # } 907s # } 907s # 907s # static void 907s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 907s # { 907s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 907s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 907s # #else 907s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 907s # #endif 907s # 907s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 907s # } 907s # 907s # static void 907s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 907s # { 907s # GObjectClass *gobject_class; 907s # GDBusProxyClass *proxy_class; 907s # 907s # gobject_class = G_OBJECT_CLASS (klass); 907s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 907s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 907s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 907s # 907s # proxy_class = G_DBUS_PROXY_CLASS (klass); 907s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 907s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 907s # 907s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 907s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 907s # #endif 907s # } 907s # 907s # static void 907s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 907s # { 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_proxy_new: 907s # * @connection: A #GDBusConnection. 907s # * @flags: Flags from the #GDBusProxyFlags enumeration. 907s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 907s # * @object_path: An object path. 907s # * @cancellable: (nullable): A #GCancellable or %NULL. 907s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 907s # * @user_data: User data to pass to @callback. 907s # * 907s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 907s # * 907s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 907s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 907s # * 907s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 907s # */ 907s # void 907s # org_project_useful_interface_proxy_new ( 907s # GDBusConnection *connection, 907s # GDBusProxyFlags flags, 907s # const gchar *name, 907s # const gchar *object_path, 907s # GCancellable *cancellable, 907s # GAsyncReadyCallback callback, 907s # gpointer user_data) 907s # { 907s # g_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); 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_proxy_new_finish: 907s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 907s # * @error: Return location for error or %NULL 907s # * 907s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 907s # * 907s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 907s # */ 907s # OrgProjectUsefulInterface * 907s # org_project_useful_interface_proxy_new_finish ( 907s # GAsyncResult *res, 907s # GError **error) 907s # { 907s # GObject *ret; 907s # GObject *source_object; 907s # source_object = g_async_result_get_source_object (res); 907s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 907s # g_object_unref (source_object); 907s # if (ret != NULL) 907s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 907s # else 907s # return NULL; 907s # } 907s # 907s # /** 907s # * org_project_useful_interface_proxy_new_sync: 907s # * @connection: A #GDBusConnection. 907s # * @flags: Flags from the #GDBusProxyFlags enumeration. 907s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 907s # * @object_path: An object path. 907s # * @cancellable: (nullable): A #GCancellable or %NULL. 907s # * @error: Return location for error or %NULL 907s # * 907s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 907s # * 907s # * The calling thread is blocked until a reply is received. 907s # * 907s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 907s # * 907s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 907s # */ 907s # OrgProjectUsefulInterface * 907s # org_project_useful_interface_proxy_new_sync ( 907s # GDBusConnection *connection, 907s # GDBusProxyFlags flags, 907s # const gchar *name, 907s # const gchar *object_path, 907s # GCancellable *cancellable, 907s # GError **error) 907s # { 907s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s # /tmp/tmp9ajrkwa8/tmprk__x0w4.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmprk__x0w4.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.UsefulInterface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectUsefulInterface 908s # * @title: OrgProjectUsefulInterface 908s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 908s # { 908s # { 908s # -1, 908s # (gchar *) "arg_n", 908s # (gchar *) "n", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SingleArgMethodN", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-single-arg-method-n", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.UsefulInterface", 908s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-useful-interface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_useful_interface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_useful_interface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_useful_interface_method_marshal_single_arg_method_n ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectUsefulInterface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-single-arg-method-n", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_useful_interface_method_marshal_single_arg_method_n, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_n: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_useful_interface_call_single_arg_method_n ( 908s # OrgProjectUsefulInterface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodN", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_n_finish: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_n_finish ( 908s # OrgProjectUsefulInterface *proxy, 908s # gint16 *out_arg_n, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(n)", 908s # out_arg_n); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_n_sync: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_n_sync ( 908s # OrgProjectUsefulInterface *proxy, 908s # gint16 *out_arg_n, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodN", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(n)", 908s # out_arg_n); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_complete_single_arg_method_n: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @arg_n: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_useful_interface_complete_single_arg_method_n ( 908s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # gint16 arg_n) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(n)", 908s # arg_n)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxy: 908s # * 908s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 908s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 908s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s # /tmp/tmp9ajrkwa8/tmp_0ag2ymp.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmp_0ag2ymp.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.UsefulInterface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectUsefulInterface 908s # * @title: OrgProjectUsefulInterface 908s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 908s # { 908s # { 908s # -1, 908s # (gchar *) "arg_q", 908s # (gchar *) "q", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SingleArgMethodQ", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-single-arg-method-q", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.UsefulInterface", 908s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-useful-interface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_useful_interface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_useful_interface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_useful_interface_method_marshal_single_arg_method_q ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectUsefulInterface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-single-arg-method-q", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_useful_interface_method_marshal_single_arg_method_q, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_q: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_useful_interface_call_single_arg_method_q ( 908s # OrgProjectUsefulInterface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodQ", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_q_finish: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_q_finish ( 908s # OrgProjectUsefulInterface *proxy, 908s # guint16 *out_arg_q, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(q)", 908s # out_arg_q); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_q_sync: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_q_sync ( 908s # OrgProjectUsefulInterface *proxy, 908s # guint16 *out_arg_q, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodQ", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(q)", 908s # out_arg_q); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_complete_single_arg_method_q: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @arg_q: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_useful_interface_complete_single_arg_method_q ( 908s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # guint16 arg_q) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(q)", 908s # arg_q)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxy: 908s # * 908s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 908s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 908s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s # /tmp/tmp9ajrkwa8/tmp11w_b1od.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmp11w_b1od.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.UsefulInterface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectUsefulInterface 908s # * @title: OrgProjectUsefulInterface 908s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 908s # { 908s # { 908s # -1, 908s # (gchar *) "arg_i", 908s # (gchar *) "i", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SingleArgMethodI", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-single-arg-method-i", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.UsefulInterface", 908s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-useful-interface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_useful_interface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_useful_interface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_useful_interface_method_marshal_single_arg_method_i ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectUsefulInterface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-single-arg-method-i", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_useful_interface_method_marshal_single_arg_method_i, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_i: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_useful_interface_call_single_arg_method_i ( 908s # OrgProjectUsefulInterface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodI", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_i_finish: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_i_finish ( 908s # OrgProjectUsefulInterface *proxy, 908s # gint *out_arg_i, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(i)", 908s # out_arg_i); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_i_sync: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_i_sync ( 908s # OrgProjectUsefulInterface *proxy, 908s # gint *out_arg_i, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodI", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(i)", 908s # out_arg_i); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_complete_single_arg_method_i: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @arg_i: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_useful_interface_complete_single_arg_method_i ( 908s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # gint arg_i) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(i)", 908s # arg_i)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxy: 908s # * 908s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 908s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 908s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s # /tmp/tmp9ajrkwa8/tmp8g5n2a1d.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmp8g5n2a1d.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.UsefulInterface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectUsefulInterface 908s # * @title: OrgProjectUsefulInterface 908s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 908s # { 908s # { 908s # -1, 908s # (gchar *) "arg_u", 908s # (gchar *) "u", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SingleArgMethodU", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-single-arg-method-u", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.UsefulInterface", 908s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-useful-interface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_useful_interface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_useful_interface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_useful_interface_method_marshal_single_arg_method_u ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectUsefulInterface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-single-arg-method-u", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_useful_interface_method_marshal_single_arg_method_u, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_u: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_useful_interface_call_single_arg_method_u ( 908s # OrgProjectUsefulInterface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodU", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_u_finish: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_u_finish ( 908s # OrgProjectUsefulInterface *proxy, 908s # guint *out_arg_u, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(u)", 908s # out_arg_u); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_u_sync: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_u_sync ( 908s # OrgProjectUsefulInterface *proxy, 908s # guint *out_arg_u, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodU", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(u)", 908s # out_arg_u); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_complete_single_arg_method_u: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @arg_u: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_useful_interface_complete_single_arg_method_u ( 908s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # guint arg_u) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(u)", 908s # arg_u)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxy: 908s # * 908s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 908s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 908s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s # /tmp/tmp9ajrkwa8/tmpetixmbc6.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmpetixmbc6.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.UsefulInterface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectUsefulInterface 908s # * @title: OrgProjectUsefulInterface 908s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 908s # { 908s # { 908s # -1, 908s # (gchar *) "arg_x", 908s # (gchar *) "x", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SingleArgMethodX", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-single-arg-method-x", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.UsefulInterface", 908s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-useful-interface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_useful_interface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_useful_interface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_useful_interface_method_marshal_single_arg_method_x ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectUsefulInterface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-single-arg-method-x", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_useful_interface_method_marshal_single_arg_method_x, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_x: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_useful_interface_call_single_arg_method_x ( 908s # OrgProjectUsefulInterface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodX", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_x_finish: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_x_finish ( 908s # OrgProjectUsefulInterface *proxy, 908s # gint64 *out_arg_x, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(x)", 908s # out_arg_x); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_x_sync: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_x_sync ( 908s # OrgProjectUsefulInterface *proxy, 908s # gint64 *out_arg_x, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodX", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(x)", 908s # out_arg_x); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_complete_single_arg_method_x: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @arg_x: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_useful_interface_complete_single_arg_method_x ( 908s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # gint64 arg_x) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(x)", 908s # arg_x)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxy: 908s # * 908s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 908s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 908s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s # /tmp/tmp9ajrkwa8/tmpy35i_uex.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmpy35i_uex.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.UsefulInterface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectUsefulInterface 908s # * @title: OrgProjectUsefulInterface 908s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 908s # { 908s # { 908s # -1, 908s # (gchar *) "arg_t", 908s # (gchar *) "t", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SingleArgMethodT", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-single-arg-method-t", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.UsefulInterface", 908s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-useful-interface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_useful_interface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_useful_interface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_useful_interface_method_marshal_single_arg_method_t ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectUsefulInterface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-single-arg-method-t", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_useful_interface_method_marshal_single_arg_method_t, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_t: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_useful_interface_call_single_arg_method_t ( 908s # OrgProjectUsefulInterface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodT", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_t_finish: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_t_finish ( 908s # OrgProjectUsefulInterface *proxy, 908s # guint64 *out_arg_t, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(t)", 908s # out_arg_t); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_t_sync: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_t_sync ( 908s # OrgProjectUsefulInterface *proxy, 908s # guint64 *out_arg_t, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodT", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(t)", 908s # out_arg_t); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_complete_single_arg_method_t: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @arg_t: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_useful_interface_complete_single_arg_method_t ( 908s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # guint64 arg_t) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(t)", 908s # arg_t)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxy: 908s # * 908s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 908s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 908s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s # /tmp/tmp9ajrkwa8/tmpacvvj4ap.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmpacvvj4ap.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.UsefulInterface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectUsefulInterface 908s # * @title: OrgProjectUsefulInterface 908s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 908s # { 908s # { 908s # -1, 908s # (gchar *) "arg_d", 908s # (gchar *) "d", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SingleArgMethodD", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-single-arg-method-d", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.UsefulInterface", 908s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-useful-interface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_useful_interface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_useful_interface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_useful_interface_method_marshal_single_arg_method_d ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectUsefulInterface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-single-arg-method-d", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_useful_interface_method_marshal_single_arg_method_d, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_d: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_useful_interface_call_single_arg_method_d ( 908s # OrgProjectUsefulInterface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodD", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_d_finish: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_d_finish ( 908s # OrgProjectUsefulInterface *proxy, 908s # gdouble *out_arg_d, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(d)", 908s # out_arg_d); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_d_sync: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_d_sync ( 908s # OrgProjectUsefulInterface *proxy, 908s # gdouble *out_arg_d, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodD", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(d)", 908s # out_arg_d); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_complete_single_arg_method_d: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @arg_d: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_useful_interface_complete_single_arg_method_d ( 908s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # gdouble arg_d) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(d)", 908s # arg_d)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxy: 908s # * 908s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 908s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 908s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s # /tmp/tmp9ajrkwa8/tmpvmn3jgti.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmpvmn3jgti.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.UsefulInterface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectUsefulInterface 908s # * @title: OrgProjectUsefulInterface 908s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 908s # { 908s # { 908s # -1, 908s # (gchar *) "arg_s", 908s # (gchar *) "s", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SingleArgMethodS", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-single-arg-method-s", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.UsefulInterface", 908s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-useful-interface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_useful_interface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_useful_interface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_useful_interface_method_marshal_single_arg_method_s ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectUsefulInterface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-single-arg-method-s", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_useful_interface_method_marshal_single_arg_method_s, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_s: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_useful_interface_call_single_arg_method_s ( 908s # OrgProjectUsefulInterface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodS", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_s_finish: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_s_finish ( 908s # OrgProjectUsefulInterface *proxy, 908s # gchar **out_arg_s, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(s)", 908s # out_arg_s); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_s_sync: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_s_sync ( 908s # OrgProjectUsefulInterface *proxy, 908s # gchar **out_arg_s, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodS", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(s)", 908s # out_arg_s); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_complete_single_arg_method_s: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @arg_s: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_useful_interface_complete_single_arg_method_s ( 908s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # const gchar *arg_s) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(s)", 908s # arg_s)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxy: 908s # * 908s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 908s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 908s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s # /tmp/tmp9ajrkwa8/tmp6aeo9t1z.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmp6aeo9t1z.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.UsefulInterface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectUsefulInterface 908s # * @title: OrgProjectUsefulInterface 908s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 908s # { 908s # { 908s # -1, 908s # (gchar *) "arg_o", 908s # (gchar *) "o", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SingleArgMethodO", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-single-arg-method-o", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.UsefulInterface", 908s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-useful-interface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_useful_interface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_useful_interface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_useful_interface_method_marshal_single_arg_method_o ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectUsefulInterface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-single-arg-method-o", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_useful_interface_method_marshal_single_arg_method_o, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_o: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_useful_interface_call_single_arg_method_o ( 908s # OrgProjectUsefulInterface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodO", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_o_finish: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_o_finish ( 908s # OrgProjectUsefulInterface *proxy, 908s # gchar **out_arg_o, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(o)", 908s # out_arg_o); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_o_sync: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_o_sync ( 908s # OrgProjectUsefulInterface *proxy, 908s # gchar **out_arg_o, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodO", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(o)", 908s # out_arg_o); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_complete_single_arg_method_o: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @arg_o: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_useful_interface_complete_single_arg_method_o ( 908s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # const gchar *arg_o) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(o)", 908s # arg_o)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxy: 908s # * 908s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 908s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 908s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s # /tmp/tmp9ajrkwa8/tmpdx26ygrn.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmpdx26ygrn.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.UsefulInterface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectUsefulInterface 908s # * @title: OrgProjectUsefulInterface 908s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 908s # { 908s # { 908s # -1, 908s # (gchar *) "arg_g", 908s # (gchar *) "g", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SingleArgMethodG", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-single-arg-method-g", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.UsefulInterface", 908s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-useful-interface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_useful_interface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_useful_interface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_useful_interface_method_marshal_single_arg_method_g ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectUsefulInterface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-single-arg-method-g", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_useful_interface_method_marshal_single_arg_method_g, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_g: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_useful_interface_call_single_arg_method_g ( 908s # OrgProjectUsefulInterface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodG", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_g_finish: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_g_finish ( 908s # OrgProjectUsefulInterface *proxy, 908s # gchar **out_arg_g, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(g)", 908s # out_arg_g); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_g_sync: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_g_sync ( 908s # OrgProjectUsefulInterface *proxy, 908s # gchar **out_arg_g, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodG", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(g)", 908s # out_arg_g); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_complete_single_arg_method_g: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @arg_g: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_useful_interface_complete_single_arg_method_g ( 908s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # const gchar *arg_g) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(g)", 908s # arg_g)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxy: 908s # * 908s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 908s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 908s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s # /tmp/tmp9ajrkwa8/tmpqbxz6xy0.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmpqbxz6xy0.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.UsefulInterface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectUsefulInterface 908s # * @title: OrgProjectUsefulInterface 908s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 908s # { 908s # { 908s # -1, 908s # (gchar *) "arg_h", 908s # (gchar *) "h", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SingleArgMethodH", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-single-arg-method-h", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.UsefulInterface", 908s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-useful-interface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_useful_interface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_useful_interface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_useful_interface_method_marshal_single_arg_method_h ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectUsefulInterface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-single-arg-method-h", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_useful_interface_method_marshal_single_arg_method_h, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_h: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_useful_interface_call_single_arg_method_h ( 908s # OrgProjectUsefulInterface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodH", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_h_finish: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_h_finish ( 908s # OrgProjectUsefulInterface *proxy, 908s # GVariant **out_arg_h, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(@h)", 908s # out_arg_h); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_h_sync: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_h_sync ( 908s # OrgProjectUsefulInterface *proxy, 908s # GVariant **out_arg_h, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodH", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(@h)", 908s # out_arg_h); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_complete_single_arg_method_h: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @arg_h: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_useful_interface_complete_single_arg_method_h ( 908s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # GVariant *arg_h) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(@h)", 908s # arg_h)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxy: 908s # * 908s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 908s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 908s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s # /tmp/tmp9ajrkwa8/tmpcck_nsp7.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmpcck_nsp7.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.UsefulInterface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectUsefulInterface 908s # * @title: OrgProjectUsefulInterface 908s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 908s # { 908s # { 908s # -1, 908s # (gchar *) "arg_ay", 908s # (gchar *) "ay", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SingleArgMethodAy", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-single-arg-method-ay", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.UsefulInterface", 908s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-useful-interface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_useful_interface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_useful_interface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectUsefulInterface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-single-arg-method-ay", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_useful_interface_method_marshal_single_arg_method_ay, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_ay: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_useful_interface_call_single_arg_method_ay ( 908s # OrgProjectUsefulInterface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodAy", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_ay_finish: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_ay_finish ( 908s # OrgProjectUsefulInterface *proxy, 908s # gchar **out_arg_ay, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(^ay)", 908s # out_arg_ay); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_ay_sync: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_ay_sync ( 908s # OrgProjectUsefulInterface *proxy, 908s # gchar **out_arg_ay, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodAy", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(^ay)", 908s # out_arg_ay); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_complete_single_arg_method_ay: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @arg_ay: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_useful_interface_complete_single_arg_method_ay ( 908s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # const gchar *arg_ay) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(^ay)", 908s # arg_ay)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxy: 908s # * 908s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 908s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 908s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s # /tmp/tmp9ajrkwa8/tmpmn5z927g.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmpmn5z927g.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.UsefulInterface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectUsefulInterface 908s # * @title: OrgProjectUsefulInterface 908s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 908s # { 908s # { 908s # -1, 908s # (gchar *) "arg_as", 908s # (gchar *) "as", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SingleArgMethodAs", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-single-arg-method-as", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.UsefulInterface", 908s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-useful-interface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_useful_interface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_useful_interface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_useful_interface_method_marshal_single_arg_method_as ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectUsefulInterface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-single-arg-method-as", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_useful_interface_method_marshal_single_arg_method_as, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_as: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_useful_interface_call_single_arg_method_as ( 908s # OrgProjectUsefulInterface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodAs", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_as_finish: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_as_finish ( 908s # OrgProjectUsefulInterface *proxy, 908s # gchar ***out_arg_as, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(^as)", 908s # out_arg_as); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_as_sync: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_as_sync ( 908s # OrgProjectUsefulInterface *proxy, 908s # gchar ***out_arg_as, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodAs", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(^as)", 908s # out_arg_as); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_complete_single_arg_method_as: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @arg_as: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_useful_interface_complete_single_arg_method_as ( 908s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # const gchar *const *arg_as) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(^as)", 908s # arg_as)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxy: 908s # * 908s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 908s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 908s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s # /tmp/tmp9ajrkwa8/tmphfm7mfaf.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmphfm7mfaf.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.UsefulInterface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectUsefulInterface 908s # * @title: OrgProjectUsefulInterface 908s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 908s # { 908s # { 908s # -1, 908s # (gchar *) "arg_ao", 908s # (gchar *) "ao", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SingleArgMethodAo", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-single-arg-method-ao", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.UsefulInterface", 908s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-useful-interface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_useful_interface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_useful_interface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectUsefulInterface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-single-arg-method-ao", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_useful_interface_method_marshal_single_arg_method_ao, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_ao: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_useful_interface_call_single_arg_method_ao ( 908s # OrgProjectUsefulInterface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodAo", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_ao_finish: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_ao_finish ( 908s # OrgProjectUsefulInterface *proxy, 908s # gchar ***out_arg_ao, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(^ao)", 908s # out_arg_ao); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_ao_sync: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_ao_sync ( 908s # OrgProjectUsefulInterface *proxy, 908s # gchar ***out_arg_ao, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodAo", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(^ao)", 908s # out_arg_ao); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_complete_single_arg_method_ao: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @arg_ao: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_useful_interface_complete_single_arg_method_ao ( 908s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # const gchar *const *arg_ao) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(^ao)", 908s # arg_ao)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxy: 908s # * 908s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 908s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 908s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s # /tmp/tmp9ajrkwa8/tmpxl5sw1tz.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmpxl5sw1tz.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.UsefulInterface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectUsefulInterface 908s # * @title: OrgProjectUsefulInterface 908s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 908s # { 908s # { 908s # -1, 908s # (gchar *) "arg_aay", 908s # (gchar *) "aay", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SingleArgMethodAay", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-single-arg-method-aay", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.UsefulInterface", 908s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-useful-interface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_useful_interface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_useful_interface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectUsefulInterface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-single-arg-method-aay", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_useful_interface_method_marshal_single_arg_method_aay, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_aay: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_useful_interface_call_single_arg_method_aay ( 908s # OrgProjectUsefulInterface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodAay", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_aay_finish: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_aay_finish ( 908s # OrgProjectUsefulInterface *proxy, 908s # gchar ***out_arg_aay, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(^aay)", 908s # out_arg_aay); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_aay_sync: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_aay_sync ( 908s # OrgProjectUsefulInterface *proxy, 908s # gchar ***out_arg_aay, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodAay", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(^aay)", 908s # out_arg_aay); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_complete_single_arg_method_aay: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @arg_aay: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_useful_interface_complete_single_arg_method_aay ( 908s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # const gchar *const *arg_aay) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(^aay)", 908s # arg_aay)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxy: 908s # * 908s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 908s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 908s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s # /tmp/tmp9ajrkwa8/tmpqot5u1ne.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ajrkwa8/tmpqot5u1ne.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.UsefulInterface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectUsefulInterface 908s # * @title: OrgProjectUsefulInterface 908s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 908s # { 908s # { 908s # -1, 908s # (gchar *) "arg_asv", 908s # (gchar *) "a{sv}", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SingleArgMethodAsv", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-single-arg-method-asv", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 908s # { 908s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.UsefulInterface", 908s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-useful-interface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_useful_interface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_useful_interface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectUsefulInterface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 908s # */ 908s # 908s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-single-arg-method-asv", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_useful_interface_method_marshal_single_arg_method_asv, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_asv: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_useful_interface_call_single_arg_method_asv ( 908s # OrgProjectUsefulInterface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodAsv", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_asv_finish: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_asv_finish ( 908s # OrgProjectUsefulInterface *proxy, 908s # GVariant **out_arg_asv, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(@a{sv})", 908s # out_arg_asv); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_call_single_arg_method_asv_sync: 908s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 908s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_useful_interface_call_single_arg_method_asv_sync ( 908s # OrgProjectUsefulInterface *proxy, 908s # GVariant **out_arg_asv, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SingleArgMethodAsv", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(@a{sv})", 908s # out_arg_asv); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_complete_single_arg_method_asv: 908s # * @object: A #OrgProjectUsefulInterface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @arg_asv: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_useful_interface_complete_single_arg_method_asv ( 908s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # GVariant *arg_asv) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(@a{sv})", 908s # arg_asv)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxy: 908s # * 908s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 908s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 908s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_useful_interface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_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); 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeleton: 908s # * 908s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectUsefulInterfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_useful_interface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_useful_interface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_useful_interface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 908s # { 908s # _org_project_useful_interface_skeleton_handle_method_call, 908s # _org_project_useful_interface_skeleton_handle_get_property, 908s # _org_project_useful_interface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_useful_interface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_useful_interface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_useful_interface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectUsefulInterface * 908s # org_project_useful_interface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 908s # } 908s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 908s # tmpdir: /tmp/tmpe7nyjxuu 908s # codegen: /usr/bin/gdbus-codegen 908s # /tmp/tmpe7nyjxuu/tmpkzc3ybfn.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe7nyjxuu/tmpkzc3ybfn.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # gboolean arg_an_b, 908s # guchar arg_an_y, 908s # gint16 arg_an_n, 908s # guint16 arg_an_q, 908s # gint arg_an_i, 908s # guint arg_an_u, 908s # gint64 arg_an_x, 908s # guint64 arg_an_t, 908s # gdouble arg_an_d, 908s # const gchar *arg_an_s, 908s # const gchar *arg_an_o, 908s # const gchar *arg_an_g, 908s # GVariant *arg_an_h, 908s # const gchar *arg_an_ay, 908s # const gchar *const *arg_an_as, 908s # const gchar *const *arg_an_ao, 908s # const gchar *const *arg_an_aay, 908s # GVariant *arg_an_asv, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 20); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # g_marshal_value_peek_boolean (param_values + 2), 908s # g_marshal_value_peek_uchar (param_values + 3), 908s # g_marshal_value_peek_int (param_values + 4), 908s # g_marshal_value_peek_uint (param_values + 5), 908s # g_marshal_value_peek_int (param_values + 6), 908s # g_marshal_value_peek_uint (param_values + 7), 908s # g_marshal_value_peek_int64 (param_values + 8), 908s # g_marshal_value_peek_uint64 (param_values + 9), 908s # g_marshal_value_peek_double (param_values + 10), 908s # g_marshal_value_peek_string (param_values + 11), 908s # g_marshal_value_peek_string (param_values + 12), 908s # g_marshal_value_peek_string (param_values + 13), 908s # g_marshal_value_peek_variant (param_values + 14), 908s # g_marshal_value_peek_string (param_values + 15), 908s # g_marshal_value_peek_boxed (param_values + 16), 908s # g_marshal_value_peek_boxed (param_values + 17), 908s # g_marshal_value_peek_boxed (param_values + 18), 908s # g_marshal_value_peek_variant (param_values + 19), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.CallableIface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectCallableIface 908s # * @title: OrgProjectCallableIface 908s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.CallableIface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_b", 908s # (gchar *) "b", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_y", 908s # (gchar *) "y", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_n", 908s # (gchar *) "n", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_q", 908s # (gchar *) "q", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_i", 908s # (gchar *) "i", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_u", 908s # (gchar *) "u", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_x", 908s # (gchar *) "x", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_t", 908s # (gchar *) "t", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_d", 908s # (gchar *) "d", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_s", 908s # (gchar *) "s", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_o", 908s # (gchar *) "o", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_g", 908s # (gchar *) "g", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_h", 908s # (gchar *) "h", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_ay", 908s # (gchar *) "ay", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_as", 908s # (gchar *) "as", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_ao", 908s # (gchar *) "ao", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_aay", 908s # (gchar *) "aay", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_asv", 908s # (gchar *) "a{sv}", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 908s # { 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 908s # { 908s # { 908s # -1, 908s # (gchar *) "MethodWithManyArgs", 908s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 908s # NULL, 908s # NULL 908s # }, 908s # "handle-method-with-many-args", 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_b", 908s # (gchar *) "b", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_y", 908s # (gchar *) "y", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_n", 908s # (gchar *) "n", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_q", 908s # (gchar *) "q", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_i", 908s # (gchar *) "i", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_u", 908s # (gchar *) "u", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_x", 908s # (gchar *) "x", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_t", 908s # (gchar *) "t", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_d", 908s # (gchar *) "d", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_s", 908s # (gchar *) "s", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_o", 908s # (gchar *) "o", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_g", 908s # (gchar *) "g", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_h", 908s # (gchar *) "h", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_ay", 908s # (gchar *) "ay", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_as", 908s # (gchar *) "as", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_ao", 908s # (gchar *) "ao", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_aay", 908s # (gchar *) "aay", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_asv", 908s # (gchar *) "a{sv}", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 908s # { 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 908s # { 908s # { 908s # -1, 908s # (gchar *) "SameMethodWithManyArgs", 908s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 908s # NULL, 908s # NULL 908s # }, 908s # "handle-same-method-with-many-args", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 908s # { 908s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 908s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.CallableIface", 908s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-callable-iface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_callable_iface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_callable_iface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_callable_iface_method_marshal_method_with_many_args ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _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, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # inline static void 908s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _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, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectCallableIface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 908s # */ 908s # 908s # /** 908s # * OrgProjectCallableIfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 908s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.CallableIface. 908s # */ 908s # 908s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectCallableIface::handle-method-with-many-args: 908s # * @object: A #OrgProjectCallableIface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * @arg_an_b: Argument passed by remote caller. 908s # * @arg_an_y: Argument passed by remote caller. 908s # * @arg_an_n: Argument passed by remote caller. 908s # * @arg_an_q: Argument passed by remote caller. 908s # * @arg_an_i: Argument passed by remote caller. 908s # * @arg_an_u: Argument passed by remote caller. 908s # * @arg_an_x: Argument passed by remote caller. 908s # * @arg_an_t: Argument passed by remote caller. 908s # * @arg_an_d: Argument passed by remote caller. 908s # * @arg_an_s: Argument passed by remote caller. 908s # * @arg_an_o: Argument passed by remote caller. 908s # * @arg_an_g: Argument passed by remote caller. 908s # * @arg_an_h: Argument passed by remote caller. 908s # * @arg_an_ay: Argument passed by remote caller. 908s # * @arg_an_as: Argument passed by remote caller. 908s # * @arg_an_ao: Argument passed by remote caller. 908s # * @arg_an_aay: Argument passed by remote caller. 908s # * @arg_an_asv: Argument passed by remote caller. 908s # * 908s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-method-with-many-args", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_callable_iface_method_marshal_method_with_many_args, 908s # G_TYPE_BOOLEAN, 908s # 19, 908s # 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); 908s # 908s # /** 908s # * OrgProjectCallableIface::handle-same-method-with-many-args: 908s # * @object: A #OrgProjectCallableIface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * @arg_an_b: Argument passed by remote caller. 908s # * @arg_an_y: Argument passed by remote caller. 908s # * @arg_an_n: Argument passed by remote caller. 908s # * @arg_an_q: Argument passed by remote caller. 908s # * @arg_an_i: Argument passed by remote caller. 908s # * @arg_an_u: Argument passed by remote caller. 908s # * @arg_an_x: Argument passed by remote caller. 908s # * @arg_an_t: Argument passed by remote caller. 908s # * @arg_an_d: Argument passed by remote caller. 908s # * @arg_an_s: Argument passed by remote caller. 908s # * @arg_an_o: Argument passed by remote caller. 908s # * @arg_an_g: Argument passed by remote caller. 908s # * @arg_an_h: Argument passed by remote caller. 908s # * @arg_an_ay: Argument passed by remote caller. 908s # * @arg_an_as: Argument passed by remote caller. 908s # * @arg_an_ao: Argument passed by remote caller. 908s # * @arg_an_aay: Argument passed by remote caller. 908s # * @arg_an_asv: Argument passed by remote caller. 908s # * 908s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-same-method-with-many-args", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_callable_iface_method_marshal_same_method_with_many_args, 908s # G_TYPE_BOOLEAN, 908s # 19, 908s # 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); 908s # 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_call_method_with_many_args: 908s # * @proxy: A #OrgProjectCallableIfaceProxy. 908s # * @arg_an_b: Argument to pass with the method invocation. 908s # * @arg_an_y: Argument to pass with the method invocation. 908s # * @arg_an_n: Argument to pass with the method invocation. 908s # * @arg_an_q: Argument to pass with the method invocation. 908s # * @arg_an_i: Argument to pass with the method invocation. 908s # * @arg_an_u: Argument to pass with the method invocation. 908s # * @arg_an_x: Argument to pass with the method invocation. 908s # * @arg_an_t: Argument to pass with the method invocation. 908s # * @arg_an_d: Argument to pass with the method invocation. 908s # * @arg_an_s: Argument to pass with the method invocation. 908s # * @arg_an_o: Argument to pass with the method invocation. 908s # * @arg_an_g: Argument to pass with the method invocation. 908s # * @arg_an_h: Argument to pass with the method invocation. 908s # * @arg_an_ay: Argument to pass with the method invocation. 908s # * @arg_an_as: Argument to pass with the method invocation. 908s # * @arg_an_ao: Argument to pass with the method invocation. 908s # * @arg_an_aay: Argument to pass with the method invocation. 908s # * @arg_an_asv: Argument to pass with the method invocation. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 908s # * 908s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_callable_iface_call_method_with_many_args ( 908s # OrgProjectCallableIface *proxy, 908s # gboolean arg_an_b, 908s # guchar arg_an_y, 908s # gint16 arg_an_n, 908s # guint16 arg_an_q, 908s # gint arg_an_i, 908s # guint arg_an_u, 908s # gint64 arg_an_x, 908s # guint64 arg_an_t, 908s # gdouble arg_an_d, 908s # const gchar *arg_an_s, 908s # const gchar *arg_an_o, 908s # const gchar *arg_an_g, 908s # GVariant *arg_an_h, 908s # const gchar *arg_an_ay, 908s # const gchar *const *arg_an_as, 908s # const gchar *const *arg_an_ao, 908s # const gchar *const *arg_an_aay, 908s # GVariant *arg_an_asv, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "MethodWithManyArgs", 908s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 908s # arg_an_b, 908s # arg_an_y, 908s # arg_an_n, 908s # arg_an_q, 908s # arg_an_i, 908s # arg_an_u, 908s # arg_an_x, 908s # arg_an_t, 908s # arg_an_d, 908s # arg_an_s, 908s # arg_an_o, 908s # arg_an_g, 908s # arg_an_h, 908s # arg_an_ay, 908s # arg_an_as, 908s # arg_an_ao, 908s # arg_an_aay, 908s # arg_an_asv), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_call_method_with_many_args_finish: 908s # * @proxy: A #OrgProjectCallableIfaceProxy. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_callable_iface_call_method_with_many_args_finish ( 908s # OrgProjectCallableIface *proxy, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "()"); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_call_method_with_many_args_sync: 908s # * @proxy: A #OrgProjectCallableIfaceProxy. 908s # * @arg_an_b: Argument to pass with the method invocation. 908s # * @arg_an_y: Argument to pass with the method invocation. 908s # * @arg_an_n: Argument to pass with the method invocation. 908s # * @arg_an_q: Argument to pass with the method invocation. 908s # * @arg_an_i: Argument to pass with the method invocation. 908s # * @arg_an_u: Argument to pass with the method invocation. 908s # * @arg_an_x: Argument to pass with the method invocation. 908s # * @arg_an_t: Argument to pass with the method invocation. 908s # * @arg_an_d: Argument to pass with the method invocation. 908s # * @arg_an_s: Argument to pass with the method invocation. 908s # * @arg_an_o: Argument to pass with the method invocation. 908s # * @arg_an_g: Argument to pass with the method invocation. 908s # * @arg_an_h: Argument to pass with the method invocation. 908s # * @arg_an_ay: Argument to pass with the method invocation. 908s # * @arg_an_as: Argument to pass with the method invocation. 908s # * @arg_an_ao: Argument to pass with the method invocation. 908s # * @arg_an_aay: Argument to pass with the method invocation. 908s # * @arg_an_asv: Argument to pass with the method invocation. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_callable_iface_call_method_with_many_args_sync ( 908s # OrgProjectCallableIface *proxy, 908s # gboolean arg_an_b, 908s # guchar arg_an_y, 908s # gint16 arg_an_n, 908s # guint16 arg_an_q, 908s # gint arg_an_i, 908s # guint arg_an_u, 908s # gint64 arg_an_x, 908s # guint64 arg_an_t, 908s # gdouble arg_an_d, 908s # const gchar *arg_an_s, 908s # const gchar *arg_an_o, 908s # const gchar *arg_an_g, 908s # GVariant *arg_an_h, 908s # const gchar *arg_an_ay, 908s # const gchar *const *arg_an_as, 908s # const gchar *const *arg_an_ao, 908s # const gchar *const *arg_an_aay, 908s # GVariant *arg_an_asv, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "MethodWithManyArgs", 908s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 908s # arg_an_b, 908s # arg_an_y, 908s # arg_an_n, 908s # arg_an_q, 908s # arg_an_i, 908s # arg_an_u, 908s # arg_an_x, 908s # arg_an_t, 908s # arg_an_d, 908s # arg_an_s, 908s # arg_an_o, 908s # arg_an_g, 908s # arg_an_h, 908s # arg_an_ay, 908s # arg_an_as, 908s # arg_an_ao, 908s # arg_an_aay, 908s # arg_an_asv), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "()"); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_call_same_method_with_many_args: 908s # * @proxy: A #OrgProjectCallableIfaceProxy. 908s # * @arg_an_b: Argument to pass with the method invocation. 908s # * @arg_an_y: Argument to pass with the method invocation. 908s # * @arg_an_n: Argument to pass with the method invocation. 908s # * @arg_an_q: Argument to pass with the method invocation. 908s # * @arg_an_i: Argument to pass with the method invocation. 908s # * @arg_an_u: Argument to pass with the method invocation. 908s # * @arg_an_x: Argument to pass with the method invocation. 908s # * @arg_an_t: Argument to pass with the method invocation. 908s # * @arg_an_d: Argument to pass with the method invocation. 908s # * @arg_an_s: Argument to pass with the method invocation. 908s # * @arg_an_o: Argument to pass with the method invocation. 908s # * @arg_an_g: Argument to pass with the method invocation. 908s # * @arg_an_h: Argument to pass with the method invocation. 908s # * @arg_an_ay: Argument to pass with the method invocation. 908s # * @arg_an_as: Argument to pass with the method invocation. 908s # * @arg_an_ao: Argument to pass with the method invocation. 908s # * @arg_an_aay: Argument to pass with the method invocation. 908s # * @arg_an_asv: Argument to pass with the method invocation. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 908s # * 908s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_callable_iface_call_same_method_with_many_args ( 908s # OrgProjectCallableIface *proxy, 908s # gboolean arg_an_b, 908s # guchar arg_an_y, 908s # gint16 arg_an_n, 908s # guint16 arg_an_q, 908s # gint arg_an_i, 908s # guint arg_an_u, 908s # gint64 arg_an_x, 908s # guint64 arg_an_t, 908s # gdouble arg_an_d, 908s # const gchar *arg_an_s, 908s # const gchar *arg_an_o, 908s # const gchar *arg_an_g, 908s # GVariant *arg_an_h, 908s # const gchar *arg_an_ay, 908s # const gchar *const *arg_an_as, 908s # const gchar *const *arg_an_ao, 908s # const gchar *const *arg_an_aay, 908s # GVariant *arg_an_asv, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "SameMethodWithManyArgs", 908s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 908s # arg_an_b, 908s # arg_an_y, 908s # arg_an_n, 908s # arg_an_q, 908s # arg_an_i, 908s # arg_an_u, 908s # arg_an_x, 908s # arg_an_t, 908s # arg_an_d, 908s # arg_an_s, 908s # arg_an_o, 908s # arg_an_g, 908s # arg_an_h, 908s # arg_an_ay, 908s # arg_an_as, 908s # arg_an_ao, 908s # arg_an_aay, 908s # arg_an_asv), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_call_same_method_with_many_args_finish: 908s # * @proxy: A #OrgProjectCallableIfaceProxy. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_callable_iface_call_same_method_with_many_args_finish ( 908s # OrgProjectCallableIface *proxy, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "()"); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_call_same_method_with_many_args_sync: 908s # * @proxy: A #OrgProjectCallableIfaceProxy. 908s # * @arg_an_b: Argument to pass with the method invocation. 908s # * @arg_an_y: Argument to pass with the method invocation. 908s # * @arg_an_n: Argument to pass with the method invocation. 908s # * @arg_an_q: Argument to pass with the method invocation. 908s # * @arg_an_i: Argument to pass with the method invocation. 908s # * @arg_an_u: Argument to pass with the method invocation. 908s # * @arg_an_x: Argument to pass with the method invocation. 908s # * @arg_an_t: Argument to pass with the method invocation. 908s # * @arg_an_d: Argument to pass with the method invocation. 908s # * @arg_an_s: Argument to pass with the method invocation. 908s # * @arg_an_o: Argument to pass with the method invocation. 908s # * @arg_an_g: Argument to pass with the method invocation. 908s # * @arg_an_h: Argument to pass with the method invocation. 908s # * @arg_an_ay: Argument to pass with the method invocation. 908s # * @arg_an_as: Argument to pass with the method invocation. 908s # * @arg_an_ao: Argument to pass with the method invocation. 908s # * @arg_an_aay: Argument to pass with the method invocation. 908s # * @arg_an_asv: Argument to pass with the method invocation. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_callable_iface_call_same_method_with_many_args_sync ( 908s # OrgProjectCallableIface *proxy, 908s # gboolean arg_an_b, 908s # guchar arg_an_y, 908s # gint16 arg_an_n, 908s # guint16 arg_an_q, 908s # gint arg_an_i, 908s # guint arg_an_u, 908s # gint64 arg_an_x, 908s # guint64 arg_an_t, 908s # gdouble arg_an_d, 908s # const gchar *arg_an_s, 908s # const gchar *arg_an_o, 908s # const gchar *arg_an_g, 908s # GVariant *arg_an_h, 908s # const gchar *arg_an_ay, 908s # const gchar *const *arg_an_as, 908s # const gchar *const *arg_an_ao, 908s # const gchar *const *arg_an_aay, 908s # GVariant *arg_an_asv, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "SameMethodWithManyArgs", 908s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 908s # arg_an_b, 908s # arg_an_y, 908s # arg_an_n, 908s # arg_an_q, 908s # arg_an_i, 908s # arg_an_u, 908s # arg_an_x, 908s # arg_an_t, 908s # arg_an_d, 908s # arg_an_s, 908s # arg_an_o, 908s # arg_an_g, 908s # arg_an_h, 908s # arg_an_ay, 908s # arg_an_as, 908s # arg_an_ao, 908s # arg_an_aay, 908s # arg_an_asv), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "()"); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_complete_method_with_many_args: 908s # * @object: A #OrgProjectCallableIface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_callable_iface_complete_method_with_many_args ( 908s # OrgProjectCallableIface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("()")); 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_complete_same_method_with_many_args: 908s # * @object: A #OrgProjectCallableIface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_callable_iface_complete_same_method_with_many_args ( 908s # OrgProjectCallableIface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("()")); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectCallableIfaceProxy: 908s # * 908s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectCallableIfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectCallableIfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectCallableIfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_callable_iface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 908s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 908s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_callable_iface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # 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); 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectCallableIface * 908s # org_project_callable_iface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_CALLABLE_IFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectCallableIface * 908s # org_project_callable_iface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_CALLABLE_IFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_callable_iface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_callable_iface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # 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); 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectCallableIface * 908s # org_project_callable_iface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_CALLABLE_IFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectCallableIface * 908s # org_project_callable_iface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_CALLABLE_IFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectCallableIfaceSkeleton: 908s # * 908s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectCallableIfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectCallableIfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectCallableIfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_callable_iface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_callable_iface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_callable_iface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 908s # { 908s # _org_project_callable_iface_skeleton_handle_method_call, 908s # _org_project_callable_iface_skeleton_handle_get_property, 908s # _org_project_callable_iface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_callable_iface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_callable_iface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectCallableIface * 908s # org_project_callable_iface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.OtherCallableIface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectOtherCallableIface 908s # * @title: OrgProjectOtherCallableIface 908s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_b", 908s # (gchar *) "b", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_y", 908s # (gchar *) "y", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_n", 908s # (gchar *) "n", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_q", 908s # (gchar *) "q", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_i", 908s # (gchar *) "i", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_u", 908s # (gchar *) "u", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_x", 908s # (gchar *) "x", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_t", 908s # (gchar *) "t", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_d", 908s # (gchar *) "d", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_s", 908s # (gchar *) "s", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_o", 908s # (gchar *) "o", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_g", 908s # (gchar *) "g", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_h", 908s # (gchar *) "h", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_ay", 908s # (gchar *) "ay", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_as", 908s # (gchar *) "as", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_ao", 908s # (gchar *) "ao", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_aay", 908s # (gchar *) "aay", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_asv", 908s # (gchar *) "a{sv}", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 908s # { 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 908s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 908s # { 908s # { 908s # -1, 908s # (gchar *) "MethodWithManyArgs", 908s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 908s # NULL, 908s # NULL 908s # }, 908s # "handle-method-with-many-args", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 908s # { 908s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.OtherCallableIface", 908s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-other-callable-iface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_other_callable_iface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_other_callable_iface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_other_callable_iface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _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, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectOtherCallableIface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 908s # */ 908s # 908s # /** 908s # * OrgProjectOtherCallableIfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 908s # */ 908s # 908s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 908s # * @object: A #OrgProjectOtherCallableIface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * @arg_an_b: Argument passed by remote caller. 908s # * @arg_an_y: Argument passed by remote caller. 908s # * @arg_an_n: Argument passed by remote caller. 908s # * @arg_an_q: Argument passed by remote caller. 908s # * @arg_an_i: Argument passed by remote caller. 908s # * @arg_an_u: Argument passed by remote caller. 908s # * @arg_an_x: Argument passed by remote caller. 908s # * @arg_an_t: Argument passed by remote caller. 908s # * @arg_an_d: Argument passed by remote caller. 908s # * @arg_an_s: Argument passed by remote caller. 908s # * @arg_an_o: Argument passed by remote caller. 908s # * @arg_an_g: Argument passed by remote caller. 908s # * @arg_an_h: Argument passed by remote caller. 908s # * @arg_an_ay: Argument passed by remote caller. 908s # * @arg_an_as: Argument passed by remote caller. 908s # * @arg_an_ao: Argument passed by remote caller. 908s # * @arg_an_aay: Argument passed by remote caller. 908s # * @arg_an_asv: Argument passed by remote caller. 908s # * 908s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-method-with-many-args", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_other_callable_iface_method_marshal_method_with_many_args, 908s # G_TYPE_BOOLEAN, 908s # 19, 908s # 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); 908s # 908s # } 908s # 908s # /** 908s # * org_project_other_callable_iface_call_method_with_many_args: 908s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 908s # * @arg_an_b: Argument to pass with the method invocation. 908s # * @arg_an_y: Argument to pass with the method invocation. 908s # * @arg_an_n: Argument to pass with the method invocation. 908s # * @arg_an_q: Argument to pass with the method invocation. 908s # * @arg_an_i: Argument to pass with the method invocation. 908s # * @arg_an_u: Argument to pass with the method invocation. 908s # * @arg_an_x: Argument to pass with the method invocation. 908s # * @arg_an_t: Argument to pass with the method invocation. 908s # * @arg_an_d: Argument to pass with the method invocation. 908s # * @arg_an_s: Argument to pass with the method invocation. 908s # * @arg_an_o: Argument to pass with the method invocation. 908s # * @arg_an_g: Argument to pass with the method invocation. 908s # * @arg_an_h: Argument to pass with the method invocation. 908s # * @arg_an_ay: Argument to pass with the method invocation. 908s # * @arg_an_as: Argument to pass with the method invocation. 908s # * @arg_an_ao: Argument to pass with the method invocation. 908s # * @arg_an_aay: Argument to pass with the method invocation. 908s # * @arg_an_asv: Argument to pass with the method invocation. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 908s # * 908s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_other_callable_iface_call_method_with_many_args ( 908s # OrgProjectOtherCallableIface *proxy, 908s # gboolean arg_an_b, 908s # guchar arg_an_y, 908s # gint16 arg_an_n, 908s # guint16 arg_an_q, 908s # gint arg_an_i, 908s # guint arg_an_u, 908s # gint64 arg_an_x, 908s # guint64 arg_an_t, 908s # gdouble arg_an_d, 908s # const gchar *arg_an_s, 908s # const gchar *arg_an_o, 908s # const gchar *arg_an_g, 908s # GVariant *arg_an_h, 908s # const gchar *arg_an_ay, 908s # const gchar *const *arg_an_as, 908s # const gchar *const *arg_an_ao, 908s # const gchar *const *arg_an_aay, 908s # GVariant *arg_an_asv, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "MethodWithManyArgs", 908s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 908s # arg_an_b, 908s # arg_an_y, 908s # arg_an_n, 908s # arg_an_q, 908s # arg_an_i, 908s # arg_an_u, 908s # arg_an_x, 908s # arg_an_t, 908s # arg_an_d, 908s # arg_an_s, 908s # arg_an_o, 908s # arg_an_g, 908s # arg_an_h, 908s # arg_an_ay, 908s # arg_an_as, 908s # arg_an_ao, 908s # arg_an_aay, 908s # arg_an_asv), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_other_callable_iface_call_method_with_many_args_finish: 908s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_other_callable_iface_call_method_with_many_args_finish ( 908s # OrgProjectOtherCallableIface *proxy, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "()"); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_other_callable_iface_call_method_with_many_args_sync: 908s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 908s # * @arg_an_b: Argument to pass with the method invocation. 908s # * @arg_an_y: Argument to pass with the method invocation. 908s # * @arg_an_n: Argument to pass with the method invocation. 908s # * @arg_an_q: Argument to pass with the method invocation. 908s # * @arg_an_i: Argument to pass with the method invocation. 908s # * @arg_an_u: Argument to pass with the method invocation. 908s # * @arg_an_x: Argument to pass with the method invocation. 908s # * @arg_an_t: Argument to pass with the method invocation. 908s # * @arg_an_d: Argument to pass with the method invocation. 908s # * @arg_an_s: Argument to pass with the method invocation. 908s # * @arg_an_o: Argument to pass with the method invocation. 908s # * @arg_an_g: Argument to pass with the method invocation. 908s # * @arg_an_h: Argument to pass with the method invocation. 908s # * @arg_an_ay: Argument to pass with the method invocation. 908s # * @arg_an_as: Argument to pass with the method invocation. 908s # * @arg_an_ao: Argument to pass with the method invocation. 908s # * @arg_an_aay: Argument to pass with the method invocation. 908s # * @arg_an_asv: Argument to pass with the method invocation. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_other_callable_iface_call_method_with_many_args_sync ( 908s # OrgProjectOtherCallableIface *proxy, 908s # gboolean arg_an_b, 908s # guchar arg_an_y, 908s # gint16 arg_an_n, 908s # guint16 arg_an_q, 908s # gint arg_an_i, 908s # guint arg_an_u, 908s # gint64 arg_an_x, 908s # guint64 arg_an_t, 908s # gdouble arg_an_d, 908s # const gchar *arg_an_s, 908s # const gchar *arg_an_o, 908s # const gchar *arg_an_g, 908s # GVariant *arg_an_h, 908s # const gchar *arg_an_ay, 908s # const gchar *const *arg_an_as, 908s # const gchar *const *arg_an_ao, 908s # const gchar *const *arg_an_aay, 908s # GVariant *arg_an_asv, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "MethodWithManyArgs", 908s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 908s # arg_an_b, 908s # arg_an_y, 908s # arg_an_n, 908s # arg_an_q, 908s # arg_an_i, 908s # arg_an_u, 908s # arg_an_x, 908s # arg_an_t, 908s # arg_an_d, 908s # arg_an_s, 908s # arg_an_o, 908s # arg_an_g, 908s # arg_an_h, 908s # arg_an_ay, 908s # arg_an_as, 908s # arg_an_ao, 908s # arg_an_aay, 908s # arg_an_asv), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "()"); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_other_callable_iface_complete_method_with_many_args: 908s # * @object: A #OrgProjectOtherCallableIface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_other_callable_iface_complete_method_with_many_args ( 908s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("()")); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectOtherCallableIfaceProxy: 908s # * 908s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectOtherCallableIfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectOtherCallableIfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_other_callable_iface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 908s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 908s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_other_callable_iface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_other_callable_iface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # 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); 908s # } 908s # 908s # /** 908s # * org_project_other_callable_iface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectOtherCallableIface * 908s # org_project_other_callable_iface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_other_callable_iface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectOtherCallableIface * 908s # org_project_other_callable_iface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_other_callable_iface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_other_callable_iface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # 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); 908s # } 908s # 908s # /** 908s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectOtherCallableIface * 908s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectOtherCallableIface * 908s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectOtherCallableIfaceSkeleton: 908s # * 908s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectOtherCallableIfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_other_callable_iface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_other_callable_iface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_other_callable_iface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 908s # { 908s # _org_project_other_callable_iface_skeleton_handle_method_call, 908s # _org_project_other_callable_iface_skeleton_handle_get_property, 908s # _org_project_other_callable_iface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_other_callable_iface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_other_callable_iface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectOtherCallableIface * 908s # org_project_other_callable_iface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 908s # } 908s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 908s # tmpdir: /tmp/tmpaqa8dxvw 908s # codegen: /usr/bin/gdbus-codegen 908s # /tmp/tmpaqa8dxvw/tmpyn39_3gf.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaqa8dxvw/tmpyn39_3gf.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (void *data1, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 2); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface org.project.CallableIface 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:OrgProjectCallableIface 908s # * @title: OrgProjectCallableIface 908s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 908s # * 908s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for org.project.CallableIface ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_b", 908s # (gchar *) "b", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_y", 908s # (gchar *) "y", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_n", 908s # (gchar *) "n", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_q", 908s # (gchar *) "q", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_i", 908s # (gchar *) "i", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_u", 908s # (gchar *) "u", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_x", 908s # (gchar *) "x", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_t", 908s # (gchar *) "t", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_d", 908s # (gchar *) "d", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_s", 908s # (gchar *) "s", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_o", 908s # (gchar *) "o", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_g", 908s # (gchar *) "g", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_h", 908s # (gchar *) "h", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_ay", 908s # (gchar *) "ay", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_as", 908s # (gchar *) "as", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_ao", 908s # (gchar *) "ao", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_aay", 908s # (gchar *) "aay", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 908s # { 908s # { 908s # -1, 908s # (gchar *) "an_asv", 908s # (gchar *) "a{sv}", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 908s # { 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 908s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 908s # { 908s # { 908s # -1, 908s # (gchar *) "MethodWithManyArgs", 908s # NULL, 908s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-method-with-many-args", 908s # FALSE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 908s # { 908s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "org.project.CallableIface", 908s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "org-project-callable-iface", 908s # }; 908s # 908s # 908s # /** 908s # * org_project_callable_iface_interface_info: 908s # * 908s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # org_project_callable_iface_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # org_project_callable_iface_method_marshal_method_with_many_args ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * OrgProjectCallableIface: 908s # * 908s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 908s # */ 908s # 908s # /** 908s # * OrgProjectCallableIfaceIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 908s # * 908s # * Virtual table for the D-Bus interface org.project.CallableIface. 908s # */ 908s # 908s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 908s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 908s # 908s # static void 908s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * OrgProjectCallableIface::handle-method-with-many-args: 908s # * @object: A #OrgProjectCallableIface. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * 908s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-method-with-many-args", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # org_project_callable_iface_method_marshal_method_with_many_args, 908s # G_TYPE_BOOLEAN, 908s # 1, 908s # G_TYPE_DBUS_METHOD_INVOCATION); 908s # 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_call_method_with_many_args: 908s # * @proxy: A #OrgProjectCallableIfaceProxy. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 908s # * 908s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # org_project_callable_iface_call_method_with_many_args ( 908s # OrgProjectCallableIface *proxy, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 908s # "MethodWithManyArgs", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_call_method_with_many_args_finish: 908s # * @proxy: A #OrgProjectCallableIfaceProxy. 908s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 908s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 908s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 908s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_callable_iface_call_method_with_many_args_finish ( 908s # OrgProjectCallableIface *proxy, 908s # gboolean *out_an_b, 908s # guchar *out_an_y, 908s # gint16 *out_an_n, 908s # guint16 *out_an_q, 908s # gint *out_an_i, 908s # guint *out_an_u, 908s # gint64 *out_an_x, 908s # guint64 *out_an_t, 908s # gdouble *out_an_d, 908s # gchar **out_an_s, 908s # gchar **out_an_o, 908s # gchar **out_an_g, 908s # GVariant **out_an_h, 908s # gchar **out_an_ay, 908s # gchar ***out_an_as, 908s # gchar ***out_an_ao, 908s # gchar ***out_an_aay, 908s # GVariant **out_an_asv, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 908s # out_an_b, 908s # out_an_y, 908s # out_an_n, 908s # out_an_q, 908s # out_an_i, 908s # out_an_u, 908s # out_an_x, 908s # out_an_t, 908s # out_an_d, 908s # out_an_s, 908s # out_an_o, 908s # out_an_g, 908s # out_an_h, 908s # out_an_ay, 908s # out_an_as, 908s # out_an_ao, 908s # out_an_aay, 908s # out_an_asv); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_call_method_with_many_args_sync: 908s # * @proxy: A #OrgProjectCallableIfaceProxy. 908s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 908s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 908s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 908s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # org_project_callable_iface_call_method_with_many_args_sync ( 908s # OrgProjectCallableIface *proxy, 908s # gboolean *out_an_b, 908s # guchar *out_an_y, 908s # gint16 *out_an_n, 908s # guint16 *out_an_q, 908s # gint *out_an_i, 908s # guint *out_an_u, 908s # gint64 *out_an_x, 908s # guint64 *out_an_t, 908s # gdouble *out_an_d, 908s # gchar **out_an_s, 908s # gchar **out_an_o, 908s # gchar **out_an_g, 908s # GVariant **out_an_h, 908s # gchar **out_an_ay, 908s # gchar ***out_an_as, 908s # gchar ***out_an_ao, 908s # gchar ***out_an_aay, 908s # GVariant **out_an_asv, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 908s # "MethodWithManyArgs", 908s # g_variant_new ("()"), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 908s # out_an_b, 908s # out_an_y, 908s # out_an_n, 908s # out_an_q, 908s # out_an_i, 908s # out_an_u, 908s # out_an_x, 908s # out_an_t, 908s # out_an_d, 908s # out_an_s, 908s # out_an_o, 908s # out_an_g, 908s # out_an_h, 908s # out_an_ay, 908s # out_an_as, 908s # out_an_ao, 908s # out_an_aay, 908s # out_an_asv); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_complete_method_with_many_args: 908s # * @object: A #OrgProjectCallableIface. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @an_b: Parameter to return. 908s # * @an_y: Parameter to return. 908s # * @an_n: Parameter to return. 908s # * @an_q: Parameter to return. 908s # * @an_i: Parameter to return. 908s # * @an_u: Parameter to return. 908s # * @an_x: Parameter to return. 908s # * @an_t: Parameter to return. 908s # * @an_d: Parameter to return. 908s # * @an_s: Parameter to return. 908s # * @an_o: Parameter to return. 908s # * @an_g: Parameter to return. 908s # * @an_h: Parameter to return. 908s # * @an_ay: Parameter to return. 908s # * @an_as: Parameter to return. 908s # * @an_ao: Parameter to return. 908s # * @an_aay: Parameter to return. 908s # * @an_asv: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # org_project_callable_iface_complete_method_with_many_args ( 908s # OrgProjectCallableIface *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # gboolean an_b, 908s # guchar an_y, 908s # gint16 an_n, 908s # guint16 an_q, 908s # gint an_i, 908s # guint an_u, 908s # gint64 an_x, 908s # guint64 an_t, 908s # gdouble an_d, 908s # const gchar *an_s, 908s # const gchar *an_o, 908s # const gchar *an_g, 908s # GVariant *an_h, 908s # const gchar *an_ay, 908s # const gchar *const *an_as, 908s # const gchar *const *an_ao, 908s # const gchar *const *an_aay, 908s # GVariant *an_asv) 908s # { 908s # g_dbus_method_invocation_return_value (invocation, 908s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 908s # an_b, 908s # an_y, 908s # an_n, 908s # an_q, 908s # an_i, 908s # an_u, 908s # an_x, 908s # an_t, 908s # an_d, 908s # an_s, 908s # an_o, 908s # an_g, 908s # an_h, 908s # an_ay, 908s # an_as, 908s # an_ao, 908s # an_aay, 908s # an_asv)); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectCallableIfaceProxy: 908s # * 908s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectCallableIfaceProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectCallableIfaceProxy. 908s # */ 908s # 908s # struct _OrgProjectCallableIfaceProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_callable_iface_proxy_finalize (GObject *object) 908s # { 908s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 908s # } 908s # 908s # static void 908s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 908s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 908s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 908s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_callable_iface_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # 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); 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectCallableIface * 908s # org_project_callable_iface_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_CALLABLE_IFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectCallableIface * 908s # org_project_callable_iface_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_CALLABLE_IFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * org_project_callable_iface_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # org_project_callable_iface_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # 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); 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectCallableIface * 908s # org_project_callable_iface_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return ORG_PROJECT_CALLABLE_IFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # OrgProjectCallableIface * 908s # org_project_callable_iface_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return ORG_PROJECT_CALLABLE_IFACE (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * OrgProjectCallableIfaceSkeleton: 908s # * 908s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * OrgProjectCallableIfaceSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #OrgProjectCallableIfaceSkeleton. 908s # */ 908s # 908s # struct _OrgProjectCallableIfaceSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _org_project_callable_iface_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _org_project_callable_iface_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _org_project_callable_iface_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 908s # { 908s # _org_project_callable_iface_skeleton_handle_method_call, 908s # _org_project_callable_iface_skeleton_handle_get_property, 908s # _org_project_callable_iface_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return org_project_callable_iface_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # org_project_callable_iface_skeleton_finalize (GObject *object) 908s # { 908s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * org_project_callable_iface_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 908s # * 908s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 908s # */ 908s # OrgProjectCallableIface * 908s # org_project_callable_iface_skeleton_new (void) 908s # { 908s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 908s # } 908s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 908s # tmpdir: /tmp/tmpddt59lur 908s # codegen: /usr/bin/gdbus-codegen 908s # /tmp/tmpddt59lur/tmp3gbbcnyc.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpddt59lur/tmp3gbbcnyc.xml', '--output', '-', '--body'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: /* 908s # * This file is generated by gdbus-codegen, do not modify it. 908s # * 908s # * The license of this code is the same as for the D-Bus interface description 908s # * it was derived from. Note that it links to GLib, so must comply with the 908s # * LGPL linking clauses. 908s # */ 908s # 908s # #ifdef HAVE_CONFIG_H 908s # # include "config.h" 908s # #endif 908s # 908s # #include 908s # #ifdef G_OS_UNIX 908s # # include 908s # #endif 908s # 908s # #ifdef G_ENABLE_DEBUG 908s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 908s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 908s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 908s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 908s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 908s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 908s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 908s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 908s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 908s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 908s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 908s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 908s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 908s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 908s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 908s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 908s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 908s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 908s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 908s # #else /* !G_ENABLE_DEBUG */ 908s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 908s # * Do not access GValues directly in your code. Instead, use the 908s # * g_value_get_*() functions 908s # */ 908s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 908s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 908s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 908s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 908s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 908s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 908s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 908s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 908s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 908s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 908s # #endif /* !G_ENABLE_DEBUG */ 908s # 908s # typedef struct 908s # { 908s # GDBusArgInfo parent_struct; 908s # gboolean use_gvariant; 908s # } _ExtendedGDBusArgInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusMethodInfo parent_struct; 908s # const gchar *signal_name; 908s # gboolean pass_fdlist; 908s # } _ExtendedGDBusMethodInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusSignalInfo parent_struct; 908s # const gchar *signal_name; 908s # } _ExtendedGDBusSignalInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusPropertyInfo parent_struct; 908s # const gchar *hyphen_name; 908s # guint use_gvariant : 1; 908s # guint emits_changed_signal : 1; 908s # } _ExtendedGDBusPropertyInfo; 908s # 908s # typedef struct 908s # { 908s # GDBusInterfaceInfo parent_struct; 908s # const gchar *hyphen_name; 908s # } _ExtendedGDBusInterfaceInfo; 908s # 908s # typedef struct 908s # { 908s # const _ExtendedGDBusPropertyInfo *info; 908s # guint prop_id; 908s # GValue orig_value; /* the value before the change */ 908s # } ChangedProperty; 908s # 908s # static void 908s # _changed_property_free (ChangedProperty *data) 908s # { 908s # g_value_unset (&data->orig_value); 908s # g_free (data); 908s # } 908s # 908s # static gboolean 908s # _g_strv_equal0 (gchar **a, gchar **b) 908s # { 908s # gboolean ret = FALSE; 908s # guint n; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # if (g_strv_length (a) != g_strv_length (b)) 908s # goto out; 908s # for (n = 0; a[n] != NULL; n++) 908s # if (g_strcmp0 (a[n], b[n]) != 0) 908s # goto out; 908s # ret = TRUE; 908s # out: 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _g_variant_equal0 (GVariant *a, GVariant *b) 908s # { 908s # gboolean ret = FALSE; 908s # if (a == NULL && b == NULL) 908s # { 908s # ret = TRUE; 908s # goto out; 908s # } 908s # if (a == NULL || b == NULL) 908s # goto out; 908s # ret = g_variant_equal (a, b); 908s # out: 908s # return ret; 908s # } 908s # 908s # G_GNUC_UNUSED static gboolean 908s # _g_value_equal (const GValue *a, const GValue *b) 908s # { 908s # gboolean ret = FALSE; 908s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 908s # switch (G_VALUE_TYPE (a)) 908s # { 908s # case G_TYPE_BOOLEAN: 908s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 908s # break; 908s # case G_TYPE_UCHAR: 908s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 908s # break; 908s # case G_TYPE_INT: 908s # ret = (g_value_get_int (a) == g_value_get_int (b)); 908s # break; 908s # case G_TYPE_UINT: 908s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 908s # break; 908s # case G_TYPE_INT64: 908s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 908s # break; 908s # case G_TYPE_UINT64: 908s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 908s # break; 908s # case G_TYPE_DOUBLE: 908s # { 908s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 908s # gdouble da = g_value_get_double (a); 908s # gdouble db = g_value_get_double (b); 908s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 908s # } 908s # break; 908s # case G_TYPE_STRING: 908s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 908s # break; 908s # case G_TYPE_VARIANT: 908s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 908s # break; 908s # default: 908s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 908s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 908s # else 908s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 908s # break; 908s # } 908s # return ret; 908s # } 908s # 908s # static void 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint G_GNUC_UNUSED, 908s # void *marshal_data) 908s # { 908s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 908s # (void *data1, 908s # GUnixFDList *arg_fd_list, 908s # GDBusMethodInvocation *arg_method_invocation, 908s # const gchar *arg_greeting, 908s # void *data2); 908s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 908s # GCClosure *cc = (GCClosure*) closure; 908s # void *data1, *data2; 908s # gboolean v_return; 908s # 908s # g_return_if_fail (return_value != NULL); 908s # g_return_if_fail (n_param_values == 4); 908s # 908s # if (G_CCLOSURE_SWAP_DATA (closure)) 908s # { 908s # data1 = closure->data; 908s # data2 = g_value_peek_pointer (param_values + 0); 908s # } 908s # else 908s # { 908s # data1 = g_value_peek_pointer (param_values + 0); 908s # data2 = closure->data; 908s # } 908s # 908s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 908s # (marshal_data ? marshal_data : cc->callback); 908s # 908s # v_return = 908s # callback (data1, 908s # g_marshal_value_peek_object (param_values + 1), 908s # g_marshal_value_peek_object (param_values + 2), 908s # g_marshal_value_peek_string (param_values + 3), 908s # data2); 908s # 908s # g_value_set_boolean (return_value, v_return); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ 908s # * Code for interface test.FDPassing 908s # * ------------------------------------------------------------------------ 908s # */ 908s # 908s # /** 908s # * SECTION:TestFDPassing 908s # * @title: TestFDPassing 908s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 908s # * 908s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 908s # */ 908s # 908s # /* ---- Introspection data for test.FDPassing ---- */ 908s # 908s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 908s # { 908s # { 908s # -1, 908s # (gchar *) "greeting", 908s # (gchar *) "s", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 908s # { 908s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 908s # { 908s # { 908s # -1, 908s # (gchar *) "response", 908s # (gchar *) "s", 908s # NULL 908s # }, 908s # FALSE 908s # }; 908s # 908s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 908s # { 908s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 908s # { 908s # { 908s # -1, 908s # (gchar *) "HelloFD", 908s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 908s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 908s # NULL 908s # }, 908s # "handle-hello-fd", 908s # TRUE 908s # }; 908s # 908s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 908s # { 908s # &_test_fdpassing_method_info_hello_fd.parent_struct, 908s # NULL 908s # }; 908s # 908s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 908s # { 908s # { 908s # -1, 908s # (gchar *) "test.FDPassing", 908s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 908s # NULL, 908s # NULL, 908s # NULL 908s # }, 908s # "test-fdpassing", 908s # }; 908s # 908s # 908s # /** 908s # * test_fdpassing_interface_info: 908s # * 908s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 908s # * 908s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 908s # */ 908s # GDBusInterfaceInfo * 908s # test_fdpassing_interface_info (void) 908s # { 908s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 908s # } 908s # 908s # /** 908s # * test_fdpassing_override_properties: 908s # * @klass: The class structure for a #GObject derived class. 908s # * @property_id_begin: The property id to assign to the first overridden property. 908s # * 908s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 908s # * The properties are overridden in the order they are defined. 908s # * 908s # * Returns: The last property id. 908s # */ 908s # guint 908s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 908s # { 908s # return property_id_begin - 1; 908s # } 908s # 908s # 908s # inline static void 908s # test_fdpassing_method_marshal_hello_fd ( 908s # GClosure *closure, 908s # GValue *return_value, 908s # unsigned int n_param_values, 908s # const GValue *param_values, 908s # void *invocation_hint, 908s # void *marshal_data) 908s # { 908s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 908s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 908s # } 908s # 908s # 908s # /** 908s # * TestFDPassing: 908s # * 908s # * Abstract interface type for the D-Bus interface test.FDPassing. 908s # */ 908s # 908s # /** 908s # * TestFDPassingIface: 908s # * @parent_iface: The parent interface. 908s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 908s # * 908s # * Virtual table for the D-Bus interface test.FDPassing. 908s # */ 908s # 908s # typedef TestFDPassingIface TestFDPassingInterface; 908s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 908s # 908s # static void 908s # test_fdpassing_default_init (TestFDPassingIface *iface) 908s # { 908s # /* GObject signals for incoming D-Bus method calls: */ 908s # /** 908s # * TestFDPassing::handle-hello-fd: 908s # * @object: A #TestFDPassing. 908s # * @invocation: A #GDBusMethodInvocation. 908s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 908s # * @arg_greeting: Argument passed by remote caller. 908s # * 908s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 908s # * 908s # * 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. 908s # * 908s # * 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. 908s # */ 908s # g_signal_new ("handle-hello-fd", 908s # G_TYPE_FROM_INTERFACE (iface), 908s # G_SIGNAL_RUN_LAST, 908s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 908s # g_signal_accumulator_true_handled, 908s # NULL, 908s # test_fdpassing_method_marshal_hello_fd, 908s # G_TYPE_BOOLEAN, 908s # 3, 908s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 908s # 908s # } 908s # 908s # /** 908s # * test_fdpassing_call_hello_fd: 908s # * @proxy: A #TestFDPassingProxy. 908s # * @arg_greeting: Argument to pass with the method invocation. 908s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 908s # * 908s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 908s # */ 908s # void 908s # test_fdpassing_call_hello_fd ( 908s # TestFDPassing *proxy, 908s # const gchar *arg_greeting, 908s # GUnixFDList *fd_list, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 908s # "HelloFD", 908s # g_variant_new ("(s)", 908s # arg_greeting), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # fd_list, 908s # cancellable, 908s # callback, 908s # user_data); 908s # } 908s # 908s # /** 908s # * test_fdpassing_call_hello_fd_finish: 908s # * @proxy: A #TestFDPassingProxy. 908s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # test_fdpassing_call_hello_fd_finish ( 908s # TestFDPassing *proxy, 908s # gchar **out_response, 908s # GUnixFDList **out_fd_list, 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(s)", 908s # out_response); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * test_fdpassing_call_hello_fd_sync: 908s # * @proxy: A #TestFDPassingProxy. 908s # * @arg_greeting: Argument to pass with the method invocation. 908s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 908s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 908s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL. 908s # * 908s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 908s # * 908s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 908s # * 908s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 908s # */ 908s # gboolean 908s # test_fdpassing_call_hello_fd_sync ( 908s # TestFDPassing *proxy, 908s # const gchar *arg_greeting, 908s # GUnixFDList *fd_list, 908s # gchar **out_response, 908s # GUnixFDList **out_fd_list, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GVariant *_ret; 908s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 908s # "HelloFD", 908s # g_variant_new ("(s)", 908s # arg_greeting), 908s # G_DBUS_CALL_FLAGS_NONE, 908s # -1, 908s # fd_list, 908s # out_fd_list, 908s # cancellable, 908s # error); 908s # if (_ret == NULL) 908s # goto _out; 908s # g_variant_get (_ret, 908s # "(s)", 908s # out_response); 908s # g_variant_unref (_ret); 908s # _out: 908s # return _ret != NULL; 908s # } 908s # 908s # /** 908s # * test_fdpassing_complete_hello_fd: 908s # * @object: A #TestFDPassing. 908s # * @invocation: (transfer full): A #GDBusMethodInvocation. 908s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 908s # * @response: Parameter to return. 908s # * 908s # * 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. 908s # * 908s # * This method will free @invocation, you cannot use it afterwards. 908s # */ 908s # void 908s # test_fdpassing_complete_hello_fd ( 908s # TestFDPassing *object G_GNUC_UNUSED, 908s # GDBusMethodInvocation *invocation, 908s # GUnixFDList *fd_list, 908s # const gchar *response) 908s # { 908s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 908s # g_variant_new ("(s)", 908s # response), 908s # fd_list); 908s # } 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * TestFDPassingProxy: 908s # * 908s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * TestFDPassingProxyClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #TestFDPassingProxy. 908s # */ 908s # 908s # struct _TestFDPassingProxyPrivate 908s # { 908s # GData *qdata; 908s # }; 908s # 908s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 908s # G_ADD_PRIVATE (TestFDPassingProxy) 908s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 908s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 908s # 908s # #endif 908s # static void 908s # test_fdpassing_proxy_finalize (GObject *object) 908s # { 908s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 908s # g_datalist_clear (&proxy->priv->qdata); 908s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 908s # guint prop_id G_GNUC_UNUSED, 908s # const GValue *value G_GNUC_UNUSED, 908s # GParamSpec *pspec G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void 908s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 908s # const gchar *sender_name G_GNUC_UNUSED, 908s # const gchar *signal_name, 908s # GVariant *parameters) 908s # { 908s # _ExtendedGDBusSignalInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # gsize n; 908s # guint signal_id; 908s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 908s # if (info == NULL) 908s # return; 908s # num_params = g_variant_n_children (parameters); 908s # paramv = g_new0 (GValue, num_params + 1); 908s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 908s # g_value_set_object (¶mv[0], proxy); 908s # g_variant_iter_init (&iter, parameters); 908s # n = 1; 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 908s # g_signal_emitv (paramv, signal_id, 0, NULL); 908s # for (n = 0; n < num_params + 1; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static void 908s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 908s # GVariant *changed_properties, 908s # const gchar *const *invalidated_properties) 908s # { 908s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 908s # guint n; 908s # const gchar *key; 908s # GVariantIter *iter; 908s # _ExtendedGDBusPropertyInfo *info; 908s # g_variant_get (changed_properties, "a{sv}", &iter); 908s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 908s # g_datalist_remove_data (&proxy->priv->qdata, key); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # g_variant_iter_free (iter); 908s # for (n = 0; invalidated_properties[n] != NULL; n++) 908s # { 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 908s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 908s # if (info != NULL) 908s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 908s # } 908s # } 908s # 908s # static void 908s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 908s # #else 908s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 908s # #endif 908s # 908s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 908s # } 908s # 908s # static void 908s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusProxyClass *proxy_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = test_fdpassing_proxy_finalize; 908s # gobject_class->get_property = test_fdpassing_proxy_get_property; 908s # gobject_class->set_property = test_fdpassing_proxy_set_property; 908s # 908s # proxy_class = G_DBUS_PROXY_CLASS (klass); 908s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 908s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * test_fdpassing_proxy_new: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 908s # * 908s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # test_fdpassing_proxy_new ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # 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); 908s # } 908s # 908s # /** 908s # * test_fdpassing_proxy_new_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with test_fdpassing_proxy_new(). 908s # * 908s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # TestFDPassing * 908s # test_fdpassing_proxy_new_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return TEST_FDPASSING (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * test_fdpassing_proxy_new_sync: 908s # * @connection: A #GDBusConnection. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # TestFDPassing * 908s # test_fdpassing_proxy_new_sync ( 908s # GDBusConnection *connection, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return TEST_FDPASSING (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /** 908s # * test_fdpassing_proxy_new_for_bus: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 908s # * @user_data: User data to pass to @callback. 908s # * 908s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 908s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 908s # * 908s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 908s # */ 908s # void 908s # test_fdpassing_proxy_new_for_bus ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GAsyncReadyCallback callback, 908s # gpointer user_data) 908s # { 908s # 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); 908s # } 908s # 908s # /** 908s # * test_fdpassing_proxy_new_for_bus_finish: 908s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 908s # * @error: Return location for error or %NULL 908s # * 908s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 908s # * 908s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # TestFDPassing * 908s # test_fdpassing_proxy_new_for_bus_finish ( 908s # GAsyncResult *res, 908s # GError **error) 908s # { 908s # GObject *ret; 908s # GObject *source_object; 908s # source_object = g_async_result_get_source_object (res); 908s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 908s # g_object_unref (source_object); 908s # if (ret != NULL) 908s # return TEST_FDPASSING (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # /** 908s # * test_fdpassing_proxy_new_for_bus_sync: 908s # * @bus_type: A #GBusType. 908s # * @flags: Flags from the #GDBusProxyFlags enumeration. 908s # * @name: A bus name (well-known or unique). 908s # * @object_path: An object path. 908s # * @cancellable: (nullable): A #GCancellable or %NULL. 908s # * @error: Return location for error or %NULL 908s # * 908s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 908s # * 908s # * The calling thread is blocked until a reply is received. 908s # * 908s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 908s # * 908s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 908s # */ 908s # TestFDPassing * 908s # test_fdpassing_proxy_new_for_bus_sync ( 908s # GBusType bus_type, 908s # GDBusProxyFlags flags, 908s # const gchar *name, 908s # const gchar *object_path, 908s # GCancellable *cancellable, 908s # GError **error) 908s # { 908s # GInitable *ret; 908s # 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); 908s # if (ret != NULL) 908s # return TEST_FDPASSING (ret); 908s # else 908s # return NULL; 908s # } 908s # 908s # 908s # /* ------------------------------------------------------------------------ */ 908s # 908s # /** 908s # * TestFDPassingSkeleton: 908s # * 908s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 908s # */ 908s # 908s # /** 908s # * TestFDPassingSkeletonClass: 908s # * @parent_class: The parent class. 908s # * 908s # * Class structure for #TestFDPassingSkeleton. 908s # */ 908s # 908s # struct _TestFDPassingSkeletonPrivate 908s # { 908s # GValue *properties; 908s # GList *changed_properties; 908s # GSource *changed_properties_idle_source; 908s # GMainContext *context; 908s # GMutex lock; 908s # }; 908s # 908s # static void 908s # _test_fdpassing_skeleton_handle_method_call ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name, 908s # const gchar *method_name, 908s # GVariant *parameters, 908s # GDBusMethodInvocation *invocation, 908s # gpointer user_data) 908s # { 908s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 908s # _ExtendedGDBusMethodInfo *info; 908s # GVariantIter iter; 908s # GVariant *child; 908s # GValue *paramv; 908s # gsize num_params; 908s # guint num_extra; 908s # gsize n; 908s # guint signal_id; 908s # GValue return_value = G_VALUE_INIT; 908s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 908s # g_assert (info != NULL); 908s # num_params = g_variant_n_children (parameters); 908s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 908s # n = 0; 908s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 908s # g_value_set_object (¶mv[n++], skeleton); 908s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 908s # g_value_set_object (¶mv[n++], invocation); 908s # if (info->pass_fdlist) 908s # { 908s # #ifdef G_OS_UNIX 908s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 908s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 908s # #else 908s # g_assert_not_reached (); 908s # #endif 908s # } 908s # g_variant_iter_init (&iter, parameters); 908s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 908s # { 908s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 908s # if (arg_info->use_gvariant) 908s # { 908s # g_value_init (¶mv[n], G_TYPE_VARIANT); 908s # g_value_set_variant (¶mv[n], child); 908s # n++; 908s # } 908s # else 908s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 908s # g_variant_unref (child); 908s # } 908s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 908s # g_value_init (&return_value, G_TYPE_BOOLEAN); 908s # g_signal_emitv (paramv, signal_id, 0, &return_value); 908s # if (!g_value_get_boolean (&return_value)) 908s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 908s # g_value_unset (&return_value); 908s # for (n = 0; n < num_params + num_extra; n++) 908s # g_value_unset (¶mv[n]); 908s # g_free (paramv); 908s # } 908s # 908s # static GVariant * 908s # _test_fdpassing_skeleton_handle_get_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # GVariant *ret; 908s # ret = NULL; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # g_value_init (&value, pspec->value_type); 908s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 908s # g_value_unset (&value); 908s # } 908s # return ret; 908s # } 908s # 908s # static gboolean 908s # _test_fdpassing_skeleton_handle_set_property ( 908s # GDBusConnection *connection G_GNUC_UNUSED, 908s # const gchar *sender G_GNUC_UNUSED, 908s # const gchar *object_path G_GNUC_UNUSED, 908s # const gchar *interface_name G_GNUC_UNUSED, 908s # const gchar *property_name, 908s # GVariant *variant, 908s # GError **error, 908s # gpointer user_data) 908s # { 908s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 908s # GValue value = G_VALUE_INIT; 908s # GParamSpec *pspec; 908s # _ExtendedGDBusPropertyInfo *info; 908s # gboolean ret; 908s # ret = FALSE; 908s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 908s # g_assert (info != NULL); 908s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 908s # if (pspec == NULL) 908s # { 908s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 908s # } 908s # else 908s # { 908s # if (info->use_gvariant) 908s # g_value_set_variant (&value, variant); 908s # else 908s # g_dbus_gvariant_to_gvalue (variant, &value); 908s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 908s # g_value_unset (&value); 908s # ret = TRUE; 908s # } 908s # return ret; 908s # } 908s # 908s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 908s # { 908s # _test_fdpassing_skeleton_handle_method_call, 908s # _test_fdpassing_skeleton_handle_get_property, 908s # _test_fdpassing_skeleton_handle_set_property, 908s # {NULL} 908s # }; 908s # 908s # static GDBusInterfaceInfo * 908s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return test_fdpassing_interface_info (); 908s # } 908s # 908s # static GDBusInterfaceVTable * 908s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 908s # { 908s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 908s # } 908s # 908s # static GVariant * 908s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 908s # { 908s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 908s # 908s # GVariantBuilder builder; 908s # guint n; 908s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 908s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 908s # goto out; 908s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 908s # { 908s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 908s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 908s # { 908s # GVariant *value; 908s # 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); 908s # if (value != NULL) 908s # { 908s # g_variant_take_ref (value); 908s # g_variant_builder_add (&builder, "{sv}", info->name, value); 908s # g_variant_unref (value); 908s # } 908s # } 908s # } 908s # out: 908s # return g_variant_builder_end (&builder); 908s # } 908s # 908s # static void 908s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_ADD_PRIVATE (TestFDPassingSkeleton) 908s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 908s # 908s # #else 908s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 908s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 908s # 908s # #endif 908s # static void 908s # test_fdpassing_skeleton_finalize (GObject *object) 908s # { 908s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 908s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 908s # if (skeleton->priv->changed_properties_idle_source != NULL) 908s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 908s # g_main_context_unref (skeleton->priv->context); 908s # g_mutex_clear (&skeleton->priv->lock); 908s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 908s # } 908s # 908s # static void 908s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 908s # { 908s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 908s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 908s # #else 908s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 908s # #endif 908s # 908s # g_mutex_init (&skeleton->priv->lock); 908s # skeleton->priv->context = g_main_context_ref_thread_default (); 908s # } 908s # 908s # static void 908s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 908s # { 908s # GObjectClass *gobject_class; 908s # GDBusInterfaceSkeletonClass *skeleton_class; 908s # 908s # gobject_class = G_OBJECT_CLASS (klass); 908s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 908s # 908s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 908s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 908s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 908s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 908s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 908s # 908s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 908s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 908s # #endif 908s # } 908s # 908s # static void 908s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 908s # { 908s # } 908s # 908s # /** 908s # * test_fdpassing_skeleton_new: 908s # * 908s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 908s # * 908s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 908s # */ 908s # TestFDPassing * 908s # test_fdpassing_skeleton_new (void) 908s # { 908s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 908s # } 908s ok 15 __main__.TestCodegen.test_generate_rst 908s # tmpdir: /tmp/tmpy_2v011f 908s # codegen: /usr/bin/gdbus-codegen 908s # /tmp/tmpy_2v011f/tmpy825jste.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy_2v011f/tmpy825jste.xml', '--generate-rst', 'test'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: 908s ok 16 __main__.TestCodegen.test_generate_rst_method 908s # tmpdir: /tmp/tmp8oyurbj6 908s # codegen: /usr/bin/gdbus-codegen 908s # /tmp/tmp8oyurbj6/tmpvlrzb830.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8oyurbj6/tmpvlrzb830.xml', '--generate-rst', 'test'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: 908s ok 17 __main__.TestCodegen.test_generate_rst_property 908s # tmpdir: /tmp/tmpk9wxmxsi 908s # codegen: /usr/bin/gdbus-codegen 908s # /tmp/tmpk9wxmxsi/tmpqgtn9tx7.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk9wxmxsi/tmpqgtn9tx7.xml', '--generate-rst', 'test'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: 908s ok 18 __main__.TestCodegen.test_generate_rst_signal 908s # tmpdir: /tmp/tmp2fotm6wf 908s # codegen: /usr/bin/gdbus-codegen 908s # /tmp/tmp2fotm6wf/tmp_6erdo07.xml: 908s # 908s # 908s # 908s # 908s # 908s # 908s # 908s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2fotm6wf/tmp_6erdo07.xml', '--generate-rst', 'test'] 908s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 908s # Output: 909s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 909s # tmpdir: /tmp/tmpo4_zhucv 909s # codegen: /usr/bin/gdbus-codegen 909s # /tmp/tmpo4_zhucv/tmpncaed6w0.xml: 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo4_zhucv/tmpncaed6w0.xml', '--output', '-', '--body'] 909s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 909s # Output: /* 909s # * This file is generated by gdbus-codegen, do not modify it. 909s # * 909s # * The license of this code is the same as for the D-Bus interface description 909s # * it was derived from. Note that it links to GLib, so must comply with the 909s # * LGPL linking clauses. 909s # */ 909s # 909s # #ifdef HAVE_CONFIG_H 909s # # include "config.h" 909s # #endif 909s # 909s # #include 909s # #ifdef G_OS_UNIX 909s # # include 909s # #endif 909s # 909s # #ifdef G_ENABLE_DEBUG 909s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 909s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 909s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 909s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 909s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 909s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 909s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 909s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 909s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 909s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 909s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 909s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 909s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 909s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 909s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 909s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 909s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 909s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 909s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 909s # #else /* !G_ENABLE_DEBUG */ 909s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 909s # * Do not access GValues directly in your code. Instead, use the 909s # * g_value_get_*() functions 909s # */ 909s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 909s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 909s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 909s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 909s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 909s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 909s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 909s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 909s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 909s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 909s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 909s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 909s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 909s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 909s # #endif /* !G_ENABLE_DEBUG */ 909s # 909s # typedef struct 909s # { 909s # GDBusArgInfo parent_struct; 909s # gboolean use_gvariant; 909s # } _ExtendedGDBusArgInfo; 909s # 909s # typedef struct 909s # { 909s # GDBusMethodInfo parent_struct; 909s # const gchar *signal_name; 909s # gboolean pass_fdlist; 909s # } _ExtendedGDBusMethodInfo; 909s # 909s # typedef struct 909s # { 909s # GDBusSignalInfo parent_struct; 909s # const gchar *signal_name; 909s # } _ExtendedGDBusSignalInfo; 909s # 909s # typedef struct 909s # { 909s # GDBusPropertyInfo parent_struct; 909s # const gchar *hyphen_name; 909s # guint use_gvariant : 1; 909s # guint emits_changed_signal : 1; 909s # } _ExtendedGDBusPropertyInfo; 909s # 909s # typedef struct 909s # { 909s # GDBusInterfaceInfo parent_struct; 909s # const gchar *hyphen_name; 909s # } _ExtendedGDBusInterfaceInfo; 909s # 909s # typedef struct 909s # { 909s # const _ExtendedGDBusPropertyInfo *info; 909s # guint prop_id; 909s # GValue orig_value; /* the value before the change */ 909s # } ChangedProperty; 909s # 909s # static void 909s # _changed_property_free (ChangedProperty *data) 909s # { 909s # g_value_unset (&data->orig_value); 909s # g_free (data); 909s # } 909s # 909s # static gboolean 909s # _g_strv_equal0 (gchar **a, gchar **b) 909s # { 909s # gboolean ret = FALSE; 909s # guint n; 909s # if (a == NULL && b == NULL) 909s # { 909s # ret = TRUE; 909s # goto out; 909s # } 909s # if (a == NULL || b == NULL) 909s # goto out; 909s # if (g_strv_length (a) != g_strv_length (b)) 909s # goto out; 909s # for (n = 0; a[n] != NULL; n++) 909s # if (g_strcmp0 (a[n], b[n]) != 0) 909s # goto out; 909s # ret = TRUE; 909s # out: 909s # return ret; 909s # } 909s # 909s # static gboolean 909s # _g_variant_equal0 (GVariant *a, GVariant *b) 909s # { 909s # gboolean ret = FALSE; 909s # if (a == NULL && b == NULL) 909s # { 909s # ret = TRUE; 909s # goto out; 909s # } 909s # if (a == NULL || b == NULL) 909s # goto out; 909s # ret = g_variant_equal (a, b); 909s # out: 909s # return ret; 909s # } 909s # 909s # G_GNUC_UNUSED static gboolean 909s # _g_value_equal (const GValue *a, const GValue *b) 909s # { 909s # gboolean ret = FALSE; 909s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 909s # switch (G_VALUE_TYPE (a)) 909s # { 909s # case G_TYPE_BOOLEAN: 909s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 909s # break; 909s # case G_TYPE_UCHAR: 909s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 909s # break; 909s # case G_TYPE_INT: 909s # ret = (g_value_get_int (a) == g_value_get_int (b)); 909s # break; 909s # case G_TYPE_UINT: 909s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 909s # break; 909s # case G_TYPE_INT64: 909s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 909s # break; 909s # case G_TYPE_UINT64: 909s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 909s # break; 909s # case G_TYPE_DOUBLE: 909s # { 909s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 909s # gdouble da = g_value_get_double (a); 909s # gdouble db = g_value_get_double (b); 909s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 909s # } 909s # break; 909s # case G_TYPE_STRING: 909s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 909s # break; 909s # case G_TYPE_VARIANT: 909s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 909s # break; 909s # default: 909s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 909s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 909s # else 909s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 909s # break; 909s # } 909s # return ret; 909s # } 909s # 909s # static void 909s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 909s # GClosure *closure, 909s # GValue *return_value G_GNUC_UNUSED, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint G_GNUC_UNUSED, 909s # void *marshal_data) 909s # { 909s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 909s # (void *data1, 909s # gboolean arg_an_b, 909s # guchar arg_an_y, 909s # gint16 arg_an_n, 909s # guint16 arg_an_q, 909s # gint arg_an_i, 909s # guint arg_an_u, 909s # gint64 arg_an_x, 909s # guint64 arg_an_t, 909s # gdouble arg_an_d, 909s # const gchar *arg_an_s, 909s # const gchar *arg_an_o, 909s # const gchar *arg_an_g, 909s # GVariant *arg_an_h, 909s # const gchar *arg_an_ay, 909s # const gchar *const *arg_an_as, 909s # const gchar *const *arg_an_ao, 909s # const gchar *const *arg_an_aay, 909s # GVariant *arg_an_asv, 909s # void *data2); 909s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 909s # GCClosure *cc = (GCClosure*) closure; 909s # void *data1, *data2; 909s # 909s # g_return_if_fail (n_param_values == 19); 909s # 909s # if (G_CCLOSURE_SWAP_DATA (closure)) 909s # { 909s # data1 = closure->data; 909s # data2 = g_value_peek_pointer (param_values + 0); 909s # } 909s # else 909s # { 909s # data1 = g_value_peek_pointer (param_values + 0); 909s # data2 = closure->data; 909s # } 909s # 909s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 909s # (marshal_data ? marshal_data : cc->callback); 909s # 909s # callback (data1, 909s # g_marshal_value_peek_boolean (param_values + 1), 909s # g_marshal_value_peek_uchar (param_values + 2), 909s # g_marshal_value_peek_int (param_values + 3), 909s # g_marshal_value_peek_uint (param_values + 4), 909s # g_marshal_value_peek_int (param_values + 5), 909s # g_marshal_value_peek_uint (param_values + 6), 909s # g_marshal_value_peek_int64 (param_values + 7), 909s # g_marshal_value_peek_uint64 (param_values + 8), 909s # g_marshal_value_peek_double (param_values + 9), 909s # g_marshal_value_peek_string (param_values + 10), 909s # g_marshal_value_peek_string (param_values + 11), 909s # g_marshal_value_peek_string (param_values + 12), 909s # g_marshal_value_peek_variant (param_values + 13), 909s # g_marshal_value_peek_string (param_values + 14), 909s # g_marshal_value_peek_boxed (param_values + 15), 909s # g_marshal_value_peek_boxed (param_values + 16), 909s # g_marshal_value_peek_boxed (param_values + 17), 909s # g_marshal_value_peek_variant (param_values + 18), 909s # data2); 909s # } 909s # 909s # /* ------------------------------------------------------------------------ 909s # * Code for interface org.project.SignalingIface 909s # * ------------------------------------------------------------------------ 909s # */ 909s # 909s # /** 909s # * SECTION:OrgProjectSignalingIface 909s # * @title: OrgProjectSignalingIface 909s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 909s # * 909s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 909s # */ 909s # 909s # enum 909s # { 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 909s # }; 909s # 909s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 909s # 909s # /* ---- Introspection data for org.project.SignalingIface ---- */ 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_b", 909s # (gchar *) "b", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_y", 909s # (gchar *) "y", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_n", 909s # (gchar *) "n", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_q", 909s # (gchar *) "q", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_i", 909s # (gchar *) "i", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_u", 909s # (gchar *) "u", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_x", 909s # (gchar *) "x", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_t", 909s # (gchar *) "t", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_d", 909s # (gchar *) "d", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_s", 909s # (gchar *) "s", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_o", 909s # (gchar *) "o", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_g", 909s # (gchar *) "g", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_h", 909s # (gchar *) "h", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_ay", 909s # (gchar *) "ay", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_as", 909s # (gchar *) "as", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_ao", 909s # (gchar *) "ao", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_aay", 909s # (gchar *) "aay", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_asv", 909s # (gchar *) "a{sv}", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SignalWithManyArgs", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 909s # NULL 909s # }, 909s # "signal-with-many-args" 909s # }; 909s # 909s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 909s # { 909s # { 909s # -1, 909s # (gchar *) "org.project.SignalingIface", 909s # NULL, 909s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 909s # NULL, 909s # NULL 909s # }, 909s # "org-project-signaling-iface", 909s # }; 909s # 909s # 909s # /** 909s # * org_project_signaling_iface_interface_info: 909s # * 909s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 909s # * 909s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 909s # */ 909s # GDBusInterfaceInfo * 909s # org_project_signaling_iface_interface_info (void) 909s # { 909s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_override_properties: 909s # * @klass: The class structure for a #GObject derived class. 909s # * @property_id_begin: The property id to assign to the first overridden property. 909s # * 909s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 909s # * The properties are overridden in the order they are defined. 909s # * 909s # * Returns: The last property id. 909s # */ 909s # guint 909s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 909s # { 909s # return property_id_begin - 1; 909s # } 909s # 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # 909s # /** 909s # * OrgProjectSignalingIface: 909s # * 909s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 909s # */ 909s # 909s # /** 909s # * OrgProjectSignalingIfaceIface: 909s # * @parent_iface: The parent interface. 909s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 909s # * 909s # * Virtual table for the D-Bus interface org.project.SignalingIface. 909s # */ 909s # 909s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 909s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 909s # 909s # static void 909s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 909s # { 909s # /* GObject signals for received D-Bus signals: */ 909s # /** 909s # * OrgProjectSignalingIface::signal-with-many-args: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_b: Argument. 909s # * @arg_an_y: Argument. 909s # * @arg_an_n: Argument. 909s # * @arg_an_q: Argument. 909s # * @arg_an_i: Argument. 909s # * @arg_an_u: Argument. 909s # * @arg_an_x: Argument. 909s # * @arg_an_t: Argument. 909s # * @arg_an_d: Argument. 909s # * @arg_an_s: Argument. 909s # * @arg_an_o: Argument. 909s # * @arg_an_g: Argument. 909s # * @arg_an_h: Argument. 909s # * @arg_an_ay: Argument. 909s # * @arg_an_as: Argument. 909s # * @arg_an_ao: Argument. 909s # * @arg_an_aay: Argument. 909s # * @arg_an_asv: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 909s # g_signal_new ("signal-with-many-args", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 909s # G_TYPE_NONE, 909s # 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); 909s # 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_signal_with_many_args: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_b: Argument to pass with the signal. 909s # * @arg_an_y: Argument to pass with the signal. 909s # * @arg_an_n: Argument to pass with the signal. 909s # * @arg_an_q: Argument to pass with the signal. 909s # * @arg_an_i: Argument to pass with the signal. 909s # * @arg_an_u: Argument to pass with the signal. 909s # * @arg_an_x: Argument to pass with the signal. 909s # * @arg_an_t: Argument to pass with the signal. 909s # * @arg_an_d: Argument to pass with the signal. 909s # * @arg_an_s: Argument to pass with the signal. 909s # * @arg_an_o: Argument to pass with the signal. 909s # * @arg_an_g: Argument to pass with the signal. 909s # * @arg_an_h: Argument to pass with the signal. 909s # * @arg_an_ay: Argument to pass with the signal. 909s # * @arg_an_as: Argument to pass with the signal. 909s # * @arg_an_ao: Argument to pass with the signal. 909s # * @arg_an_aay: Argument to pass with the signal. 909s # * @arg_an_asv: Argument to pass with the signal. 909s # * 909s # * Emits the "SignalWithManyArgs" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_signal_with_many_args ( 909s # OrgProjectSignalingIface *object, 909s # gboolean arg_an_b, 909s # guchar arg_an_y, 909s # gint16 arg_an_n, 909s # guint16 arg_an_q, 909s # gint arg_an_i, 909s # guint arg_an_u, 909s # gint64 arg_an_x, 909s # guint64 arg_an_t, 909s # gdouble arg_an_d, 909s # const gchar *arg_an_s, 909s # const gchar *arg_an_o, 909s # const gchar *arg_an_g, 909s # GVariant *arg_an_h, 909s # const gchar *arg_an_ay, 909s # const gchar *const *arg_an_as, 909s # const gchar *const *arg_an_ao, 909s # const gchar *const *arg_an_aay, 909s # GVariant *arg_an_asv) 909s # { 909s # 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); 909s # } 909s # 909s # /* ------------------------------------------------------------------------ */ 909s # 909s # /** 909s # * OrgProjectSignalingIfaceProxy: 909s # * 909s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 909s # */ 909s # 909s # /** 909s # * OrgProjectSignalingIfaceProxyClass: 909s # * @parent_class: The parent class. 909s # * 909s # * Class structure for #OrgProjectSignalingIfaceProxy. 909s # */ 909s # 909s # struct _OrgProjectSignalingIfaceProxyPrivate 909s # { 909s # GData *qdata; 909s # }; 909s # 909s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 909s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 909s # 909s # #else 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 909s # 909s # #endif 909s # static void 909s # org_project_signaling_iface_proxy_finalize (GObject *object) 909s # { 909s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 909s # g_datalist_clear (&proxy->priv->qdata); 909s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 909s # guint prop_id G_GNUC_UNUSED, 909s # GValue *value G_GNUC_UNUSED, 909s # GParamSpec *pspec G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 909s # guint prop_id G_GNUC_UNUSED, 909s # const GValue *value G_GNUC_UNUSED, 909s # GParamSpec *pspec G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 909s # const gchar *sender_name G_GNUC_UNUSED, 909s # const gchar *signal_name, 909s # GVariant *parameters) 909s # { 909s # _ExtendedGDBusSignalInfo *info; 909s # GVariantIter iter; 909s # GVariant *child; 909s # GValue *paramv; 909s # gsize num_params; 909s # gsize n; 909s # guint signal_id; 909s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 909s # if (info == NULL) 909s # return; 909s # num_params = g_variant_n_children (parameters); 909s # paramv = g_new0 (GValue, num_params + 1); 909s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 909s # g_value_set_object (¶mv[0], proxy); 909s # g_variant_iter_init (&iter, parameters); 909s # n = 1; 909s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 909s # { 909s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 909s # if (arg_info->use_gvariant) 909s # { 909s # g_value_init (¶mv[n], G_TYPE_VARIANT); 909s # g_value_set_variant (¶mv[n], child); 909s # n++; 909s # } 909s # else 909s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 909s # g_variant_unref (child); 909s # } 909s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 909s # g_signal_emitv (paramv, signal_id, 0, NULL); 909s # for (n = 0; n < num_params + 1; n++) 909s # g_value_unset (¶mv[n]); 909s # g_free (paramv); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 909s # GVariant *changed_properties, 909s # const gchar *const *invalidated_properties) 909s # { 909s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 909s # guint n; 909s # const gchar *key; 909s # GVariantIter *iter; 909s # _ExtendedGDBusPropertyInfo *info; 909s # g_variant_get (changed_properties, "a{sv}", &iter); 909s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 909s # { 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 909s # g_datalist_remove_data (&proxy->priv->qdata, key); 909s # if (info != NULL) 909s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 909s # } 909s # g_variant_iter_free (iter); 909s # for (n = 0; invalidated_properties[n] != NULL; n++) 909s # { 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 909s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 909s # if (info != NULL) 909s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 909s # } 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 909s # { 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 909s # #else 909s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 909s # #endif 909s # 909s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 909s # { 909s # GObjectClass *gobject_class; 909s # GDBusProxyClass *proxy_class; 909s # 909s # gobject_class = G_OBJECT_CLASS (klass); 909s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 909s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 909s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 909s # 909s # proxy_class = G_DBUS_PROXY_CLASS (klass); 909s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 909s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 909s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 909s # #endif 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new: 909s # * @connection: A #GDBusConnection. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 909s # * @user_data: User data to pass to @callback. 909s # * 909s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 909s # * 909s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 909s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 909s # * 909s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 909s # */ 909s # void 909s # org_project_signaling_iface_proxy_new ( 909s # GDBusConnection *connection, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GAsyncReadyCallback callback, 909s # gpointer user_data) 909s # { 909s # 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); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new_finish: 909s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 909s # * @error: Return location for error or %NULL 909s # * 909s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 909s # * 909s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectSignalingIface * 909s # org_project_signaling_iface_proxy_new_finish ( 909s # GAsyncResult *res, 909s # GError **error) 909s # { 909s # GObject *ret; 909s # GObject *source_object; 909s # source_object = g_async_result_get_source_object (res); 909s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 909s # g_object_unref (source_object); 909s # if (ret != NULL) 909s # return ORG_PROJECT_SIGNALING_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new_sync: 909s # * @connection: A #GDBusConnection. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @error: Return location for error or %NULL 909s # * 909s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 909s # * 909s # * The calling thread is blocked until a reply is received. 909s # * 909s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 909s # * 909s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectSignalingIface * 909s # org_project_signaling_iface_proxy_new_sync ( 909s # GDBusConnection *connection, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GError **error) 909s # { 909s # GInitable *ret; 909s # 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); 909s # if (ret != NULL) 909s # return ORG_PROJECT_SIGNALING_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new_for_bus: 909s # * @bus_type: A #GBusType. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: A bus name (well-known or unique). 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 909s # * @user_data: User data to pass to @callback. 909s # * 909s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 909s # * 909s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 909s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 909s # * 909s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 909s # */ 909s # void 909s # org_project_signaling_iface_proxy_new_for_bus ( 909s # GBusType bus_type, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GAsyncReadyCallback callback, 909s # gpointer user_data) 909s # { 909s # 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); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new_for_bus_finish: 909s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 909s # * @error: Return location for error or %NULL 909s # * 909s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 909s # * 909s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectSignalingIface * 909s # org_project_signaling_iface_proxy_new_for_bus_finish ( 909s # GAsyncResult *res, 909s # GError **error) 909s # { 909s # GObject *ret; 909s # GObject *source_object; 909s # source_object = g_async_result_get_source_object (res); 909s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 909s # g_object_unref (source_object); 909s # if (ret != NULL) 909s # return ORG_PROJECT_SIGNALING_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new_for_bus_sync: 909s # * @bus_type: A #GBusType. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: A bus name (well-known or unique). 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @error: Return location for error or %NULL 909s # * 909s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 909s # * 909s # * The calling thread is blocked until a reply is received. 909s # * 909s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 909s # * 909s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectSignalingIface * 909s # org_project_signaling_iface_proxy_new_for_bus_sync ( 909s # GBusType bus_type, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GError **error) 909s # { 909s # GInitable *ret; 909s # 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); 909s # if (ret != NULL) 909s # return ORG_PROJECT_SIGNALING_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # 909s # /* ------------------------------------------------------------------------ */ 909s # 909s # /** 909s # * OrgProjectSignalingIfaceSkeleton: 909s # * 909s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 909s # */ 909s # 909s # /** 909s # * OrgProjectSignalingIfaceSkeletonClass: 909s # * @parent_class: The parent class. 909s # * 909s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 909s # */ 909s # 909s # struct _OrgProjectSignalingIfaceSkeletonPrivate 909s # { 909s # GValue *properties; 909s # GList *changed_properties; 909s # GSource *changed_properties_idle_source; 909s # GMainContext *context; 909s # GMutex lock; 909s # }; 909s # 909s # static void 909s # _org_project_signaling_iface_skeleton_handle_method_call ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name, 909s # const gchar *method_name, 909s # GVariant *parameters, 909s # GDBusMethodInvocation *invocation, 909s # gpointer user_data) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 909s # _ExtendedGDBusMethodInfo *info; 909s # GVariantIter iter; 909s # GVariant *child; 909s # GValue *paramv; 909s # gsize num_params; 909s # guint num_extra; 909s # gsize n; 909s # guint signal_id; 909s # GValue return_value = G_VALUE_INIT; 909s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 909s # g_assert (info != NULL); 909s # num_params = g_variant_n_children (parameters); 909s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 909s # n = 0; 909s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 909s # g_value_set_object (¶mv[n++], skeleton); 909s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 909s # g_value_set_object (¶mv[n++], invocation); 909s # if (info->pass_fdlist) 909s # { 909s # #ifdef G_OS_UNIX 909s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 909s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 909s # #else 909s # g_assert_not_reached (); 909s # #endif 909s # } 909s # g_variant_iter_init (&iter, parameters); 909s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 909s # { 909s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 909s # if (arg_info->use_gvariant) 909s # { 909s # g_value_init (¶mv[n], G_TYPE_VARIANT); 909s # g_value_set_variant (¶mv[n], child); 909s # n++; 909s # } 909s # else 909s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 909s # g_variant_unref (child); 909s # } 909s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 909s # g_value_init (&return_value, G_TYPE_BOOLEAN); 909s # g_signal_emitv (paramv, signal_id, 0, &return_value); 909s # if (!g_value_get_boolean (&return_value)) 909s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 909s # g_value_unset (&return_value); 909s # for (n = 0; n < num_params + num_extra; n++) 909s # g_value_unset (¶mv[n]); 909s # g_free (paramv); 909s # } 909s # 909s # static GVariant * 909s # _org_project_signaling_iface_skeleton_handle_get_property ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name G_GNUC_UNUSED, 909s # const gchar *property_name, 909s # GError **error, 909s # gpointer user_data) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 909s # GValue value = G_VALUE_INIT; 909s # GParamSpec *pspec; 909s # _ExtendedGDBusPropertyInfo *info; 909s # GVariant *ret; 909s # ret = NULL; 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 909s # g_assert (info != NULL); 909s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 909s # if (pspec == NULL) 909s # { 909s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 909s # } 909s # else 909s # { 909s # g_value_init (&value, pspec->value_type); 909s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 909s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 909s # g_value_unset (&value); 909s # } 909s # return ret; 909s # } 909s # 909s # static gboolean 909s # _org_project_signaling_iface_skeleton_handle_set_property ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name G_GNUC_UNUSED, 909s # const gchar *property_name, 909s # GVariant *variant, 909s # GError **error, 909s # gpointer user_data) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 909s # GValue value = G_VALUE_INIT; 909s # GParamSpec *pspec; 909s # _ExtendedGDBusPropertyInfo *info; 909s # gboolean ret; 909s # ret = FALSE; 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 909s # g_assert (info != NULL); 909s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 909s # if (pspec == NULL) 909s # { 909s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 909s # } 909s # else 909s # { 909s # if (info->use_gvariant) 909s # g_value_set_variant (&value, variant); 909s # else 909s # g_dbus_gvariant_to_gvalue (variant, &value); 909s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 909s # g_value_unset (&value); 909s # ret = TRUE; 909s # } 909s # return ret; 909s # } 909s # 909s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 909s # { 909s # _org_project_signaling_iface_skeleton_handle_method_call, 909s # _org_project_signaling_iface_skeleton_handle_get_property, 909s # _org_project_signaling_iface_skeleton_handle_set_property, 909s # {NULL} 909s # }; 909s # 909s # static GDBusInterfaceInfo * 909s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 909s # { 909s # return org_project_signaling_iface_interface_info (); 909s # } 909s # 909s # static GDBusInterfaceVTable * 909s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 909s # { 909s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 909s # } 909s # 909s # static GVariant * 909s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 909s # 909s # GVariantBuilder builder; 909s # guint n; 909s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 909s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 909s # goto out; 909s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 909s # { 909s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 909s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 909s # { 909s # GVariant *value; 909s # 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); 909s # if (value != NULL) 909s # { 909s # g_variant_take_ref (value); 909s # g_variant_builder_add (&builder, "{sv}", info->name, value); 909s # g_variant_unref (value); 909s # } 909s # } 909s # } 909s # out: 909s # return g_variant_builder_end (&builder); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 909s # OrgProjectSignalingIface *object, 909s # gboolean arg_an_b, 909s # guchar arg_an_y, 909s # gint16 arg_an_n, 909s # guint16 arg_an_q, 909s # gint arg_an_i, 909s # guint arg_an_u, 909s # gint64 arg_an_x, 909s # guint64 arg_an_t, 909s # gdouble arg_an_d, 909s # const gchar *arg_an_s, 909s # const gchar *arg_an_o, 909s # const gchar *arg_an_g, 909s # GVariant *arg_an_h, 909s # const gchar *arg_an_ay, 909s # const gchar *const *arg_an_as, 909s # const gchar *const *arg_an_ao, 909s # const gchar *const *arg_an_aay, 909s # GVariant *arg_an_asv) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 909s # arg_an_b, 909s # arg_an_y, 909s # arg_an_n, 909s # arg_an_q, 909s # arg_an_i, 909s # arg_an_u, 909s # arg_an_x, 909s # arg_an_t, 909s # arg_an_d, 909s # arg_an_s, 909s # arg_an_o, 909s # arg_an_g, 909s # arg_an_h, 909s # arg_an_ay, 909s # arg_an_as, 909s # arg_an_ao, 909s # arg_an_aay, 909s # arg_an_asv)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 909s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 909s # 909s # #else 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 909s # 909s # #endif 909s # static void 909s # org_project_signaling_iface_skeleton_finalize (GObject *object) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 909s # if (skeleton->priv->changed_properties_idle_source != NULL) 909s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 909s # g_main_context_unref (skeleton->priv->context); 909s # g_mutex_clear (&skeleton->priv->lock); 909s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 909s # { 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 909s # #else 909s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 909s # #endif 909s # 909s # g_mutex_init (&skeleton->priv->lock); 909s # skeleton->priv->context = g_main_context_ref_thread_default (); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 909s # { 909s # GObjectClass *gobject_class; 909s # GDBusInterfaceSkeletonClass *skeleton_class; 909s # 909s # gobject_class = G_OBJECT_CLASS (klass); 909s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 909s # 909s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 909s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 909s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 909s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 909s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 909s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 909s # #endif 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 909s # { 909s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_skeleton_new: 909s # * 909s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 909s # * 909s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 909s # */ 909s # OrgProjectSignalingIface * 909s # org_project_signaling_iface_skeleton_new (void) 909s # { 909s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 909s # } 909s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 909s # tmpdir: /tmp/tmp2hmwxixh 909s # codegen: /usr/bin/gdbus-codegen 909s # /tmp/tmp2hmwxixh/tmp3q4jp0qx.xml: 909s # 909s # 909s # 909s # 909s # 909s # 909s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2hmwxixh/tmp3q4jp0qx.xml', '--output', '-', '--body'] 909s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 909s # Output: /* 909s # * This file is generated by gdbus-codegen, do not modify it. 909s # * 909s # * The license of this code is the same as for the D-Bus interface description 909s # * it was derived from. Note that it links to GLib, so must comply with the 909s # * LGPL linking clauses. 909s # */ 909s # 909s # #ifdef HAVE_CONFIG_H 909s # # include "config.h" 909s # #endif 909s # 909s # #include 909s # #ifdef G_OS_UNIX 909s # # include 909s # #endif 909s # 909s # #ifdef G_ENABLE_DEBUG 909s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 909s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 909s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 909s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 909s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 909s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 909s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 909s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 909s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 909s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 909s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 909s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 909s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 909s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 909s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 909s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 909s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 909s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 909s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 909s # #else /* !G_ENABLE_DEBUG */ 909s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 909s # * Do not access GValues directly in your code. Instead, use the 909s # * g_value_get_*() functions 909s # */ 909s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 909s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 909s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 909s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 909s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 909s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 909s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 909s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 909s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 909s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 909s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 909s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 909s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 909s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 909s # #endif /* !G_ENABLE_DEBUG */ 909s # 909s # typedef struct 909s # { 909s # GDBusArgInfo parent_struct; 909s # gboolean use_gvariant; 909s # } _ExtendedGDBusArgInfo; 909s # 909s # typedef struct 909s # { 909s # GDBusMethodInfo parent_struct; 909s # const gchar *signal_name; 909s # gboolean pass_fdlist; 909s # } _ExtendedGDBusMethodInfo; 909s # 909s # typedef struct 909s # { 909s # GDBusSignalInfo parent_struct; 909s # const gchar *signal_name; 909s # } _ExtendedGDBusSignalInfo; 909s # 909s # typedef struct 909s # { 909s # GDBusPropertyInfo parent_struct; 909s # const gchar *hyphen_name; 909s # guint use_gvariant : 1; 909s # guint emits_changed_signal : 1; 909s # } _ExtendedGDBusPropertyInfo; 909s # 909s # typedef struct 909s # { 909s # GDBusInterfaceInfo parent_struct; 909s # const gchar *hyphen_name; 909s # } _ExtendedGDBusInterfaceInfo; 909s # 909s # typedef struct 909s # { 909s # const _ExtendedGDBusPropertyInfo *info; 909s # guint prop_id; 909s # GValue orig_value; /* the value before the change */ 909s # } ChangedProperty; 909s # 909s # static void 909s # _changed_property_free (ChangedProperty *data) 909s # { 909s # g_value_unset (&data->orig_value); 909s # g_free (data); 909s # } 909s # 909s # static gboolean 909s # _g_strv_equal0 (gchar **a, gchar **b) 909s # { 909s # gboolean ret = FALSE; 909s # guint n; 909s # if (a == NULL && b == NULL) 909s # { 909s # ret = TRUE; 909s # goto out; 909s # } 909s # if (a == NULL || b == NULL) 909s # goto out; 909s # if (g_strv_length (a) != g_strv_length (b)) 909s # goto out; 909s # for (n = 0; a[n] != NULL; n++) 909s # if (g_strcmp0 (a[n], b[n]) != 0) 909s # goto out; 909s # ret = TRUE; 909s # out: 909s # return ret; 909s # } 909s # 909s # static gboolean 909s # _g_variant_equal0 (GVariant *a, GVariant *b) 909s # { 909s # gboolean ret = FALSE; 909s # if (a == NULL && b == NULL) 909s # { 909s # ret = TRUE; 909s # goto out; 909s # } 909s # if (a == NULL || b == NULL) 909s # goto out; 909s # ret = g_variant_equal (a, b); 909s # out: 909s # return ret; 909s # } 909s # 909s # G_GNUC_UNUSED static gboolean 909s # _g_value_equal (const GValue *a, const GValue *b) 909s # { 909s # gboolean ret = FALSE; 909s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 909s # switch (G_VALUE_TYPE (a)) 909s # { 909s # case G_TYPE_BOOLEAN: 909s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 909s # break; 909s # case G_TYPE_UCHAR: 909s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 909s # break; 909s # case G_TYPE_INT: 909s # ret = (g_value_get_int (a) == g_value_get_int (b)); 909s # break; 909s # case G_TYPE_UINT: 909s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 909s # break; 909s # case G_TYPE_INT64: 909s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 909s # break; 909s # case G_TYPE_UINT64: 909s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 909s # break; 909s # case G_TYPE_DOUBLE: 909s # { 909s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 909s # gdouble da = g_value_get_double (a); 909s # gdouble db = g_value_get_double (b); 909s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 909s # } 909s # break; 909s # case G_TYPE_STRING: 909s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 909s # break; 909s # case G_TYPE_VARIANT: 909s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 909s # break; 909s # default: 909s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 909s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 909s # else 909s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 909s # break; 909s # } 909s # return ret; 909s # } 909s # 909s # static void 909s # _g_dbus_codegen_marshal_VOID__INT64 ( 909s # GClosure *closure, 909s # GValue *return_value G_GNUC_UNUSED, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint G_GNUC_UNUSED, 909s # void *marshal_data) 909s # { 909s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 909s # (void *data1, 909s # gint64 arg_an_x, 909s # void *data2); 909s # _GDbusCodegenMarshalVoid_Int64Func callback; 909s # GCClosure *cc = (GCClosure*) closure; 909s # void *data1, *data2; 909s # 909s # g_return_if_fail (n_param_values == 2); 909s # 909s # if (G_CCLOSURE_SWAP_DATA (closure)) 909s # { 909s # data1 = closure->data; 909s # data2 = g_value_peek_pointer (param_values + 0); 909s # } 909s # else 909s # { 909s # data1 = g_value_peek_pointer (param_values + 0); 909s # data2 = closure->data; 909s # } 909s # 909s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 909s # (marshal_data ? marshal_data : cc->callback); 909s # 909s # callback (data1, 909s # g_marshal_value_peek_int64 (param_values + 1), 909s # data2); 909s # } 909s # 909s # static void 909s # _g_dbus_codegen_marshal_VOID__UINT64 ( 909s # GClosure *closure, 909s # GValue *return_value G_GNUC_UNUSED, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint G_GNUC_UNUSED, 909s # void *marshal_data) 909s # { 909s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 909s # (void *data1, 909s # guint64 arg_an_t, 909s # void *data2); 909s # _GDbusCodegenMarshalVoid_Uint64Func callback; 909s # GCClosure *cc = (GCClosure*) closure; 909s # void *data1, *data2; 909s # 909s # g_return_if_fail (n_param_values == 2); 909s # 909s # if (G_CCLOSURE_SWAP_DATA (closure)) 909s # { 909s # data1 = closure->data; 909s # data2 = g_value_peek_pointer (param_values + 0); 909s # } 909s # else 909s # { 909s # data1 = g_value_peek_pointer (param_values + 0); 909s # data2 = closure->data; 909s # } 909s # 909s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 909s # (marshal_data ? marshal_data : cc->callback); 909s # 909s # callback (data1, 909s # g_marshal_value_peek_uint64 (param_values + 1), 909s # data2); 909s # } 909s # 909s # /* ------------------------------------------------------------------------ 909s # * Code for interface org.project.SignalingIface 909s # * ------------------------------------------------------------------------ 909s # */ 909s # 909s # /** 909s # * SECTION:OrgProjectSignalingIface 909s # * @title: OrgProjectSignalingIface 909s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 909s # * 909s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 909s # */ 909s # 909s # enum 909s # { 909s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 909s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 909s # }; 909s # 909s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 909s # 909s # /* ---- Introspection data for org.project.SignalingIface ---- */ 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 909s # { 909s # { 909s # -1, 909s # (gchar *) "NoArgSignal", 909s # NULL, 909s # NULL 909s # }, 909s # "no-arg-signal" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_b", 909s # (gchar *) "b", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalB", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-b" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_y", 909s # (gchar *) "y", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalY", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-y" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_n", 909s # (gchar *) "n", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalN", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-n" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_q", 909s # (gchar *) "q", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalQ", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-q" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_i", 909s # (gchar *) "i", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalI", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-i" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_u", 909s # (gchar *) "u", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalU", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-u" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_x", 909s # (gchar *) "x", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalX", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-x" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_t", 909s # (gchar *) "t", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalT", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-t" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_d", 909s # (gchar *) "d", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalD", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-d" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_s", 909s # (gchar *) "s", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalS", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-s" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_o", 909s # (gchar *) "o", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalO", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-o" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_g", 909s # (gchar *) "g", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalG", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-g" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_h", 909s # (gchar *) "h", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalH", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-h" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_ay", 909s # (gchar *) "ay", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalAY", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-ay" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_as", 909s # (gchar *) "as", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalAS", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-as" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_ao", 909s # (gchar *) "ao", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalAO", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-ao" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_aay", 909s # (gchar *) "aay", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalAAY", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-aay" 909s # }; 909s # 909s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 909s # { 909s # { 909s # -1, 909s # (gchar *) "an_asv", 909s # (gchar *) "a{sv}", 909s # NULL 909s # }, 909s # FALSE 909s # }; 909s # 909s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SingleArgSignalASV", 909s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 909s # NULL 909s # }, 909s # "single-arg-signal-asv" 909s # }; 909s # 909s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 909s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 909s # { 909s # { 909s # -1, 909s # (gchar *) "org.project.SignalingIface", 909s # NULL, 909s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 909s # NULL, 909s # NULL 909s # }, 909s # "org-project-signaling-iface", 909s # }; 909s # 909s # 909s # /** 909s # * org_project_signaling_iface_interface_info: 909s # * 909s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 909s # * 909s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 909s # */ 909s # GDBusInterfaceInfo * 909s # org_project_signaling_iface_interface_info (void) 909s # { 909s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_override_properties: 909s # * @klass: The class structure for a #GObject derived class. 909s # * @property_id_begin: The property id to assign to the first overridden property. 909s # * 909s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 909s # * The properties are overridden in the order they are defined. 909s # * 909s # * Returns: The last property id. 909s # */ 909s # guint 909s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 909s # { 909s # return property_id_begin - 1; 909s # } 909s # 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__VOID (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__BOOLEAN (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__UCHAR (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__INT (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__UINT (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__INT (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__UINT (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__DOUBLE (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__STRING (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__STRING (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__STRING (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__VARIANT (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__STRING (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__BOXED (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__BOXED (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__BOXED (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__VARIANT (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # 909s # /** 909s # * OrgProjectSignalingIface: 909s # * 909s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 909s # */ 909s # 909s # /** 909s # * OrgProjectSignalingIfaceIface: 909s # * @parent_iface: The parent interface. 909s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 909s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 909s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 909s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 909s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 909s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 909s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 909s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 909s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 909s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 909s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 909s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 909s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 909s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 909s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 909s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 909s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 909s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 909s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 909s # * 909s # * Virtual table for the D-Bus interface org.project.SignalingIface. 909s # */ 909s # 909s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 909s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 909s # 909s # static void 909s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 909s # { 909s # /* GObject signals for received D-Bus signals: */ 909s # /** 909s # * OrgProjectSignalingIface::no-arg-signal: 909s # * @object: A #OrgProjectSignalingIface. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 909s # g_signal_new ("no-arg-signal", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_no_arg_signal, 909s # G_TYPE_NONE, 909s # 0); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-b: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_b: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 909s # g_signal_new ("single-arg-signal-b", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_BOOLEAN); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-y: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_y: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 909s # g_signal_new ("single-arg-signal-y", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_UCHAR); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-n: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_n: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 909s # g_signal_new ("single-arg-signal-n", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_INT); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-q: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_q: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 909s # g_signal_new ("single-arg-signal-q", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_UINT); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-i: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_i: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 909s # g_signal_new ("single-arg-signal-i", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_INT); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-u: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_u: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 909s # g_signal_new ("single-arg-signal-u", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_UINT); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-x: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_x: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 909s # g_signal_new ("single-arg-signal-x", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_INT64); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-t: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_t: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 909s # g_signal_new ("single-arg-signal-t", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_UINT64); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-d: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_d: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 909s # g_signal_new ("single-arg-signal-d", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_DOUBLE); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-s: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_s: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 909s # g_signal_new ("single-arg-signal-s", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_STRING); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-o: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_o: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 909s # g_signal_new ("single-arg-signal-o", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_STRING); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-g: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_g: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 909s # g_signal_new ("single-arg-signal-g", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_STRING); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-h: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_h: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 909s # g_signal_new ("single-arg-signal-h", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_VARIANT); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-ay: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_ay: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 909s # g_signal_new ("single-arg-signal-ay", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_STRING); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-as: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_as: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 909s # g_signal_new ("single-arg-signal-as", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_STRV); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-ao: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_ao: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 909s # g_signal_new ("single-arg-signal-ao", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_STRV); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-aay: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_aay: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 909s # g_signal_new ("single-arg-signal-aay", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_STRV); 909s # 909s # /** 909s # * OrgProjectSignalingIface::single-arg-signal-asv: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_asv: Argument. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 909s # g_signal_new ("single-arg-signal-asv", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 909s # G_TYPE_NONE, 909s # 1, G_TYPE_VARIANT); 909s # 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_no_arg_signal: 909s # * @object: A #OrgProjectSignalingIface. 909s # * 909s # * Emits the "NoArgSignal" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_no_arg_signal ( 909s # OrgProjectSignalingIface *object) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_b: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_b: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalB" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_b ( 909s # OrgProjectSignalingIface *object, 909s # gboolean arg_an_b) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_y: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_y: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalY" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_y ( 909s # OrgProjectSignalingIface *object, 909s # guchar arg_an_y) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_n: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_n: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalN" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_n ( 909s # OrgProjectSignalingIface *object, 909s # gint16 arg_an_n) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_q: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_q: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalQ" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_q ( 909s # OrgProjectSignalingIface *object, 909s # guint16 arg_an_q) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_i: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_i: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalI" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_i ( 909s # OrgProjectSignalingIface *object, 909s # gint arg_an_i) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_u: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_u: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalU" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_u ( 909s # OrgProjectSignalingIface *object, 909s # guint arg_an_u) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_x: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_x: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalX" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_x ( 909s # OrgProjectSignalingIface *object, 909s # gint64 arg_an_x) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_t: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_t: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalT" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_t ( 909s # OrgProjectSignalingIface *object, 909s # guint64 arg_an_t) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_d: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_d: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalD" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_d ( 909s # OrgProjectSignalingIface *object, 909s # gdouble arg_an_d) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_s: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_s: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalS" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_s ( 909s # OrgProjectSignalingIface *object, 909s # const gchar *arg_an_s) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_o: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_o: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalO" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_o ( 909s # OrgProjectSignalingIface *object, 909s # const gchar *arg_an_o) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_g: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_g: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalG" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_g ( 909s # OrgProjectSignalingIface *object, 909s # const gchar *arg_an_g) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_h: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_h: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalH" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_h ( 909s # OrgProjectSignalingIface *object, 909s # GVariant *arg_an_h) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_ay: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_ay: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalAY" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_ay ( 909s # OrgProjectSignalingIface *object, 909s # const gchar *arg_an_ay) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_as: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_as: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalAS" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_as ( 909s # OrgProjectSignalingIface *object, 909s # const gchar *const *arg_an_as) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_ao: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_ao: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalAO" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_ao ( 909s # OrgProjectSignalingIface *object, 909s # const gchar *const *arg_an_ao) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_aay: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_aay: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalAAY" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_aay ( 909s # OrgProjectSignalingIface *object, 909s # const gchar *const *arg_an_aay) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_single_arg_signal_asv: 909s # * @object: A #OrgProjectSignalingIface. 909s # * @arg_an_asv: Argument to pass with the signal. 909s # * 909s # * Emits the "SingleArgSignalASV" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_single_arg_signal_asv ( 909s # OrgProjectSignalingIface *object, 909s # GVariant *arg_an_asv) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 909s # } 909s # 909s # /* ------------------------------------------------------------------------ */ 909s # 909s # /** 909s # * OrgProjectSignalingIfaceProxy: 909s # * 909s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 909s # */ 909s # 909s # /** 909s # * OrgProjectSignalingIfaceProxyClass: 909s # * @parent_class: The parent class. 909s # * 909s # * Class structure for #OrgProjectSignalingIfaceProxy. 909s # */ 909s # 909s # struct _OrgProjectSignalingIfaceProxyPrivate 909s # { 909s # GData *qdata; 909s # }; 909s # 909s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 909s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 909s # 909s # #else 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 909s # 909s # #endif 909s # static void 909s # org_project_signaling_iface_proxy_finalize (GObject *object) 909s # { 909s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 909s # g_datalist_clear (&proxy->priv->qdata); 909s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 909s # guint prop_id G_GNUC_UNUSED, 909s # GValue *value G_GNUC_UNUSED, 909s # GParamSpec *pspec G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 909s # guint prop_id G_GNUC_UNUSED, 909s # const GValue *value G_GNUC_UNUSED, 909s # GParamSpec *pspec G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 909s # const gchar *sender_name G_GNUC_UNUSED, 909s # const gchar *signal_name, 909s # GVariant *parameters) 909s # { 909s # _ExtendedGDBusSignalInfo *info; 909s # GVariantIter iter; 909s # GVariant *child; 909s # GValue *paramv; 909s # gsize num_params; 909s # gsize n; 909s # guint signal_id; 909s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 909s # if (info == NULL) 909s # return; 909s # num_params = g_variant_n_children (parameters); 909s # paramv = g_new0 (GValue, num_params + 1); 909s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 909s # g_value_set_object (¶mv[0], proxy); 909s # g_variant_iter_init (&iter, parameters); 909s # n = 1; 909s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 909s # { 909s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 909s # if (arg_info->use_gvariant) 909s # { 909s # g_value_init (¶mv[n], G_TYPE_VARIANT); 909s # g_value_set_variant (¶mv[n], child); 909s # n++; 909s # } 909s # else 909s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 909s # g_variant_unref (child); 909s # } 909s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 909s # g_signal_emitv (paramv, signal_id, 0, NULL); 909s # for (n = 0; n < num_params + 1; n++) 909s # g_value_unset (¶mv[n]); 909s # g_free (paramv); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 909s # GVariant *changed_properties, 909s # const gchar *const *invalidated_properties) 909s # { 909s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 909s # guint n; 909s # const gchar *key; 909s # GVariantIter *iter; 909s # _ExtendedGDBusPropertyInfo *info; 909s # g_variant_get (changed_properties, "a{sv}", &iter); 909s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 909s # { 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 909s # g_datalist_remove_data (&proxy->priv->qdata, key); 909s # if (info != NULL) 909s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 909s # } 909s # g_variant_iter_free (iter); 909s # for (n = 0; invalidated_properties[n] != NULL; n++) 909s # { 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 909s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 909s # if (info != NULL) 909s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 909s # } 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 909s # { 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 909s # #else 909s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 909s # #endif 909s # 909s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 909s # { 909s # GObjectClass *gobject_class; 909s # GDBusProxyClass *proxy_class; 909s # 909s # gobject_class = G_OBJECT_CLASS (klass); 909s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 909s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 909s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 909s # 909s # proxy_class = G_DBUS_PROXY_CLASS (klass); 909s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 909s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 909s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 909s # #endif 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new: 909s # * @connection: A #GDBusConnection. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 909s # * @user_data: User data to pass to @callback. 909s # * 909s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 909s # * 909s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 909s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 909s # * 909s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 909s # */ 909s # void 909s # org_project_signaling_iface_proxy_new ( 909s # GDBusConnection *connection, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GAsyncReadyCallback callback, 909s # gpointer user_data) 909s # { 909s # 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); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new_finish: 909s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 909s # * @error: Return location for error or %NULL 909s # * 909s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 909s # * 909s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectSignalingIface * 909s # org_project_signaling_iface_proxy_new_finish ( 909s # GAsyncResult *res, 909s # GError **error) 909s # { 909s # GObject *ret; 909s # GObject *source_object; 909s # source_object = g_async_result_get_source_object (res); 909s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 909s # g_object_unref (source_object); 909s # if (ret != NULL) 909s # return ORG_PROJECT_SIGNALING_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new_sync: 909s # * @connection: A #GDBusConnection. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @error: Return location for error or %NULL 909s # * 909s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 909s # * 909s # * The calling thread is blocked until a reply is received. 909s # * 909s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 909s # * 909s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectSignalingIface * 909s # org_project_signaling_iface_proxy_new_sync ( 909s # GDBusConnection *connection, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GError **error) 909s # { 909s # GInitable *ret; 909s # 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); 909s # if (ret != NULL) 909s # return ORG_PROJECT_SIGNALING_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new_for_bus: 909s # * @bus_type: A #GBusType. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: A bus name (well-known or unique). 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 909s # * @user_data: User data to pass to @callback. 909s # * 909s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 909s # * 909s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 909s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 909s # * 909s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 909s # */ 909s # void 909s # org_project_signaling_iface_proxy_new_for_bus ( 909s # GBusType bus_type, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GAsyncReadyCallback callback, 909s # gpointer user_data) 909s # { 909s # 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); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new_for_bus_finish: 909s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 909s # * @error: Return location for error or %NULL 909s # * 909s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 909s # * 909s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectSignalingIface * 909s # org_project_signaling_iface_proxy_new_for_bus_finish ( 909s # GAsyncResult *res, 909s # GError **error) 909s # { 909s # GObject *ret; 909s # GObject *source_object; 909s # source_object = g_async_result_get_source_object (res); 909s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 909s # g_object_unref (source_object); 909s # if (ret != NULL) 909s # return ORG_PROJECT_SIGNALING_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new_for_bus_sync: 909s # * @bus_type: A #GBusType. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: A bus name (well-known or unique). 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @error: Return location for error or %NULL 909s # * 909s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 909s # * 909s # * The calling thread is blocked until a reply is received. 909s # * 909s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 909s # * 909s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectSignalingIface * 909s # org_project_signaling_iface_proxy_new_for_bus_sync ( 909s # GBusType bus_type, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GError **error) 909s # { 909s # GInitable *ret; 909s # 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); 909s # if (ret != NULL) 909s # return ORG_PROJECT_SIGNALING_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # 909s # /* ------------------------------------------------------------------------ */ 909s # 909s # /** 909s # * OrgProjectSignalingIfaceSkeleton: 909s # * 909s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 909s # */ 909s # 909s # /** 909s # * OrgProjectSignalingIfaceSkeletonClass: 909s # * @parent_class: The parent class. 909s # * 909s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 909s # */ 909s # 909s # struct _OrgProjectSignalingIfaceSkeletonPrivate 909s # { 909s # GValue *properties; 909s # GList *changed_properties; 909s # GSource *changed_properties_idle_source; 909s # GMainContext *context; 909s # GMutex lock; 909s # }; 909s # 909s # static void 909s # _org_project_signaling_iface_skeleton_handle_method_call ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name, 909s # const gchar *method_name, 909s # GVariant *parameters, 909s # GDBusMethodInvocation *invocation, 909s # gpointer user_data) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 909s # _ExtendedGDBusMethodInfo *info; 909s # GVariantIter iter; 909s # GVariant *child; 909s # GValue *paramv; 909s # gsize num_params; 909s # guint num_extra; 909s # gsize n; 909s # guint signal_id; 909s # GValue return_value = G_VALUE_INIT; 909s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 909s # g_assert (info != NULL); 909s # num_params = g_variant_n_children (parameters); 909s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 909s # n = 0; 909s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 909s # g_value_set_object (¶mv[n++], skeleton); 909s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 909s # g_value_set_object (¶mv[n++], invocation); 909s # if (info->pass_fdlist) 909s # { 909s # #ifdef G_OS_UNIX 909s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 909s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 909s # #else 909s # g_assert_not_reached (); 909s # #endif 909s # } 909s # g_variant_iter_init (&iter, parameters); 909s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 909s # { 909s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 909s # if (arg_info->use_gvariant) 909s # { 909s # g_value_init (¶mv[n], G_TYPE_VARIANT); 909s # g_value_set_variant (¶mv[n], child); 909s # n++; 909s # } 909s # else 909s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 909s # g_variant_unref (child); 909s # } 909s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 909s # g_value_init (&return_value, G_TYPE_BOOLEAN); 909s # g_signal_emitv (paramv, signal_id, 0, &return_value); 909s # if (!g_value_get_boolean (&return_value)) 909s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 909s # g_value_unset (&return_value); 909s # for (n = 0; n < num_params + num_extra; n++) 909s # g_value_unset (¶mv[n]); 909s # g_free (paramv); 909s # } 909s # 909s # static GVariant * 909s # _org_project_signaling_iface_skeleton_handle_get_property ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name G_GNUC_UNUSED, 909s # const gchar *property_name, 909s # GError **error, 909s # gpointer user_data) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 909s # GValue value = G_VALUE_INIT; 909s # GParamSpec *pspec; 909s # _ExtendedGDBusPropertyInfo *info; 909s # GVariant *ret; 909s # ret = NULL; 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 909s # g_assert (info != NULL); 909s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 909s # if (pspec == NULL) 909s # { 909s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 909s # } 909s # else 909s # { 909s # g_value_init (&value, pspec->value_type); 909s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 909s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 909s # g_value_unset (&value); 909s # } 909s # return ret; 909s # } 909s # 909s # static gboolean 909s # _org_project_signaling_iface_skeleton_handle_set_property ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name G_GNUC_UNUSED, 909s # const gchar *property_name, 909s # GVariant *variant, 909s # GError **error, 909s # gpointer user_data) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 909s # GValue value = G_VALUE_INIT; 909s # GParamSpec *pspec; 909s # _ExtendedGDBusPropertyInfo *info; 909s # gboolean ret; 909s # ret = FALSE; 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 909s # g_assert (info != NULL); 909s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 909s # if (pspec == NULL) 909s # { 909s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 909s # } 909s # else 909s # { 909s # if (info->use_gvariant) 909s # g_value_set_variant (&value, variant); 909s # else 909s # g_dbus_gvariant_to_gvalue (variant, &value); 909s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 909s # g_value_unset (&value); 909s # ret = TRUE; 909s # } 909s # return ret; 909s # } 909s # 909s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 909s # { 909s # _org_project_signaling_iface_skeleton_handle_method_call, 909s # _org_project_signaling_iface_skeleton_handle_get_property, 909s # _org_project_signaling_iface_skeleton_handle_set_property, 909s # {NULL} 909s # }; 909s # 909s # static GDBusInterfaceInfo * 909s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 909s # { 909s # return org_project_signaling_iface_interface_info (); 909s # } 909s # 909s # static GDBusInterfaceVTable * 909s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 909s # { 909s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 909s # } 909s # 909s # static GVariant * 909s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 909s # 909s # GVariantBuilder builder; 909s # guint n; 909s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 909s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 909s # goto out; 909s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 909s # { 909s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 909s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 909s # { 909s # GVariant *value; 909s # 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); 909s # if (value != NULL) 909s # { 909s # g_variant_take_ref (value); 909s # g_variant_builder_add (&builder, "{sv}", info->name, value); 909s # g_variant_unref (value); 909s # } 909s # } 909s # } 909s # out: 909s # return g_variant_builder_end (&builder); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_no_arg_signal ( 909s # OrgProjectSignalingIface *object) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 909s # OrgProjectSignalingIface *object, 909s # gboolean arg_an_b) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 909s # arg_an_b)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 909s # OrgProjectSignalingIface *object, 909s # guchar arg_an_y) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 909s # arg_an_y)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 909s # OrgProjectSignalingIface *object, 909s # gint16 arg_an_n) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 909s # arg_an_n)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 909s # OrgProjectSignalingIface *object, 909s # guint16 arg_an_q) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 909s # arg_an_q)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 909s # OrgProjectSignalingIface *object, 909s # gint arg_an_i) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 909s # arg_an_i)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 909s # OrgProjectSignalingIface *object, 909s # guint arg_an_u) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 909s # arg_an_u)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 909s # OrgProjectSignalingIface *object, 909s # gint64 arg_an_x) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 909s # arg_an_x)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 909s # OrgProjectSignalingIface *object, 909s # guint64 arg_an_t) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 909s # arg_an_t)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 909s # OrgProjectSignalingIface *object, 909s # gdouble arg_an_d) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 909s # arg_an_d)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 909s # OrgProjectSignalingIface *object, 909s # const gchar *arg_an_s) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 909s # arg_an_s)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 909s # OrgProjectSignalingIface *object, 909s # const gchar *arg_an_o) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 909s # arg_an_o)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 909s # OrgProjectSignalingIface *object, 909s # const gchar *arg_an_g) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 909s # arg_an_g)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 909s # OrgProjectSignalingIface *object, 909s # GVariant *arg_an_h) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 909s # arg_an_h)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 909s # OrgProjectSignalingIface *object, 909s # const gchar *arg_an_ay) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 909s # arg_an_ay)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 909s # OrgProjectSignalingIface *object, 909s # const gchar *const *arg_an_as) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 909s # arg_an_as)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 909s # OrgProjectSignalingIface *object, 909s # const gchar *const *arg_an_ao) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 909s # arg_an_ao)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 909s # OrgProjectSignalingIface *object, 909s # const gchar *const *arg_an_aay) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 909s # arg_an_aay)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 909s # OrgProjectSignalingIface *object, 909s # GVariant *arg_an_asv) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 909s # arg_an_asv)); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 909s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 909s # 909s # #else 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 909s # 909s # #endif 909s # static void 909s # org_project_signaling_iface_skeleton_finalize (GObject *object) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 909s # if (skeleton->priv->changed_properties_idle_source != NULL) 909s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 909s # g_main_context_unref (skeleton->priv->context); 909s # g_mutex_clear (&skeleton->priv->lock); 909s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 909s # { 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 909s # #else 909s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 909s # #endif 909s # 909s # g_mutex_init (&skeleton->priv->lock); 909s # skeleton->priv->context = g_main_context_ref_thread_default (); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 909s # { 909s # GObjectClass *gobject_class; 909s # GDBusInterfaceSkeletonClass *skeleton_class; 909s # 909s # gobject_class = G_OBJECT_CLASS (klass); 909s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 909s # 909s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 909s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 909s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 909s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 909s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 909s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 909s # #endif 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 909s # { 909s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 909s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 909s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 909s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 909s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 909s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 909s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 909s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 909s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 909s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 909s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 909s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 909s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 909s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 909s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 909s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 909s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 909s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 909s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_skeleton_new: 909s # * 909s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 909s # * 909s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 909s # */ 909s # OrgProjectSignalingIface * 909s # org_project_signaling_iface_skeleton_new (void) 909s # { 909s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 909s # } 909s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 909s # tmpdir: /tmp/tmpmkhaxnlt 909s # codegen: /usr/bin/gdbus-codegen 909s # /tmp/tmpmkhaxnlt/tmpjt8003oc.xml: 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmkhaxnlt/tmpjt8003oc.xml', '--output', '-', '--body'] 909s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 909s # Output: /* 909s # * This file is generated by gdbus-codegen, do not modify it. 909s # * 909s # * The license of this code is the same as for the D-Bus interface description 909s # * it was derived from. Note that it links to GLib, so must comply with the 909s # * LGPL linking clauses. 909s # */ 909s # 909s # #ifdef HAVE_CONFIG_H 909s # # include "config.h" 909s # #endif 909s # 909s # #include 909s # #ifdef G_OS_UNIX 909s # # include 909s # #endif 909s # 909s # #ifdef G_ENABLE_DEBUG 909s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 909s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 909s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 909s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 909s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 909s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 909s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 909s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 909s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 909s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 909s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 909s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 909s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 909s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 909s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 909s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 909s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 909s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 909s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 909s # #else /* !G_ENABLE_DEBUG */ 909s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 909s # * Do not access GValues directly in your code. Instead, use the 909s # * g_value_get_*() functions 909s # */ 909s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 909s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 909s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 909s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 909s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 909s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 909s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 909s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 909s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 909s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 909s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 909s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 909s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 909s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 909s # #endif /* !G_ENABLE_DEBUG */ 909s # 909s # typedef struct 909s # { 909s # GDBusArgInfo parent_struct; 909s # gboolean use_gvariant; 909s # } _ExtendedGDBusArgInfo; 909s # 909s # typedef struct 909s # { 909s # GDBusMethodInfo parent_struct; 909s # const gchar *signal_name; 909s # gboolean pass_fdlist; 909s # } _ExtendedGDBusMethodInfo; 909s # 909s # typedef struct 909s # { 909s # GDBusSignalInfo parent_struct; 909s # const gchar *signal_name; 909s # } _ExtendedGDBusSignalInfo; 909s # 909s # typedef struct 909s # { 909s # GDBusPropertyInfo parent_struct; 909s # const gchar *hyphen_name; 909s # guint use_gvariant : 1; 909s # guint emits_changed_signal : 1; 909s # } _ExtendedGDBusPropertyInfo; 909s # 909s # typedef struct 909s # { 909s # GDBusInterfaceInfo parent_struct; 909s # const gchar *hyphen_name; 909s # } _ExtendedGDBusInterfaceInfo; 909s # 909s # typedef struct 909s # { 909s # const _ExtendedGDBusPropertyInfo *info; 909s # guint prop_id; 909s # GValue orig_value; /* the value before the change */ 909s # } ChangedProperty; 909s # 909s # static void 909s # _changed_property_free (ChangedProperty *data) 909s # { 909s # g_value_unset (&data->orig_value); 909s # g_free (data); 909s # } 909s # 909s # static gboolean 909s # _g_strv_equal0 (gchar **a, gchar **b) 909s # { 909s # gboolean ret = FALSE; 909s # guint n; 909s # if (a == NULL && b == NULL) 909s # { 909s # ret = TRUE; 909s # goto out; 909s # } 909s # if (a == NULL || b == NULL) 909s # goto out; 909s # if (g_strv_length (a) != g_strv_length (b)) 909s # goto out; 909s # for (n = 0; a[n] != NULL; n++) 909s # if (g_strcmp0 (a[n], b[n]) != 0) 909s # goto out; 909s # ret = TRUE; 909s # out: 909s # return ret; 909s # } 909s # 909s # static gboolean 909s # _g_variant_equal0 (GVariant *a, GVariant *b) 909s # { 909s # gboolean ret = FALSE; 909s # if (a == NULL && b == NULL) 909s # { 909s # ret = TRUE; 909s # goto out; 909s # } 909s # if (a == NULL || b == NULL) 909s # goto out; 909s # ret = g_variant_equal (a, b); 909s # out: 909s # return ret; 909s # } 909s # 909s # G_GNUC_UNUSED static gboolean 909s # _g_value_equal (const GValue *a, const GValue *b) 909s # { 909s # gboolean ret = FALSE; 909s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 909s # switch (G_VALUE_TYPE (a)) 909s # { 909s # case G_TYPE_BOOLEAN: 909s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 909s # break; 909s # case G_TYPE_UCHAR: 909s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 909s # break; 909s # case G_TYPE_INT: 909s # ret = (g_value_get_int (a) == g_value_get_int (b)); 909s # break; 909s # case G_TYPE_UINT: 909s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 909s # break; 909s # case G_TYPE_INT64: 909s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 909s # break; 909s # case G_TYPE_UINT64: 909s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 909s # break; 909s # case G_TYPE_DOUBLE: 909s # { 909s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 909s # gdouble da = g_value_get_double (a); 909s # gdouble db = g_value_get_double (b); 909s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 909s # } 909s # break; 909s # case G_TYPE_STRING: 909s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 909s # break; 909s # case G_TYPE_VARIANT: 909s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 909s # break; 909s # default: 909s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 909s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 909s # else 909s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 909s # break; 909s # } 909s # return ret; 909s # } 909s # 909s # /* ------------------------------------------------------------------------ 909s # * Code for interface org.project.UsefulInterface 909s # * ------------------------------------------------------------------------ 909s # */ 909s # 909s # /** 909s # * SECTION:OrgProjectUsefulInterface 909s # * @title: OrgProjectUsefulInterface 909s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 909s # * 909s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 909s # */ 909s # 909s # enum 909s # { 909s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 909s # }; 909s # 909s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 909s # 909s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SimpleSignal", 909s # NULL, 909s # NULL 909s # }, 909s # "simple-signal" 909s # }; 909s # 909s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 909s # { 909s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 909s # { 909s # { 909s # -1, 909s # (gchar *) "org.project.UsefulInterface", 909s # NULL, 909s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 909s # NULL, 909s # NULL 909s # }, 909s # "org-project-useful-interface", 909s # }; 909s # 909s # 909s # /** 909s # * org_project_useful_interface_interface_info: 909s # * 909s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 909s # * 909s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 909s # */ 909s # GDBusInterfaceInfo * 909s # org_project_useful_interface_interface_info (void) 909s # { 909s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 909s # } 909s # 909s # /** 909s # * org_project_useful_interface_override_properties: 909s # * @klass: The class structure for a #GObject derived class. 909s # * @property_id_begin: The property id to assign to the first overridden property. 909s # * 909s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 909s # * The properties are overridden in the order they are defined. 909s # * 909s # * Returns: The last property id. 909s # */ 909s # guint 909s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 909s # { 909s # return property_id_begin - 1; 909s # } 909s # 909s # 909s # inline static void 909s # org_project_useful_interface_signal_marshal_simple_signal ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__VOID (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # 909s # /** 909s # * OrgProjectUsefulInterface: 909s # * 909s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 909s # */ 909s # 909s # /** 909s # * OrgProjectUsefulInterfaceIface: 909s # * @parent_iface: The parent interface. 909s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 909s # * 909s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 909s # */ 909s # 909s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 909s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 909s # 909s # static void 909s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 909s # { 909s # /* GObject signals for received D-Bus signals: */ 909s # /** 909s # * OrgProjectUsefulInterface::simple-signal: 909s # * @object: A #OrgProjectUsefulInterface. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 909s # g_signal_new ("simple-signal", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 909s # NULL, 909s # NULL, 909s # org_project_useful_interface_signal_marshal_simple_signal, 909s # G_TYPE_NONE, 909s # 0); 909s # 909s # } 909s # 909s # /** 909s # * org_project_useful_interface_emit_simple_signal: 909s # * @object: A #OrgProjectUsefulInterface. 909s # * 909s # * Emits the "SimpleSignal" D-Bus signal. 909s # */ 909s # void 909s # org_project_useful_interface_emit_simple_signal ( 909s # OrgProjectUsefulInterface *object) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 909s # } 909s # 909s # /* ------------------------------------------------------------------------ */ 909s # 909s # /** 909s # * OrgProjectUsefulInterfaceProxy: 909s # * 909s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 909s # */ 909s # 909s # /** 909s # * OrgProjectUsefulInterfaceProxyClass: 909s # * @parent_class: The parent class. 909s # * 909s # * Class structure for #OrgProjectUsefulInterfaceProxy. 909s # */ 909s # 909s # struct _OrgProjectUsefulInterfaceProxyPrivate 909s # { 909s # GData *qdata; 909s # }; 909s # 909s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 909s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 909s # 909s # #else 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 909s # 909s # #endif 909s # static void 909s # org_project_useful_interface_proxy_finalize (GObject *object) 909s # { 909s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 909s # g_datalist_clear (&proxy->priv->qdata); 909s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 909s # } 909s # 909s # static void 909s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 909s # guint prop_id G_GNUC_UNUSED, 909s # GValue *value G_GNUC_UNUSED, 909s # GParamSpec *pspec G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 909s # guint prop_id G_GNUC_UNUSED, 909s # const GValue *value G_GNUC_UNUSED, 909s # GParamSpec *pspec G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 909s # const gchar *sender_name G_GNUC_UNUSED, 909s # const gchar *signal_name, 909s # GVariant *parameters) 909s # { 909s # _ExtendedGDBusSignalInfo *info; 909s # GVariantIter iter; 909s # GVariant *child; 909s # GValue *paramv; 909s # gsize num_params; 909s # gsize n; 909s # guint signal_id; 909s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 909s # if (info == NULL) 909s # return; 909s # num_params = g_variant_n_children (parameters); 909s # paramv = g_new0 (GValue, num_params + 1); 909s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 909s # g_value_set_object (¶mv[0], proxy); 909s # g_variant_iter_init (&iter, parameters); 909s # n = 1; 909s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 909s # { 909s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 909s # if (arg_info->use_gvariant) 909s # { 909s # g_value_init (¶mv[n], G_TYPE_VARIANT); 909s # g_value_set_variant (¶mv[n], child); 909s # n++; 909s # } 909s # else 909s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 909s # g_variant_unref (child); 909s # } 909s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 909s # g_signal_emitv (paramv, signal_id, 0, NULL); 909s # for (n = 0; n < num_params + 1; n++) 909s # g_value_unset (¶mv[n]); 909s # g_free (paramv); 909s # } 909s # 909s # static void 909s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 909s # GVariant *changed_properties, 909s # const gchar *const *invalidated_properties) 909s # { 909s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 909s # guint n; 909s # const gchar *key; 909s # GVariantIter *iter; 909s # _ExtendedGDBusPropertyInfo *info; 909s # g_variant_get (changed_properties, "a{sv}", &iter); 909s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 909s # { 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 909s # g_datalist_remove_data (&proxy->priv->qdata, key); 909s # if (info != NULL) 909s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 909s # } 909s # g_variant_iter_free (iter); 909s # for (n = 0; invalidated_properties[n] != NULL; n++) 909s # { 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 909s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 909s # if (info != NULL) 909s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 909s # } 909s # } 909s # 909s # static void 909s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 909s # { 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 909s # #else 909s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 909s # #endif 909s # 909s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 909s # } 909s # 909s # static void 909s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 909s # { 909s # GObjectClass *gobject_class; 909s # GDBusProxyClass *proxy_class; 909s # 909s # gobject_class = G_OBJECT_CLASS (klass); 909s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 909s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 909s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 909s # 909s # proxy_class = G_DBUS_PROXY_CLASS (klass); 909s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 909s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 909s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 909s # #endif 909s # } 909s # 909s # static void 909s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # /** 909s # * org_project_useful_interface_proxy_new: 909s # * @connection: A #GDBusConnection. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 909s # * @user_data: User data to pass to @callback. 909s # * 909s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 909s # * 909s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 909s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 909s # * 909s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 909s # */ 909s # void 909s # org_project_useful_interface_proxy_new ( 909s # GDBusConnection *connection, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GAsyncReadyCallback callback, 909s # gpointer user_data) 909s # { 909s # g_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); 909s # } 909s # 909s # /** 909s # * org_project_useful_interface_proxy_new_finish: 909s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 909s # * @error: Return location for error or %NULL 909s # * 909s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 909s # * 909s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectUsefulInterface * 909s # org_project_useful_interface_proxy_new_finish ( 909s # GAsyncResult *res, 909s # GError **error) 909s # { 909s # GObject *ret; 909s # GObject *source_object; 909s # source_object = g_async_result_get_source_object (res); 909s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 909s # g_object_unref (source_object); 909s # if (ret != NULL) 909s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # /** 909s # * org_project_useful_interface_proxy_new_sync: 909s # * @connection: A #GDBusConnection. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @error: Return location for error or %NULL 909s # * 909s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 909s # * 909s # * The calling thread is blocked until a reply is received. 909s # * 909s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 909s # * 909s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectUsefulInterface * 909s # org_project_useful_interface_proxy_new_sync ( 909s # GDBusConnection *connection, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GError **error) 909s # { 909s # GInitable *ret; 909s # 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); 909s # if (ret != NULL) 909s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # 909s # /** 909s # * org_project_useful_interface_proxy_new_for_bus: 909s # * @bus_type: A #GBusType. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: A bus name (well-known or unique). 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 909s # * @user_data: User data to pass to @callback. 909s # * 909s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 909s # * 909s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 909s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 909s # * 909s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 909s # */ 909s # void 909s # org_project_useful_interface_proxy_new_for_bus ( 909s # GBusType bus_type, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GAsyncReadyCallback callback, 909s # gpointer user_data) 909s # { 909s # g_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); 909s # } 909s # 909s # /** 909s # * org_project_useful_interface_proxy_new_for_bus_finish: 909s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 909s # * @error: Return location for error or %NULL 909s # * 909s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 909s # * 909s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectUsefulInterface * 909s # org_project_useful_interface_proxy_new_for_bus_finish ( 909s # GAsyncResult *res, 909s # GError **error) 909s # { 909s # GObject *ret; 909s # GObject *source_object; 909s # source_object = g_async_result_get_source_object (res); 909s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 909s # g_object_unref (source_object); 909s # if (ret != NULL) 909s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # /** 909s # * org_project_useful_interface_proxy_new_for_bus_sync: 909s # * @bus_type: A #GBusType. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: A bus name (well-known or unique). 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @error: Return location for error or %NULL 909s # * 909s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 909s # * 909s # * The calling thread is blocked until a reply is received. 909s # * 909s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 909s # * 909s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectUsefulInterface * 909s # org_project_useful_interface_proxy_new_for_bus_sync ( 909s # GBusType bus_type, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GError **error) 909s # { 909s # GInitable *ret; 909s # 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); 909s # if (ret != NULL) 909s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # 909s # /* ------------------------------------------------------------------------ */ 909s # 909s # /** 909s # * OrgProjectUsefulInterfaceSkeleton: 909s # * 909s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 909s # */ 909s # 909s # /** 909s # * OrgProjectUsefulInterfaceSkeletonClass: 909s # * @parent_class: The parent class. 909s # * 909s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 909s # */ 909s # 909s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 909s # { 909s # GValue *properties; 909s # GList *changed_properties; 909s # GSource *changed_properties_idle_source; 909s # GMainContext *context; 909s # GMutex lock; 909s # }; 909s # 909s # static void 909s # _org_project_useful_interface_skeleton_handle_method_call ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name, 909s # const gchar *method_name, 909s # GVariant *parameters, 909s # GDBusMethodInvocation *invocation, 909s # gpointer user_data) 909s # { 909s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 909s # _ExtendedGDBusMethodInfo *info; 909s # GVariantIter iter; 909s # GVariant *child; 909s # GValue *paramv; 909s # gsize num_params; 909s # guint num_extra; 909s # gsize n; 909s # guint signal_id; 909s # GValue return_value = G_VALUE_INIT; 909s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 909s # g_assert (info != NULL); 909s # num_params = g_variant_n_children (parameters); 909s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 909s # n = 0; 909s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 909s # g_value_set_object (¶mv[n++], skeleton); 909s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 909s # g_value_set_object (¶mv[n++], invocation); 909s # if (info->pass_fdlist) 909s # { 909s # #ifdef G_OS_UNIX 909s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 909s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 909s # #else 909s # g_assert_not_reached (); 909s # #endif 909s # } 909s # g_variant_iter_init (&iter, parameters); 909s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 909s # { 909s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 909s # if (arg_info->use_gvariant) 909s # { 909s # g_value_init (¶mv[n], G_TYPE_VARIANT); 909s # g_value_set_variant (¶mv[n], child); 909s # n++; 909s # } 909s # else 909s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 909s # g_variant_unref (child); 909s # } 909s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 909s # g_value_init (&return_value, G_TYPE_BOOLEAN); 909s # g_signal_emitv (paramv, signal_id, 0, &return_value); 909s # if (!g_value_get_boolean (&return_value)) 909s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 909s # g_value_unset (&return_value); 909s # for (n = 0; n < num_params + num_extra; n++) 909s # g_value_unset (¶mv[n]); 909s # g_free (paramv); 909s # } 909s # 909s # static GVariant * 909s # _org_project_useful_interface_skeleton_handle_get_property ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name G_GNUC_UNUSED, 909s # const gchar *property_name, 909s # GError **error, 909s # gpointer user_data) 909s # { 909s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 909s # GValue value = G_VALUE_INIT; 909s # GParamSpec *pspec; 909s # _ExtendedGDBusPropertyInfo *info; 909s # GVariant *ret; 909s # ret = NULL; 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 909s # g_assert (info != NULL); 909s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 909s # if (pspec == NULL) 909s # { 909s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 909s # } 909s # else 909s # { 909s # g_value_init (&value, pspec->value_type); 909s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 909s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 909s # g_value_unset (&value); 909s # } 909s # return ret; 909s # } 909s # 909s # static gboolean 909s # _org_project_useful_interface_skeleton_handle_set_property ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name G_GNUC_UNUSED, 909s # const gchar *property_name, 909s # GVariant *variant, 909s # GError **error, 909s # gpointer user_data) 909s # { 909s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 909s # GValue value = G_VALUE_INIT; 909s # GParamSpec *pspec; 909s # _ExtendedGDBusPropertyInfo *info; 909s # gboolean ret; 909s # ret = FALSE; 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 909s # g_assert (info != NULL); 909s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 909s # if (pspec == NULL) 909s # { 909s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 909s # } 909s # else 909s # { 909s # if (info->use_gvariant) 909s # g_value_set_variant (&value, variant); 909s # else 909s # g_dbus_gvariant_to_gvalue (variant, &value); 909s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 909s # g_value_unset (&value); 909s # ret = TRUE; 909s # } 909s # return ret; 909s # } 909s # 909s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 909s # { 909s # _org_project_useful_interface_skeleton_handle_method_call, 909s # _org_project_useful_interface_skeleton_handle_get_property, 909s # _org_project_useful_interface_skeleton_handle_set_property, 909s # {NULL} 909s # }; 909s # 909s # static GDBusInterfaceInfo * 909s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 909s # { 909s # return org_project_useful_interface_interface_info (); 909s # } 909s # 909s # static GDBusInterfaceVTable * 909s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 909s # { 909s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 909s # } 909s # 909s # static GVariant * 909s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 909s # { 909s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 909s # 909s # GVariantBuilder builder; 909s # guint n; 909s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 909s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 909s # goto out; 909s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 909s # { 909s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 909s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 909s # { 909s # GVariant *value; 909s # 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); 909s # if (value != NULL) 909s # { 909s # g_variant_take_ref (value); 909s # g_variant_builder_add (&builder, "{sv}", info->name, value); 909s # g_variant_unref (value); 909s # } 909s # } 909s # } 909s # out: 909s # return g_variant_builder_end (&builder); 909s # } 909s # 909s # static void 909s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # _org_project_useful_interface_on_signal_simple_signal ( 909s # OrgProjectUsefulInterface *object) 909s # { 909s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 909s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 909s # 909s # #else 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 909s # 909s # #endif 909s # static void 909s # org_project_useful_interface_skeleton_finalize (GObject *object) 909s # { 909s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 909s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 909s # if (skeleton->priv->changed_properties_idle_source != NULL) 909s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 909s # g_main_context_unref (skeleton->priv->context); 909s # g_mutex_clear (&skeleton->priv->lock); 909s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 909s # } 909s # 909s # static void 909s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 909s # { 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 909s # #else 909s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 909s # #endif 909s # 909s # g_mutex_init (&skeleton->priv->lock); 909s # skeleton->priv->context = g_main_context_ref_thread_default (); 909s # } 909s # 909s # static void 909s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 909s # { 909s # GObjectClass *gobject_class; 909s # GDBusInterfaceSkeletonClass *skeleton_class; 909s # 909s # gobject_class = G_OBJECT_CLASS (klass); 909s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 909s # 909s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 909s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 909s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 909s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 909s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 909s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 909s # #endif 909s # } 909s # 909s # static void 909s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 909s # { 909s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 909s # } 909s # 909s # /** 909s # * org_project_useful_interface_skeleton_new: 909s # * 909s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 909s # * 909s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 909s # */ 909s # OrgProjectUsefulInterface * 909s # org_project_useful_interface_skeleton_new (void) 909s # { 909s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 909s # } 909s # 909s # /* ------------------------------------------------------------------------ 909s # * Code for interface org.project.OtherIface 909s # * ------------------------------------------------------------------------ 909s # */ 909s # 909s # /** 909s # * SECTION:OrgProjectOtherIface 909s # * @title: OrgProjectOtherIface 909s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 909s # * 909s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 909s # */ 909s # 909s # enum 909s # { 909s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 909s # }; 909s # 909s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 909s # 909s # /* ---- Introspection data for org.project.OtherIface ---- */ 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SimpleSignal", 909s # NULL, 909s # NULL 909s # }, 909s # "simple-signal" 909s # }; 909s # 909s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 909s # { 909s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 909s # { 909s # { 909s # -1, 909s # (gchar *) "org.project.OtherIface", 909s # NULL, 909s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 909s # NULL, 909s # NULL 909s # }, 909s # "org-project-other-iface", 909s # }; 909s # 909s # 909s # /** 909s # * org_project_other_iface_interface_info: 909s # * 909s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 909s # * 909s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 909s # */ 909s # GDBusInterfaceInfo * 909s # org_project_other_iface_interface_info (void) 909s # { 909s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 909s # } 909s # 909s # /** 909s # * org_project_other_iface_override_properties: 909s # * @klass: The class structure for a #GObject derived class. 909s # * @property_id_begin: The property id to assign to the first overridden property. 909s # * 909s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 909s # * The properties are overridden in the order they are defined. 909s # * 909s # * Returns: The last property id. 909s # */ 909s # guint 909s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 909s # { 909s # return property_id_begin - 1; 909s # } 909s # 909s # 909s # inline static void 909s # org_project_other_iface_signal_marshal_simple_signal ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__VOID (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # 909s # /** 909s # * OrgProjectOtherIface: 909s # * 909s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 909s # */ 909s # 909s # /** 909s # * OrgProjectOtherIfaceIface: 909s # * @parent_iface: The parent interface. 909s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 909s # * 909s # * Virtual table for the D-Bus interface org.project.OtherIface. 909s # */ 909s # 909s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 909s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 909s # 909s # static void 909s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 909s # { 909s # /* GObject signals for received D-Bus signals: */ 909s # /** 909s # * OrgProjectOtherIface::simple-signal: 909s # * @object: A #OrgProjectOtherIface. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 909s # g_signal_new ("simple-signal", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 909s # NULL, 909s # NULL, 909s # org_project_other_iface_signal_marshal_simple_signal, 909s # G_TYPE_NONE, 909s # 0); 909s # 909s # } 909s # 909s # /** 909s # * org_project_other_iface_emit_simple_signal: 909s # * @object: A #OrgProjectOtherIface. 909s # * 909s # * Emits the "SimpleSignal" D-Bus signal. 909s # */ 909s # void 909s # org_project_other_iface_emit_simple_signal ( 909s # OrgProjectOtherIface *object) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 909s # } 909s # 909s # /* ------------------------------------------------------------------------ */ 909s # 909s # /** 909s # * OrgProjectOtherIfaceProxy: 909s # * 909s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 909s # */ 909s # 909s # /** 909s # * OrgProjectOtherIfaceProxyClass: 909s # * @parent_class: The parent class. 909s # * 909s # * Class structure for #OrgProjectOtherIfaceProxy. 909s # */ 909s # 909s # struct _OrgProjectOtherIfaceProxyPrivate 909s # { 909s # GData *qdata; 909s # }; 909s # 909s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 909s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 909s # 909s # #else 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 909s # 909s # #endif 909s # static void 909s # org_project_other_iface_proxy_finalize (GObject *object) 909s # { 909s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 909s # g_datalist_clear (&proxy->priv->qdata); 909s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 909s # } 909s # 909s # static void 909s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 909s # guint prop_id G_GNUC_UNUSED, 909s # GValue *value G_GNUC_UNUSED, 909s # GParamSpec *pspec G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 909s # guint prop_id G_GNUC_UNUSED, 909s # const GValue *value G_GNUC_UNUSED, 909s # GParamSpec *pspec G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 909s # const gchar *sender_name G_GNUC_UNUSED, 909s # const gchar *signal_name, 909s # GVariant *parameters) 909s # { 909s # _ExtendedGDBusSignalInfo *info; 909s # GVariantIter iter; 909s # GVariant *child; 909s # GValue *paramv; 909s # gsize num_params; 909s # gsize n; 909s # guint signal_id; 909s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 909s # if (info == NULL) 909s # return; 909s # num_params = g_variant_n_children (parameters); 909s # paramv = g_new0 (GValue, num_params + 1); 909s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 909s # g_value_set_object (¶mv[0], proxy); 909s # g_variant_iter_init (&iter, parameters); 909s # n = 1; 909s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 909s # { 909s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 909s # if (arg_info->use_gvariant) 909s # { 909s # g_value_init (¶mv[n], G_TYPE_VARIANT); 909s # g_value_set_variant (¶mv[n], child); 909s # n++; 909s # } 909s # else 909s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 909s # g_variant_unref (child); 909s # } 909s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 909s # g_signal_emitv (paramv, signal_id, 0, NULL); 909s # for (n = 0; n < num_params + 1; n++) 909s # g_value_unset (¶mv[n]); 909s # g_free (paramv); 909s # } 909s # 909s # static void 909s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 909s # GVariant *changed_properties, 909s # const gchar *const *invalidated_properties) 909s # { 909s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 909s # guint n; 909s # const gchar *key; 909s # GVariantIter *iter; 909s # _ExtendedGDBusPropertyInfo *info; 909s # g_variant_get (changed_properties, "a{sv}", &iter); 909s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 909s # { 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 909s # g_datalist_remove_data (&proxy->priv->qdata, key); 909s # if (info != NULL) 909s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 909s # } 909s # g_variant_iter_free (iter); 909s # for (n = 0; invalidated_properties[n] != NULL; n++) 909s # { 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 909s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 909s # if (info != NULL) 909s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 909s # } 909s # } 909s # 909s # static void 909s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 909s # { 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 909s # #else 909s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 909s # #endif 909s # 909s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 909s # } 909s # 909s # static void 909s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 909s # { 909s # GObjectClass *gobject_class; 909s # GDBusProxyClass *proxy_class; 909s # 909s # gobject_class = G_OBJECT_CLASS (klass); 909s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 909s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 909s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 909s # 909s # proxy_class = G_DBUS_PROXY_CLASS (klass); 909s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 909s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 909s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 909s # #endif 909s # } 909s # 909s # static void 909s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # /** 909s # * org_project_other_iface_proxy_new: 909s # * @connection: A #GDBusConnection. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 909s # * @user_data: User data to pass to @callback. 909s # * 909s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 909s # * 909s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 909s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 909s # * 909s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 909s # */ 909s # void 909s # org_project_other_iface_proxy_new ( 909s # GDBusConnection *connection, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GAsyncReadyCallback callback, 909s # gpointer user_data) 909s # { 909s # 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); 909s # } 909s # 909s # /** 909s # * org_project_other_iface_proxy_new_finish: 909s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 909s # * @error: Return location for error or %NULL 909s # * 909s # * Finishes an operation started with org_project_other_iface_proxy_new(). 909s # * 909s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectOtherIface * 909s # org_project_other_iface_proxy_new_finish ( 909s # GAsyncResult *res, 909s # GError **error) 909s # { 909s # GObject *ret; 909s # GObject *source_object; 909s # source_object = g_async_result_get_source_object (res); 909s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 909s # g_object_unref (source_object); 909s # if (ret != NULL) 909s # return ORG_PROJECT_OTHER_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # /** 909s # * org_project_other_iface_proxy_new_sync: 909s # * @connection: A #GDBusConnection. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @error: Return location for error or %NULL 909s # * 909s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 909s # * 909s # * The calling thread is blocked until a reply is received. 909s # * 909s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 909s # * 909s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectOtherIface * 909s # org_project_other_iface_proxy_new_sync ( 909s # GDBusConnection *connection, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GError **error) 909s # { 909s # GInitable *ret; 909s # 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); 909s # if (ret != NULL) 909s # return ORG_PROJECT_OTHER_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # 909s # /** 909s # * org_project_other_iface_proxy_new_for_bus: 909s # * @bus_type: A #GBusType. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: A bus name (well-known or unique). 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 909s # * @user_data: User data to pass to @callback. 909s # * 909s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 909s # * 909s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 909s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 909s # * 909s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 909s # */ 909s # void 909s # org_project_other_iface_proxy_new_for_bus ( 909s # GBusType bus_type, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GAsyncReadyCallback callback, 909s # gpointer user_data) 909s # { 909s # 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); 909s # } 909s # 909s # /** 909s # * org_project_other_iface_proxy_new_for_bus_finish: 909s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 909s # * @error: Return location for error or %NULL 909s # * 909s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 909s # * 909s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectOtherIface * 909s # org_project_other_iface_proxy_new_for_bus_finish ( 909s # GAsyncResult *res, 909s # GError **error) 909s # { 909s # GObject *ret; 909s # GObject *source_object; 909s # source_object = g_async_result_get_source_object (res); 909s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 909s # g_object_unref (source_object); 909s # if (ret != NULL) 909s # return ORG_PROJECT_OTHER_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # /** 909s # * org_project_other_iface_proxy_new_for_bus_sync: 909s # * @bus_type: A #GBusType. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: A bus name (well-known or unique). 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @error: Return location for error or %NULL 909s # * 909s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 909s # * 909s # * The calling thread is blocked until a reply is received. 909s # * 909s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 909s # * 909s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectOtherIface * 909s # org_project_other_iface_proxy_new_for_bus_sync ( 909s # GBusType bus_type, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GError **error) 909s # { 909s # GInitable *ret; 909s # 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); 909s # if (ret != NULL) 909s # return ORG_PROJECT_OTHER_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # 909s # /* ------------------------------------------------------------------------ */ 909s # 909s # /** 909s # * OrgProjectOtherIfaceSkeleton: 909s # * 909s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 909s # */ 909s # 909s # /** 909s # * OrgProjectOtherIfaceSkeletonClass: 909s # * @parent_class: The parent class. 909s # * 909s # * Class structure for #OrgProjectOtherIfaceSkeleton. 909s # */ 909s # 909s # struct _OrgProjectOtherIfaceSkeletonPrivate 909s # { 909s # GValue *properties; 909s # GList *changed_properties; 909s # GSource *changed_properties_idle_source; 909s # GMainContext *context; 909s # GMutex lock; 909s # }; 909s # 909s # static void 909s # _org_project_other_iface_skeleton_handle_method_call ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name, 909s # const gchar *method_name, 909s # GVariant *parameters, 909s # GDBusMethodInvocation *invocation, 909s # gpointer user_data) 909s # { 909s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 909s # _ExtendedGDBusMethodInfo *info; 909s # GVariantIter iter; 909s # GVariant *child; 909s # GValue *paramv; 909s # gsize num_params; 909s # guint num_extra; 909s # gsize n; 909s # guint signal_id; 909s # GValue return_value = G_VALUE_INIT; 909s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 909s # g_assert (info != NULL); 909s # num_params = g_variant_n_children (parameters); 909s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 909s # n = 0; 909s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 909s # g_value_set_object (¶mv[n++], skeleton); 909s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 909s # g_value_set_object (¶mv[n++], invocation); 909s # if (info->pass_fdlist) 909s # { 909s # #ifdef G_OS_UNIX 909s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 909s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 909s # #else 909s # g_assert_not_reached (); 909s # #endif 909s # } 909s # g_variant_iter_init (&iter, parameters); 909s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 909s # { 909s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 909s # if (arg_info->use_gvariant) 909s # { 909s # g_value_init (¶mv[n], G_TYPE_VARIANT); 909s # g_value_set_variant (¶mv[n], child); 909s # n++; 909s # } 909s # else 909s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 909s # g_variant_unref (child); 909s # } 909s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 909s # g_value_init (&return_value, G_TYPE_BOOLEAN); 909s # g_signal_emitv (paramv, signal_id, 0, &return_value); 909s # if (!g_value_get_boolean (&return_value)) 909s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 909s # g_value_unset (&return_value); 909s # for (n = 0; n < num_params + num_extra; n++) 909s # g_value_unset (¶mv[n]); 909s # g_free (paramv); 909s # } 909s # 909s # static GVariant * 909s # _org_project_other_iface_skeleton_handle_get_property ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name G_GNUC_UNUSED, 909s # const gchar *property_name, 909s # GError **error, 909s # gpointer user_data) 909s # { 909s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 909s # GValue value = G_VALUE_INIT; 909s # GParamSpec *pspec; 909s # _ExtendedGDBusPropertyInfo *info; 909s # GVariant *ret; 909s # ret = NULL; 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 909s # g_assert (info != NULL); 909s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 909s # if (pspec == NULL) 909s # { 909s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 909s # } 909s # else 909s # { 909s # g_value_init (&value, pspec->value_type); 909s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 909s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 909s # g_value_unset (&value); 909s # } 909s # return ret; 909s # } 909s # 909s # static gboolean 909s # _org_project_other_iface_skeleton_handle_set_property ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name G_GNUC_UNUSED, 909s # const gchar *property_name, 909s # GVariant *variant, 909s # GError **error, 909s # gpointer user_data) 909s # { 909s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 909s # GValue value = G_VALUE_INIT; 909s # GParamSpec *pspec; 909s # _ExtendedGDBusPropertyInfo *info; 909s # gboolean ret; 909s # ret = FALSE; 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 909s # g_assert (info != NULL); 909s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 909s # if (pspec == NULL) 909s # { 909s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 909s # } 909s # else 909s # { 909s # if (info->use_gvariant) 909s # g_value_set_variant (&value, variant); 909s # else 909s # g_dbus_gvariant_to_gvalue (variant, &value); 909s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 909s # g_value_unset (&value); 909s # ret = TRUE; 909s # } 909s # return ret; 909s # } 909s # 909s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 909s # { 909s # _org_project_other_iface_skeleton_handle_method_call, 909s # _org_project_other_iface_skeleton_handle_get_property, 909s # _org_project_other_iface_skeleton_handle_set_property, 909s # {NULL} 909s # }; 909s # 909s # static GDBusInterfaceInfo * 909s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 909s # { 909s # return org_project_other_iface_interface_info (); 909s # } 909s # 909s # static GDBusInterfaceVTable * 909s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 909s # { 909s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 909s # } 909s # 909s # static GVariant * 909s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 909s # { 909s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 909s # 909s # GVariantBuilder builder; 909s # guint n; 909s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 909s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 909s # goto out; 909s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 909s # { 909s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 909s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 909s # { 909s # GVariant *value; 909s # 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); 909s # if (value != NULL) 909s # { 909s # g_variant_take_ref (value); 909s # g_variant_builder_add (&builder, "{sv}", info->name, value); 909s # g_variant_unref (value); 909s # } 909s # } 909s # } 909s # out: 909s # return g_variant_builder_end (&builder); 909s # } 909s # 909s # static void 909s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # _org_project_other_iface_on_signal_simple_signal ( 909s # OrgProjectOtherIface *object) 909s # { 909s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 909s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 909s # 909s # #else 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 909s # 909s # #endif 909s # static void 909s # org_project_other_iface_skeleton_finalize (GObject *object) 909s # { 909s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 909s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 909s # if (skeleton->priv->changed_properties_idle_source != NULL) 909s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 909s # g_main_context_unref (skeleton->priv->context); 909s # g_mutex_clear (&skeleton->priv->lock); 909s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 909s # } 909s # 909s # static void 909s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 909s # { 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 909s # #else 909s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 909s # #endif 909s # 909s # g_mutex_init (&skeleton->priv->lock); 909s # skeleton->priv->context = g_main_context_ref_thread_default (); 909s # } 909s # 909s # static void 909s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 909s # { 909s # GObjectClass *gobject_class; 909s # GDBusInterfaceSkeletonClass *skeleton_class; 909s # 909s # gobject_class = G_OBJECT_CLASS (klass); 909s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 909s # 909s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 909s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 909s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 909s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 909s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 909s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 909s # #endif 909s # } 909s # 909s # static void 909s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 909s # { 909s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 909s # } 909s # 909s # /** 909s # * org_project_other_iface_skeleton_new: 909s # * 909s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 909s # * 909s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 909s # */ 909s # OrgProjectOtherIface * 909s # org_project_other_iface_skeleton_new (void) 909s # { 909s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 909s # } 909s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 909s # tmpdir: /tmp/tmpe8hddoj2 909s # codegen: /usr/bin/gdbus-codegen 909s # /tmp/tmpe8hddoj2/tmpedlni0rw.xml: 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # 909s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe8hddoj2/tmpedlni0rw.xml', '--output', '-', '--body'] 909s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 909s # Output: /* 909s # * This file is generated by gdbus-codegen, do not modify it. 909s # * 909s # * The license of this code is the same as for the D-Bus interface description 909s # * it was derived from. Note that it links to GLib, so must comply with the 909s # * LGPL linking clauses. 909s # */ 909s # 909s # #ifdef HAVE_CONFIG_H 909s # # include "config.h" 909s # #endif 909s # 909s # #include 909s # #ifdef G_OS_UNIX 909s # # include 909s # #endif 909s # 909s # #ifdef G_ENABLE_DEBUG 909s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 909s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 909s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 909s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 909s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 909s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 909s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 909s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 909s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 909s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 909s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 909s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 909s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 909s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 909s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 909s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 909s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 909s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 909s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 909s # #else /* !G_ENABLE_DEBUG */ 909s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 909s # * Do not access GValues directly in your code. Instead, use the 909s # * g_value_get_*() functions 909s # */ 909s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 909s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 909s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 909s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 909s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 909s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 909s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 909s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 909s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 909s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 909s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 909s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 909s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 909s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 909s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 909s # #endif /* !G_ENABLE_DEBUG */ 909s # 909s # typedef struct 909s # { 909s # GDBusArgInfo parent_struct; 909s # gboolean use_gvariant; 909s # } _ExtendedGDBusArgInfo; 909s # 909s # typedef struct 909s # { 909s # GDBusMethodInfo parent_struct; 909s # const gchar *signal_name; 909s # gboolean pass_fdlist; 909s # } _ExtendedGDBusMethodInfo; 909s # 909s # typedef struct 909s # { 909s # GDBusSignalInfo parent_struct; 909s # const gchar *signal_name; 909s # } _ExtendedGDBusSignalInfo; 909s # 909s # typedef struct 909s # { 909s # GDBusPropertyInfo parent_struct; 909s # const gchar *hyphen_name; 909s # guint use_gvariant : 1; 909s # guint emits_changed_signal : 1; 909s # } _ExtendedGDBusPropertyInfo; 909s # 909s # typedef struct 909s # { 909s # GDBusInterfaceInfo parent_struct; 909s # const gchar *hyphen_name; 909s # } _ExtendedGDBusInterfaceInfo; 909s # 909s # typedef struct 909s # { 909s # const _ExtendedGDBusPropertyInfo *info; 909s # guint prop_id; 909s # GValue orig_value; /* the value before the change */ 909s # } ChangedProperty; 909s # 909s # static void 909s # _changed_property_free (ChangedProperty *data) 909s # { 909s # g_value_unset (&data->orig_value); 909s # g_free (data); 909s # } 909s # 909s # static gboolean 909s # _g_strv_equal0 (gchar **a, gchar **b) 909s # { 909s # gboolean ret = FALSE; 909s # guint n; 909s # if (a == NULL && b == NULL) 909s # { 909s # ret = TRUE; 909s # goto out; 909s # } 909s # if (a == NULL || b == NULL) 909s # goto out; 909s # if (g_strv_length (a) != g_strv_length (b)) 909s # goto out; 909s # for (n = 0; a[n] != NULL; n++) 909s # if (g_strcmp0 (a[n], b[n]) != 0) 909s # goto out; 909s # ret = TRUE; 909s # out: 909s # return ret; 909s # } 909s # 909s # static gboolean 909s # _g_variant_equal0 (GVariant *a, GVariant *b) 909s # { 909s # gboolean ret = FALSE; 909s # if (a == NULL && b == NULL) 909s # { 909s # ret = TRUE; 909s # goto out; 909s # } 909s # if (a == NULL || b == NULL) 909s # goto out; 909s # ret = g_variant_equal (a, b); 909s # out: 909s # return ret; 909s # } 909s # 909s # G_GNUC_UNUSED static gboolean 909s # _g_value_equal (const GValue *a, const GValue *b) 909s # { 909s # gboolean ret = FALSE; 909s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 909s # switch (G_VALUE_TYPE (a)) 909s # { 909s # case G_TYPE_BOOLEAN: 909s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 909s # break; 909s # case G_TYPE_UCHAR: 909s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 909s # break; 909s # case G_TYPE_INT: 909s # ret = (g_value_get_int (a) == g_value_get_int (b)); 909s # break; 909s # case G_TYPE_UINT: 909s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 909s # break; 909s # case G_TYPE_INT64: 909s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 909s # break; 909s # case G_TYPE_UINT64: 909s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 909s # break; 909s # case G_TYPE_DOUBLE: 909s # { 909s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 909s # gdouble da = g_value_get_double (a); 909s # gdouble db = g_value_get_double (b); 909s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 909s # } 909s # break; 909s # case G_TYPE_STRING: 909s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 909s # break; 909s # case G_TYPE_VARIANT: 909s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 909s # break; 909s # default: 909s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 909s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 909s # else 909s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 909s # break; 909s # } 909s # return ret; 909s # } 909s # 909s # /* ------------------------------------------------------------------------ 909s # * Code for interface org.project.SignalingIface 909s # * ------------------------------------------------------------------------ 909s # */ 909s # 909s # /** 909s # * SECTION:OrgProjectSignalingIface 909s # * @title: OrgProjectSignalingIface 909s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 909s # * 909s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 909s # */ 909s # 909s # enum 909s # { 909s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 909s # }; 909s # 909s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 909s # 909s # /* ---- Introspection data for org.project.SignalingIface ---- */ 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SimpleSignal", 909s # NULL, 909s # NULL 909s # }, 909s # "simple-signal" 909s # }; 909s # 909s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 909s # { 909s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 909s # { 909s # { 909s # -1, 909s # (gchar *) "org.project.SignalingIface", 909s # NULL, 909s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 909s # NULL, 909s # NULL 909s # }, 909s # "org-project-signaling-iface", 909s # }; 909s # 909s # 909s # /** 909s # * org_project_signaling_iface_interface_info: 909s # * 909s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 909s # * 909s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 909s # */ 909s # GDBusInterfaceInfo * 909s # org_project_signaling_iface_interface_info (void) 909s # { 909s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_override_properties: 909s # * @klass: The class structure for a #GObject derived class. 909s # * @property_id_begin: The property id to assign to the first overridden property. 909s # * 909s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 909s # * The properties are overridden in the order they are defined. 909s # * 909s # * Returns: The last property id. 909s # */ 909s # guint 909s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 909s # { 909s # return property_id_begin - 1; 909s # } 909s # 909s # 909s # inline static void 909s # org_project_signaling_iface_signal_marshal_simple_signal ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__VOID (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # 909s # /** 909s # * OrgProjectSignalingIface: 909s # * 909s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 909s # */ 909s # 909s # /** 909s # * OrgProjectSignalingIfaceIface: 909s # * @parent_iface: The parent interface. 909s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 909s # * 909s # * Virtual table for the D-Bus interface org.project.SignalingIface. 909s # */ 909s # 909s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 909s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 909s # 909s # static void 909s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 909s # { 909s # /* GObject signals for received D-Bus signals: */ 909s # /** 909s # * OrgProjectSignalingIface::simple-signal: 909s # * @object: A #OrgProjectSignalingIface. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 909s # g_signal_new ("simple-signal", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 909s # NULL, 909s # NULL, 909s # org_project_signaling_iface_signal_marshal_simple_signal, 909s # G_TYPE_NONE, 909s # 0); 909s # 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_emit_simple_signal: 909s # * @object: A #OrgProjectSignalingIface. 909s # * 909s # * Emits the "SimpleSignal" D-Bus signal. 909s # */ 909s # void 909s # org_project_signaling_iface_emit_simple_signal ( 909s # OrgProjectSignalingIface *object) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 909s # } 909s # 909s # /* ------------------------------------------------------------------------ */ 909s # 909s # /** 909s # * OrgProjectSignalingIfaceProxy: 909s # * 909s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 909s # */ 909s # 909s # /** 909s # * OrgProjectSignalingIfaceProxyClass: 909s # * @parent_class: The parent class. 909s # * 909s # * Class structure for #OrgProjectSignalingIfaceProxy. 909s # */ 909s # 909s # struct _OrgProjectSignalingIfaceProxyPrivate 909s # { 909s # GData *qdata; 909s # }; 909s # 909s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 909s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 909s # 909s # #else 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 909s # 909s # #endif 909s # static void 909s # org_project_signaling_iface_proxy_finalize (GObject *object) 909s # { 909s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 909s # g_datalist_clear (&proxy->priv->qdata); 909s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 909s # guint prop_id G_GNUC_UNUSED, 909s # GValue *value G_GNUC_UNUSED, 909s # GParamSpec *pspec G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 909s # guint prop_id G_GNUC_UNUSED, 909s # const GValue *value G_GNUC_UNUSED, 909s # GParamSpec *pspec G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 909s # const gchar *sender_name G_GNUC_UNUSED, 909s # const gchar *signal_name, 909s # GVariant *parameters) 909s # { 909s # _ExtendedGDBusSignalInfo *info; 909s # GVariantIter iter; 909s # GVariant *child; 909s # GValue *paramv; 909s # gsize num_params; 909s # gsize n; 909s # guint signal_id; 909s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 909s # if (info == NULL) 909s # return; 909s # num_params = g_variant_n_children (parameters); 909s # paramv = g_new0 (GValue, num_params + 1); 909s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 909s # g_value_set_object (¶mv[0], proxy); 909s # g_variant_iter_init (&iter, parameters); 909s # n = 1; 909s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 909s # { 909s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 909s # if (arg_info->use_gvariant) 909s # { 909s # g_value_init (¶mv[n], G_TYPE_VARIANT); 909s # g_value_set_variant (¶mv[n], child); 909s # n++; 909s # } 909s # else 909s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 909s # g_variant_unref (child); 909s # } 909s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 909s # g_signal_emitv (paramv, signal_id, 0, NULL); 909s # for (n = 0; n < num_params + 1; n++) 909s # g_value_unset (¶mv[n]); 909s # g_free (paramv); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 909s # GVariant *changed_properties, 909s # const gchar *const *invalidated_properties) 909s # { 909s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 909s # guint n; 909s # const gchar *key; 909s # GVariantIter *iter; 909s # _ExtendedGDBusPropertyInfo *info; 909s # g_variant_get (changed_properties, "a{sv}", &iter); 909s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 909s # { 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 909s # g_datalist_remove_data (&proxy->priv->qdata, key); 909s # if (info != NULL) 909s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 909s # } 909s # g_variant_iter_free (iter); 909s # for (n = 0; invalidated_properties[n] != NULL; n++) 909s # { 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 909s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 909s # if (info != NULL) 909s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 909s # } 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 909s # { 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 909s # #else 909s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 909s # #endif 909s # 909s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 909s # { 909s # GObjectClass *gobject_class; 909s # GDBusProxyClass *proxy_class; 909s # 909s # gobject_class = G_OBJECT_CLASS (klass); 909s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 909s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 909s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 909s # 909s # proxy_class = G_DBUS_PROXY_CLASS (klass); 909s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 909s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 909s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 909s # #endif 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new: 909s # * @connection: A #GDBusConnection. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 909s # * @user_data: User data to pass to @callback. 909s # * 909s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 909s # * 909s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 909s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 909s # * 909s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 909s # */ 909s # void 909s # org_project_signaling_iface_proxy_new ( 909s # GDBusConnection *connection, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GAsyncReadyCallback callback, 909s # gpointer user_data) 909s # { 909s # 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); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new_finish: 909s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 909s # * @error: Return location for error or %NULL 909s # * 909s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 909s # * 909s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectSignalingIface * 909s # org_project_signaling_iface_proxy_new_finish ( 909s # GAsyncResult *res, 909s # GError **error) 909s # { 909s # GObject *ret; 909s # GObject *source_object; 909s # source_object = g_async_result_get_source_object (res); 909s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 909s # g_object_unref (source_object); 909s # if (ret != NULL) 909s # return ORG_PROJECT_SIGNALING_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new_sync: 909s # * @connection: A #GDBusConnection. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @error: Return location for error or %NULL 909s # * 909s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 909s # * 909s # * The calling thread is blocked until a reply is received. 909s # * 909s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 909s # * 909s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectSignalingIface * 909s # org_project_signaling_iface_proxy_new_sync ( 909s # GDBusConnection *connection, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GError **error) 909s # { 909s # GInitable *ret; 909s # 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); 909s # if (ret != NULL) 909s # return ORG_PROJECT_SIGNALING_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new_for_bus: 909s # * @bus_type: A #GBusType. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: A bus name (well-known or unique). 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 909s # * @user_data: User data to pass to @callback. 909s # * 909s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 909s # * 909s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 909s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 909s # * 909s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 909s # */ 909s # void 909s # org_project_signaling_iface_proxy_new_for_bus ( 909s # GBusType bus_type, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GAsyncReadyCallback callback, 909s # gpointer user_data) 909s # { 909s # 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); 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new_for_bus_finish: 909s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 909s # * @error: Return location for error or %NULL 909s # * 909s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 909s # * 909s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectSignalingIface * 909s # org_project_signaling_iface_proxy_new_for_bus_finish ( 909s # GAsyncResult *res, 909s # GError **error) 909s # { 909s # GObject *ret; 909s # GObject *source_object; 909s # source_object = g_async_result_get_source_object (res); 909s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 909s # g_object_unref (source_object); 909s # if (ret != NULL) 909s # return ORG_PROJECT_SIGNALING_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_proxy_new_for_bus_sync: 909s # * @bus_type: A #GBusType. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: A bus name (well-known or unique). 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @error: Return location for error or %NULL 909s # * 909s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 909s # * 909s # * The calling thread is blocked until a reply is received. 909s # * 909s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 909s # * 909s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectSignalingIface * 909s # org_project_signaling_iface_proxy_new_for_bus_sync ( 909s # GBusType bus_type, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GError **error) 909s # { 909s # GInitable *ret; 909s # 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); 909s # if (ret != NULL) 909s # return ORG_PROJECT_SIGNALING_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # 909s # /* ------------------------------------------------------------------------ */ 909s # 909s # /** 909s # * OrgProjectSignalingIfaceSkeleton: 909s # * 909s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 909s # */ 909s # 909s # /** 909s # * OrgProjectSignalingIfaceSkeletonClass: 909s # * @parent_class: The parent class. 909s # * 909s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 909s # */ 909s # 909s # struct _OrgProjectSignalingIfaceSkeletonPrivate 909s # { 909s # GValue *properties; 909s # GList *changed_properties; 909s # GSource *changed_properties_idle_source; 909s # GMainContext *context; 909s # GMutex lock; 909s # }; 909s # 909s # static void 909s # _org_project_signaling_iface_skeleton_handle_method_call ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name, 909s # const gchar *method_name, 909s # GVariant *parameters, 909s # GDBusMethodInvocation *invocation, 909s # gpointer user_data) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 909s # _ExtendedGDBusMethodInfo *info; 909s # GVariantIter iter; 909s # GVariant *child; 909s # GValue *paramv; 909s # gsize num_params; 909s # guint num_extra; 909s # gsize n; 909s # guint signal_id; 909s # GValue return_value = G_VALUE_INIT; 909s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 909s # g_assert (info != NULL); 909s # num_params = g_variant_n_children (parameters); 909s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 909s # n = 0; 909s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 909s # g_value_set_object (¶mv[n++], skeleton); 909s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 909s # g_value_set_object (¶mv[n++], invocation); 909s # if (info->pass_fdlist) 909s # { 909s # #ifdef G_OS_UNIX 909s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 909s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 909s # #else 909s # g_assert_not_reached (); 909s # #endif 909s # } 909s # g_variant_iter_init (&iter, parameters); 909s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 909s # { 909s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 909s # if (arg_info->use_gvariant) 909s # { 909s # g_value_init (¶mv[n], G_TYPE_VARIANT); 909s # g_value_set_variant (¶mv[n], child); 909s # n++; 909s # } 909s # else 909s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 909s # g_variant_unref (child); 909s # } 909s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 909s # g_value_init (&return_value, G_TYPE_BOOLEAN); 909s # g_signal_emitv (paramv, signal_id, 0, &return_value); 909s # if (!g_value_get_boolean (&return_value)) 909s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 909s # g_value_unset (&return_value); 909s # for (n = 0; n < num_params + num_extra; n++) 909s # g_value_unset (¶mv[n]); 909s # g_free (paramv); 909s # } 909s # 909s # static GVariant * 909s # _org_project_signaling_iface_skeleton_handle_get_property ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name G_GNUC_UNUSED, 909s # const gchar *property_name, 909s # GError **error, 909s # gpointer user_data) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 909s # GValue value = G_VALUE_INIT; 909s # GParamSpec *pspec; 909s # _ExtendedGDBusPropertyInfo *info; 909s # GVariant *ret; 909s # ret = NULL; 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 909s # g_assert (info != NULL); 909s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 909s # if (pspec == NULL) 909s # { 909s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 909s # } 909s # else 909s # { 909s # g_value_init (&value, pspec->value_type); 909s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 909s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 909s # g_value_unset (&value); 909s # } 909s # return ret; 909s # } 909s # 909s # static gboolean 909s # _org_project_signaling_iface_skeleton_handle_set_property ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name G_GNUC_UNUSED, 909s # const gchar *property_name, 909s # GVariant *variant, 909s # GError **error, 909s # gpointer user_data) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 909s # GValue value = G_VALUE_INIT; 909s # GParamSpec *pspec; 909s # _ExtendedGDBusPropertyInfo *info; 909s # gboolean ret; 909s # ret = FALSE; 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 909s # g_assert (info != NULL); 909s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 909s # if (pspec == NULL) 909s # { 909s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 909s # } 909s # else 909s # { 909s # if (info->use_gvariant) 909s # g_value_set_variant (&value, variant); 909s # else 909s # g_dbus_gvariant_to_gvalue (variant, &value); 909s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 909s # g_value_unset (&value); 909s # ret = TRUE; 909s # } 909s # return ret; 909s # } 909s # 909s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 909s # { 909s # _org_project_signaling_iface_skeleton_handle_method_call, 909s # _org_project_signaling_iface_skeleton_handle_get_property, 909s # _org_project_signaling_iface_skeleton_handle_set_property, 909s # {NULL} 909s # }; 909s # 909s # static GDBusInterfaceInfo * 909s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 909s # { 909s # return org_project_signaling_iface_interface_info (); 909s # } 909s # 909s # static GDBusInterfaceVTable * 909s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 909s # { 909s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 909s # } 909s # 909s # static GVariant * 909s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 909s # 909s # GVariantBuilder builder; 909s # guint n; 909s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 909s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 909s # goto out; 909s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 909s # { 909s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 909s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 909s # { 909s # GVariant *value; 909s # 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); 909s # if (value != NULL) 909s # { 909s # g_variant_take_ref (value); 909s # g_variant_builder_add (&builder, "{sv}", info->name, value); 909s # g_variant_unref (value); 909s # } 909s # } 909s # } 909s # out: 909s # return g_variant_builder_end (&builder); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # _org_project_signaling_iface_on_signal_simple_signal ( 909s # OrgProjectSignalingIface *object) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 909s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 909s # 909s # #else 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 909s # 909s # #endif 909s # static void 909s # org_project_signaling_iface_skeleton_finalize (GObject *object) 909s # { 909s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 909s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 909s # if (skeleton->priv->changed_properties_idle_source != NULL) 909s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 909s # g_main_context_unref (skeleton->priv->context); 909s # g_mutex_clear (&skeleton->priv->lock); 909s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 909s # { 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 909s # #else 909s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 909s # #endif 909s # 909s # g_mutex_init (&skeleton->priv->lock); 909s # skeleton->priv->context = g_main_context_ref_thread_default (); 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 909s # { 909s # GObjectClass *gobject_class; 909s # GDBusInterfaceSkeletonClass *skeleton_class; 909s # 909s # gobject_class = G_OBJECT_CLASS (klass); 909s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 909s # 909s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 909s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 909s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 909s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 909s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 909s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 909s # #endif 909s # } 909s # 909s # static void 909s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 909s # { 909s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 909s # } 909s # 909s # /** 909s # * org_project_signaling_iface_skeleton_new: 909s # * 909s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 909s # * 909s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 909s # */ 909s # OrgProjectSignalingIface * 909s # org_project_signaling_iface_skeleton_new (void) 909s # { 909s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 909s # } 909s # 909s # /* ------------------------------------------------------------------------ 909s # * Code for interface org.project.OtherSignalingIface 909s # * ------------------------------------------------------------------------ 909s # */ 909s # 909s # /** 909s # * SECTION:OrgProjectOtherSignalingIface 909s # * @title: OrgProjectOtherSignalingIface 909s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 909s # * 909s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 909s # */ 909s # 909s # enum 909s # { 909s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 909s # }; 909s # 909s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 909s # 909s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 909s # 909s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 909s # { 909s # { 909s # -1, 909s # (gchar *) "SimpleSignal", 909s # NULL, 909s # NULL 909s # }, 909s # "simple-signal" 909s # }; 909s # 909s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 909s # { 909s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 909s # NULL 909s # }; 909s # 909s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 909s # { 909s # { 909s # -1, 909s # (gchar *) "org.project.OtherSignalingIface", 909s # NULL, 909s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 909s # NULL, 909s # NULL 909s # }, 909s # "org-project-other-signaling-iface", 909s # }; 909s # 909s # 909s # /** 909s # * org_project_other_signaling_iface_interface_info: 909s # * 909s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 909s # * 909s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 909s # */ 909s # GDBusInterfaceInfo * 909s # org_project_other_signaling_iface_interface_info (void) 909s # { 909s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 909s # } 909s # 909s # /** 909s # * org_project_other_signaling_iface_override_properties: 909s # * @klass: The class structure for a #GObject derived class. 909s # * @property_id_begin: The property id to assign to the first overridden property. 909s # * 909s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 909s # * The properties are overridden in the order they are defined. 909s # * 909s # * Returns: The last property id. 909s # */ 909s # guint 909s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 909s # { 909s # return property_id_begin - 1; 909s # } 909s # 909s # 909s # inline static void 909s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 909s # GClosure *closure, 909s # GValue *return_value, 909s # unsigned int n_param_values, 909s # const GValue *param_values, 909s # void *invocation_hint, 909s # void *marshal_data) 909s # { 909s # g_cclosure_marshal_VOID__VOID (closure, 909s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 909s # } 909s # 909s # 909s # /** 909s # * OrgProjectOtherSignalingIface: 909s # * 909s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 909s # */ 909s # 909s # /** 909s # * OrgProjectOtherSignalingIfaceIface: 909s # * @parent_iface: The parent interface. 909s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 909s # * 909s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 909s # */ 909s # 909s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 909s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 909s # 909s # static void 909s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 909s # { 909s # /* GObject signals for received D-Bus signals: */ 909s # /** 909s # * OrgProjectOtherSignalingIface::simple-signal: 909s # * @object: A #OrgProjectOtherSignalingIface. 909s # * 909s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 909s # * 909s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 909s # */ 909s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 909s # g_signal_new ("simple-signal", 909s # G_TYPE_FROM_INTERFACE (iface), 909s # G_SIGNAL_RUN_LAST, 909s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 909s # NULL, 909s # NULL, 909s # org_project_other_signaling_iface_signal_marshal_simple_signal, 909s # G_TYPE_NONE, 909s # 0); 909s # 909s # } 909s # 909s # /** 909s # * org_project_other_signaling_iface_emit_simple_signal: 909s # * @object: A #OrgProjectOtherSignalingIface. 909s # * 909s # * Emits the "SimpleSignal" D-Bus signal. 909s # */ 909s # void 909s # org_project_other_signaling_iface_emit_simple_signal ( 909s # OrgProjectOtherSignalingIface *object) 909s # { 909s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 909s # } 909s # 909s # /* ------------------------------------------------------------------------ */ 909s # 909s # /** 909s # * OrgProjectOtherSignalingIfaceProxy: 909s # * 909s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 909s # */ 909s # 909s # /** 909s # * OrgProjectOtherSignalingIfaceProxyClass: 909s # * @parent_class: The parent class. 909s # * 909s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 909s # */ 909s # 909s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 909s # { 909s # GData *qdata; 909s # }; 909s # 909s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 909s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 909s # 909s # #else 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 909s # 909s # #endif 909s # static void 909s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 909s # { 909s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 909s # g_datalist_clear (&proxy->priv->qdata); 909s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 909s # } 909s # 909s # static void 909s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 909s # guint prop_id G_GNUC_UNUSED, 909s # GValue *value G_GNUC_UNUSED, 909s # GParamSpec *pspec G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 909s # guint prop_id G_GNUC_UNUSED, 909s # const GValue *value G_GNUC_UNUSED, 909s # GParamSpec *pspec G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 909s # const gchar *sender_name G_GNUC_UNUSED, 909s # const gchar *signal_name, 909s # GVariant *parameters) 909s # { 909s # _ExtendedGDBusSignalInfo *info; 909s # GVariantIter iter; 909s # GVariant *child; 909s # GValue *paramv; 909s # gsize num_params; 909s # gsize n; 909s # guint signal_id; 909s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 909s # if (info == NULL) 909s # return; 909s # num_params = g_variant_n_children (parameters); 909s # paramv = g_new0 (GValue, num_params + 1); 909s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 909s # g_value_set_object (¶mv[0], proxy); 909s # g_variant_iter_init (&iter, parameters); 909s # n = 1; 909s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 909s # { 909s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 909s # if (arg_info->use_gvariant) 909s # { 909s # g_value_init (¶mv[n], G_TYPE_VARIANT); 909s # g_value_set_variant (¶mv[n], child); 909s # n++; 909s # } 909s # else 909s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 909s # g_variant_unref (child); 909s # } 909s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 909s # g_signal_emitv (paramv, signal_id, 0, NULL); 909s # for (n = 0; n < num_params + 1; n++) 909s # g_value_unset (¶mv[n]); 909s # g_free (paramv); 909s # } 909s # 909s # static void 909s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 909s # GVariant *changed_properties, 909s # const gchar *const *invalidated_properties) 909s # { 909s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 909s # guint n; 909s # const gchar *key; 909s # GVariantIter *iter; 909s # _ExtendedGDBusPropertyInfo *info; 909s # g_variant_get (changed_properties, "a{sv}", &iter); 909s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 909s # { 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 909s # g_datalist_remove_data (&proxy->priv->qdata, key); 909s # if (info != NULL) 909s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 909s # } 909s # g_variant_iter_free (iter); 909s # for (n = 0; invalidated_properties[n] != NULL; n++) 909s # { 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 909s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 909s # if (info != NULL) 909s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 909s # } 909s # } 909s # 909s # static void 909s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 909s # { 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 909s # #else 909s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 909s # #endif 909s # 909s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 909s # } 909s # 909s # static void 909s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 909s # { 909s # GObjectClass *gobject_class; 909s # GDBusProxyClass *proxy_class; 909s # 909s # gobject_class = G_OBJECT_CLASS (klass); 909s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 909s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 909s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 909s # 909s # proxy_class = G_DBUS_PROXY_CLASS (klass); 909s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 909s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 909s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 909s # #endif 909s # } 909s # 909s # static void 909s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # /** 909s # * org_project_other_signaling_iface_proxy_new: 909s # * @connection: A #GDBusConnection. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 909s # * @user_data: User data to pass to @callback. 909s # * 909s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 909s # * 909s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 909s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 909s # * 909s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 909s # */ 909s # void 909s # org_project_other_signaling_iface_proxy_new ( 909s # GDBusConnection *connection, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GAsyncReadyCallback callback, 909s # gpointer user_data) 909s # { 909s # 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); 909s # } 909s # 909s # /** 909s # * org_project_other_signaling_iface_proxy_new_finish: 909s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 909s # * @error: Return location for error or %NULL 909s # * 909s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 909s # * 909s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectOtherSignalingIface * 909s # org_project_other_signaling_iface_proxy_new_finish ( 909s # GAsyncResult *res, 909s # GError **error) 909s # { 909s # GObject *ret; 909s # GObject *source_object; 909s # source_object = g_async_result_get_source_object (res); 909s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 909s # g_object_unref (source_object); 909s # if (ret != NULL) 909s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # /** 909s # * org_project_other_signaling_iface_proxy_new_sync: 909s # * @connection: A #GDBusConnection. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @error: Return location for error or %NULL 909s # * 909s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 909s # * 909s # * The calling thread is blocked until a reply is received. 909s # * 909s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 909s # * 909s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectOtherSignalingIface * 909s # org_project_other_signaling_iface_proxy_new_sync ( 909s # GDBusConnection *connection, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GError **error) 909s # { 909s # GInitable *ret; 909s # 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); 909s # if (ret != NULL) 909s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # 909s # /** 909s # * org_project_other_signaling_iface_proxy_new_for_bus: 909s # * @bus_type: A #GBusType. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: A bus name (well-known or unique). 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 909s # * @user_data: User data to pass to @callback. 909s # * 909s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 909s # * 909s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 909s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 909s # * 909s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 909s # */ 909s # void 909s # org_project_other_signaling_iface_proxy_new_for_bus ( 909s # GBusType bus_type, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GAsyncReadyCallback callback, 909s # gpointer user_data) 909s # { 909s # 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); 909s # } 909s # 909s # /** 909s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 909s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 909s # * @error: Return location for error or %NULL 909s # * 909s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 909s # * 909s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectOtherSignalingIface * 909s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 909s # GAsyncResult *res, 909s # GError **error) 909s # { 909s # GObject *ret; 909s # GObject *source_object; 909s # source_object = g_async_result_get_source_object (res); 909s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 909s # g_object_unref (source_object); 909s # if (ret != NULL) 909s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # /** 909s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 909s # * @bus_type: A #GBusType. 909s # * @flags: Flags from the #GDBusProxyFlags enumeration. 909s # * @name: A bus name (well-known or unique). 909s # * @object_path: An object path. 909s # * @cancellable: (nullable): A #GCancellable or %NULL. 909s # * @error: Return location for error or %NULL 909s # * 909s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 909s # * 909s # * The calling thread is blocked until a reply is received. 909s # * 909s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 909s # * 909s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 909s # */ 909s # OrgProjectOtherSignalingIface * 909s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 909s # GBusType bus_type, 909s # GDBusProxyFlags flags, 909s # const gchar *name, 909s # const gchar *object_path, 909s # GCancellable *cancellable, 909s # GError **error) 909s # { 909s # GInitable *ret; 909s # 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); 909s # if (ret != NULL) 909s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 909s # else 909s # return NULL; 909s # } 909s # 909s # 909s # /* ------------------------------------------------------------------------ */ 909s # 909s # /** 909s # * OrgProjectOtherSignalingIfaceSkeleton: 909s # * 909s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 909s # */ 909s # 909s # /** 909s # * OrgProjectOtherSignalingIfaceSkeletonClass: 909s # * @parent_class: The parent class. 909s # * 909s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 909s # */ 909s # 909s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 909s # { 909s # GValue *properties; 909s # GList *changed_properties; 909s # GSource *changed_properties_idle_source; 909s # GMainContext *context; 909s # GMutex lock; 909s # }; 909s # 909s # static void 909s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name, 909s # const gchar *method_name, 909s # GVariant *parameters, 909s # GDBusMethodInvocation *invocation, 909s # gpointer user_data) 909s # { 909s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 909s # _ExtendedGDBusMethodInfo *info; 909s # GVariantIter iter; 909s # GVariant *child; 909s # GValue *paramv; 909s # gsize num_params; 909s # guint num_extra; 909s # gsize n; 909s # guint signal_id; 909s # GValue return_value = G_VALUE_INIT; 909s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 909s # g_assert (info != NULL); 909s # num_params = g_variant_n_children (parameters); 909s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 909s # n = 0; 909s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 909s # g_value_set_object (¶mv[n++], skeleton); 909s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 909s # g_value_set_object (¶mv[n++], invocation); 909s # if (info->pass_fdlist) 909s # { 909s # #ifdef G_OS_UNIX 909s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 909s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 909s # #else 909s # g_assert_not_reached (); 909s # #endif 909s # } 909s # g_variant_iter_init (&iter, parameters); 909s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 909s # { 909s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 909s # if (arg_info->use_gvariant) 909s # { 909s # g_value_init (¶mv[n], G_TYPE_VARIANT); 909s # g_value_set_variant (¶mv[n], child); 909s # n++; 909s # } 909s # else 909s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 909s # g_variant_unref (child); 909s # } 909s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 909s # g_value_init (&return_value, G_TYPE_BOOLEAN); 909s # g_signal_emitv (paramv, signal_id, 0, &return_value); 909s # if (!g_value_get_boolean (&return_value)) 909s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 909s # g_value_unset (&return_value); 909s # for (n = 0; n < num_params + num_extra; n++) 909s # g_value_unset (¶mv[n]); 909s # g_free (paramv); 909s # } 909s # 909s # static GVariant * 909s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name G_GNUC_UNUSED, 909s # const gchar *property_name, 909s # GError **error, 909s # gpointer user_data) 909s # { 909s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 909s # GValue value = G_VALUE_INIT; 909s # GParamSpec *pspec; 909s # _ExtendedGDBusPropertyInfo *info; 909s # GVariant *ret; 909s # ret = NULL; 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 909s # g_assert (info != NULL); 909s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 909s # if (pspec == NULL) 909s # { 909s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 909s # } 909s # else 909s # { 909s # g_value_init (&value, pspec->value_type); 909s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 909s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 909s # g_value_unset (&value); 909s # } 909s # return ret; 909s # } 909s # 909s # static gboolean 909s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 909s # GDBusConnection *connection G_GNUC_UNUSED, 909s # const gchar *sender G_GNUC_UNUSED, 909s # const gchar *object_path G_GNUC_UNUSED, 909s # const gchar *interface_name G_GNUC_UNUSED, 909s # const gchar *property_name, 909s # GVariant *variant, 909s # GError **error, 909s # gpointer user_data) 909s # { 909s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 909s # GValue value = G_VALUE_INIT; 909s # GParamSpec *pspec; 909s # _ExtendedGDBusPropertyInfo *info; 909s # gboolean ret; 909s # ret = FALSE; 909s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 909s # g_assert (info != NULL); 909s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 909s # if (pspec == NULL) 909s # { 909s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 909s # } 909s # else 909s # { 909s # if (info->use_gvariant) 909s # g_value_set_variant (&value, variant); 909s # else 909s # g_dbus_gvariant_to_gvalue (variant, &value); 909s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 909s # g_value_unset (&value); 909s # ret = TRUE; 909s # } 909s # return ret; 909s # } 909s # 909s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 909s # { 909s # _org_project_other_signaling_iface_skeleton_handle_method_call, 909s # _org_project_other_signaling_iface_skeleton_handle_get_property, 909s # _org_project_other_signaling_iface_skeleton_handle_set_property, 909s # {NULL} 909s # }; 909s # 909s # static GDBusInterfaceInfo * 909s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 909s # { 909s # return org_project_other_signaling_iface_interface_info (); 909s # } 909s # 909s # static GDBusInterfaceVTable * 909s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 909s # { 909s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 909s # } 909s # 909s # static GVariant * 909s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 909s # { 909s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 909s # 909s # GVariantBuilder builder; 909s # guint n; 909s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 909s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 909s # goto out; 909s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 909s # { 909s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 909s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 909s # { 909s # GVariant *value; 909s # 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); 909s # if (value != NULL) 909s # { 909s # g_variant_take_ref (value); 909s # g_variant_builder_add (&builder, "{sv}", info->name, value); 909s # g_variant_unref (value); 909s # } 909s # } 909s # } 909s # out: 909s # return g_variant_builder_end (&builder); 909s # } 909s # 909s # static void 909s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 909s # { 909s # } 909s # 909s # static void 909s # _org_project_other_signaling_iface_on_signal_simple_signal ( 909s # OrgProjectOtherSignalingIface *object) 909s # { 909s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 909s # 909s # GList *connections, *l; 909s # GVariant *signal_variant; 909s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 909s # 909s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 909s # for (l = connections; l != NULL; l = l->next) 909s # { 909s # GDBusConnection *connection = l->data; 909s # g_dbus_connection_emit_signal (connection, 909s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 909s # signal_variant, NULL); 909s # } 909s # g_variant_unref (signal_variant); 909s # g_list_free_full (connections, g_object_unref); 909s # } 909s # 909s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 909s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 909s # 909s # #else 909s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 909s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 909s # 909s # #endif 909s # static void 909s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 909s # { 909s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 909s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 909s # if (skeleton->priv->changed_properties_idle_source != NULL) 909s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 909s # g_main_context_unref (skeleton->priv->context); 909s # g_mutex_clear (&skeleton->priv->lock); 909s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 909s # } 909s # 909s # static void 909s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 909s # { 909s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 909s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 909s # #else 909s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 909s # #endif 909s # 909s # g_mutex_init (&skeleton->priv->lock); 909s # skeleton->priv->context = g_main_context_ref_thread_default (); 909s # } 909s # 909s # static void 909s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 909s # { 909s # GObjectClass *gobject_class; 909s # GDBusInterfaceSkeletonClass *skeleton_class; 909s # 909s # gobject_class = G_OBJECT_CLASS (klass); 909s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 909s # 909s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 909s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 909s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 909s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 909s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 909s # 909s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 909s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 909s # #endif 909s # } 909s # 909s # static void 909s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 909s # { 909s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 909s # } 909s # 909s # /** 909s # * org_project_other_signaling_iface_skeleton_new: 909s # * 909s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 909s # * 909s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 909s # */ 909s # OrgProjectOtherSignalingIface * 909s # org_project_other_signaling_iface_skeleton_new (void) 909s # { 909s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 909s # } 910s # Executing: glib/codegen.py.test 912s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 912s # tmpdir: /tmp/tmp22vpsdvx 912s # codegen: /usr/bin/gdbus-codegen 912s # /tmp/tmp22vpsdvx/tmp1jg1gpzh.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmp1jg1gpzh.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_b", 912s # (gchar *) "b", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalB", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-b" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__BOOLEAN (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-b: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_b: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 912s # g_signal_new ("single-arg-signal-b", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_BOOLEAN); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_b: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_b: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalB" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_b ( 912s # OrgProjectSignalingIface *object, 912s # gboolean arg_arg_b) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 912s # OrgProjectSignalingIface *object, 912s # gboolean arg_arg_b) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 912s # arg_arg_b)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmp_xeha4yb.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmp_xeha4yb.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_y", 912s # (gchar *) "y", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalY", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-y" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__UCHAR (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-y: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_y: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 912s # g_signal_new ("single-arg-signal-y", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_UCHAR); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_y: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_y: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalY" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_y ( 912s # OrgProjectSignalingIface *object, 912s # guchar arg_arg_y) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 912s # OrgProjectSignalingIface *object, 912s # guchar arg_arg_y) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 912s # arg_arg_y)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmphwiw0uu7.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmphwiw0uu7.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_n", 912s # (gchar *) "n", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalN", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-n" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__INT (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-n: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_n: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 912s # g_signal_new ("single-arg-signal-n", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_INT); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_n: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_n: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalN" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_n ( 912s # OrgProjectSignalingIface *object, 912s # gint16 arg_arg_n) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 912s # OrgProjectSignalingIface *object, 912s # gint16 arg_arg_n) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 912s # arg_arg_n)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmp_jpp8owf.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmp_jpp8owf.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_q", 912s # (gchar *) "q", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalQ", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-q" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__UINT (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-q: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_q: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 912s # g_signal_new ("single-arg-signal-q", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_UINT); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_q: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_q: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalQ" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_q ( 912s # OrgProjectSignalingIface *object, 912s # guint16 arg_arg_q) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 912s # OrgProjectSignalingIface *object, 912s # guint16 arg_arg_q) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 912s # arg_arg_q)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmpf0pwod_u.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmpf0pwod_u.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_i", 912s # (gchar *) "i", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalI", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-i" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__INT (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-i: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_i: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 912s # g_signal_new ("single-arg-signal-i", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_INT); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_i: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_i: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalI" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_i ( 912s # OrgProjectSignalingIface *object, 912s # gint arg_arg_i) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 912s # OrgProjectSignalingIface *object, 912s # gint arg_arg_i) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 912s # arg_arg_i)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmppho52j92.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmppho52j92.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_u", 912s # (gchar *) "u", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalU", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-u" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__UINT (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-u: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_u: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 912s # g_signal_new ("single-arg-signal-u", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_UINT); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_u: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_u: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalU" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_u ( 912s # OrgProjectSignalingIface *object, 912s # guint arg_arg_u) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 912s # OrgProjectSignalingIface *object, 912s # guint arg_arg_u) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 912s # arg_arg_u)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmpd5gu6xy4.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmpd5gu6xy4.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # static void 912s # _g_dbus_codegen_marshal_VOID__INT64 ( 912s # GClosure *closure, 912s # GValue *return_value G_GNUC_UNUSED, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint G_GNUC_UNUSED, 912s # void *marshal_data) 912s # { 912s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 912s # (void *data1, 912s # gint64 arg_arg_x, 912s # void *data2); 912s # _GDbusCodegenMarshalVoid_Int64Func callback; 912s # GCClosure *cc = (GCClosure*) closure; 912s # void *data1, *data2; 912s # 912s # g_return_if_fail (n_param_values == 2); 912s # 912s # if (G_CCLOSURE_SWAP_DATA (closure)) 912s # { 912s # data1 = closure->data; 912s # data2 = g_value_peek_pointer (param_values + 0); 912s # } 912s # else 912s # { 912s # data1 = g_value_peek_pointer (param_values + 0); 912s # data2 = closure->data; 912s # } 912s # 912s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 912s # (marshal_data ? marshal_data : cc->callback); 912s # 912s # callback (data1, 912s # g_marshal_value_peek_int64 (param_values + 1), 912s # data2); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_x", 912s # (gchar *) "x", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalX", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-x" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-x: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_x: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 912s # g_signal_new ("single-arg-signal-x", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_INT64); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_x: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_x: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalX" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_x ( 912s # OrgProjectSignalingIface *object, 912s # gint64 arg_arg_x) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 912s # OrgProjectSignalingIface *object, 912s # gint64 arg_arg_x) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 912s # arg_arg_x)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmpi8e0jd_e.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmpi8e0jd_e.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # static void 912s # _g_dbus_codegen_marshal_VOID__UINT64 ( 912s # GClosure *closure, 912s # GValue *return_value G_GNUC_UNUSED, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint G_GNUC_UNUSED, 912s # void *marshal_data) 912s # { 912s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 912s # (void *data1, 912s # guint64 arg_arg_t, 912s # void *data2); 912s # _GDbusCodegenMarshalVoid_Uint64Func callback; 912s # GCClosure *cc = (GCClosure*) closure; 912s # void *data1, *data2; 912s # 912s # g_return_if_fail (n_param_values == 2); 912s # 912s # if (G_CCLOSURE_SWAP_DATA (closure)) 912s # { 912s # data1 = closure->data; 912s # data2 = g_value_peek_pointer (param_values + 0); 912s # } 912s # else 912s # { 912s # data1 = g_value_peek_pointer (param_values + 0); 912s # data2 = closure->data; 912s # } 912s # 912s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 912s # (marshal_data ? marshal_data : cc->callback); 912s # 912s # callback (data1, 912s # g_marshal_value_peek_uint64 (param_values + 1), 912s # data2); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_t", 912s # (gchar *) "t", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalT", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-t" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-t: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_t: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 912s # g_signal_new ("single-arg-signal-t", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_UINT64); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_t: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_t: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalT" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_t ( 912s # OrgProjectSignalingIface *object, 912s # guint64 arg_arg_t) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 912s # OrgProjectSignalingIface *object, 912s # guint64 arg_arg_t) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 912s # arg_arg_t)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmpk2n58i29.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmpk2n58i29.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_d", 912s # (gchar *) "d", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalD", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-d" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__DOUBLE (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-d: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_d: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 912s # g_signal_new ("single-arg-signal-d", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_DOUBLE); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_d: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_d: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalD" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_d ( 912s # OrgProjectSignalingIface *object, 912s # gdouble arg_arg_d) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 912s # OrgProjectSignalingIface *object, 912s # gdouble arg_arg_d) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 912s # arg_arg_d)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmpv_fngmjr.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmpv_fngmjr.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_s", 912s # (gchar *) "s", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalS", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-s" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__STRING (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-s: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_s: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 912s # g_signal_new ("single-arg-signal-s", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_STRING); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_s: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_s: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalS" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_s ( 912s # OrgProjectSignalingIface *object, 912s # const gchar *arg_arg_s) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 912s # OrgProjectSignalingIface *object, 912s # const gchar *arg_arg_s) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 912s # arg_arg_s)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmpapa6c9uh.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmpapa6c9uh.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_o", 912s # (gchar *) "o", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalO", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-o" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__STRING (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-o: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_o: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 912s # g_signal_new ("single-arg-signal-o", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_STRING); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_o: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_o: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalO" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_o ( 912s # OrgProjectSignalingIface *object, 912s # const gchar *arg_arg_o) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 912s # OrgProjectSignalingIface *object, 912s # const gchar *arg_arg_o) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 912s # arg_arg_o)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmpe87xbxye.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmpe87xbxye.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_g", 912s # (gchar *) "g", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalG", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-g" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__STRING (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-g: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_g: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 912s # g_signal_new ("single-arg-signal-g", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_STRING); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_g: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_g: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalG" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_g ( 912s # OrgProjectSignalingIface *object, 912s # const gchar *arg_arg_g) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 912s # OrgProjectSignalingIface *object, 912s # const gchar *arg_arg_g) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 912s # arg_arg_g)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmp3ljx0wmu.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmp3ljx0wmu.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_h", 912s # (gchar *) "h", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalH", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-h" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VARIANT (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-h: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_h: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 912s # g_signal_new ("single-arg-signal-h", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_VARIANT); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_h: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_h: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalH" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_h ( 912s # OrgProjectSignalingIface *object, 912s # GVariant *arg_arg_h) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 912s # OrgProjectSignalingIface *object, 912s # GVariant *arg_arg_h) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 912s # arg_arg_h)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmp2zddhdmb.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmp2zddhdmb.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_ay", 912s # (gchar *) "ay", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalAy", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-ay" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__STRING (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-ay: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_ay: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 912s # g_signal_new ("single-arg-signal-ay", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_STRING); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_ay: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_ay: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalAy" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_ay ( 912s # OrgProjectSignalingIface *object, 912s # const gchar *arg_arg_ay) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 912s # OrgProjectSignalingIface *object, 912s # const gchar *arg_arg_ay) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 912s # arg_arg_ay)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmppy1l6001.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmppy1l6001.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_as", 912s # (gchar *) "as", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalAs", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-as" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__BOXED (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-as: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_as: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 912s # g_signal_new ("single-arg-signal-as", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_STRV); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_as: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_as: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalAs" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_as ( 912s # OrgProjectSignalingIface *object, 912s # const gchar *const *arg_arg_as) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 912s # OrgProjectSignalingIface *object, 912s # const gchar *const *arg_arg_as) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 912s # arg_arg_as)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmpjvya6xp4.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmpjvya6xp4.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_ao", 912s # (gchar *) "ao", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalAo", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-ao" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__BOXED (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-ao: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_ao: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 912s # g_signal_new ("single-arg-signal-ao", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_STRV); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_ao: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_ao: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalAo" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_ao ( 912s # OrgProjectSignalingIface *object, 912s # const gchar *const *arg_arg_ao) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 912s # OrgProjectSignalingIface *object, 912s # const gchar *const *arg_arg_ao) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 912s # arg_arg_ao)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmp7adpdfty.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmp7adpdfty.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_aay", 912s # (gchar *) "aay", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalAay", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-aay" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__BOXED (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-aay: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_aay: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 912s # g_signal_new ("single-arg-signal-aay", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_STRV); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_aay: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_aay: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalAay" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_aay ( 912s # OrgProjectSignalingIface *object, 912s # const gchar *const *arg_arg_aay) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 912s # OrgProjectSignalingIface *object, 912s # const gchar *const *arg_arg_aay) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 912s # arg_arg_aay)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s # /tmp/tmp22vpsdvx/tmp6vujdf54.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22vpsdvx/tmp6vujdf54.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 912s # { 912s # { 912s # -1, 912s # (gchar *) "arg_asv", 912s # (gchar *) "a{sv}", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SingleArgSignalAsv", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 912s # NULL 912s # }, 912s # "single-arg-signal-asv" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VARIANT (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::single-arg-signal-asv: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_asv: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 912s # g_signal_new ("single-arg-signal-asv", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 912s # G_TYPE_NONE, 912s # 1, G_TYPE_VARIANT); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_single_arg_signal_asv: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_arg_asv: Argument to pass with the signal. 912s # * 912s # * Emits the "SingleArgSignalAsv" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_single_arg_signal_asv ( 912s # OrgProjectSignalingIface *object, 912s # GVariant *arg_arg_asv) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 912s # OrgProjectSignalingIface *object, 912s # GVariant *arg_arg_asv) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 912s # arg_arg_asv)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 912s # tmpdir: /tmp/tmppdc4w12q 912s # codegen: /usr/bin/gdbus-codegen 912s # /tmp/tmppdc4w12q/tmpaejf94sy.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppdc4w12q/tmpaejf94sy.xml', '--output', '-', '--body'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifdef HAVE_CONFIG_H 912s # # include "config.h" 912s # #endif 912s # 912s # #include 912s # #ifdef G_OS_UNIX 912s # # include 912s # #endif 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # typedef struct 912s # { 912s # GDBusArgInfo parent_struct; 912s # gboolean use_gvariant; 912s # } _ExtendedGDBusArgInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusMethodInfo parent_struct; 912s # const gchar *signal_name; 912s # gboolean pass_fdlist; 912s # } _ExtendedGDBusMethodInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusSignalInfo parent_struct; 912s # const gchar *signal_name; 912s # } _ExtendedGDBusSignalInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusPropertyInfo parent_struct; 912s # const gchar *hyphen_name; 912s # guint use_gvariant : 1; 912s # guint emits_changed_signal : 1; 912s # } _ExtendedGDBusPropertyInfo; 912s # 912s # typedef struct 912s # { 912s # GDBusInterfaceInfo parent_struct; 912s # const gchar *hyphen_name; 912s # } _ExtendedGDBusInterfaceInfo; 912s # 912s # typedef struct 912s # { 912s # const _ExtendedGDBusPropertyInfo *info; 912s # guint prop_id; 912s # GValue orig_value; /* the value before the change */ 912s # } ChangedProperty; 912s # 912s # static void 912s # _changed_property_free (ChangedProperty *data) 912s # { 912s # g_value_unset (&data->orig_value); 912s # g_free (data); 912s # } 912s # 912s # static gboolean 912s # _g_strv_equal0 (gchar **a, gchar **b) 912s # { 912s # gboolean ret = FALSE; 912s # guint n; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # if (g_strv_length (a) != g_strv_length (b)) 912s # goto out; 912s # for (n = 0; a[n] != NULL; n++) 912s # if (g_strcmp0 (a[n], b[n]) != 0) 912s # goto out; 912s # ret = TRUE; 912s # out: 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _g_variant_equal0 (GVariant *a, GVariant *b) 912s # { 912s # gboolean ret = FALSE; 912s # if (a == NULL && b == NULL) 912s # { 912s # ret = TRUE; 912s # goto out; 912s # } 912s # if (a == NULL || b == NULL) 912s # goto out; 912s # ret = g_variant_equal (a, b); 912s # out: 912s # return ret; 912s # } 912s # 912s # G_GNUC_UNUSED static gboolean 912s # _g_value_equal (const GValue *a, const GValue *b) 912s # { 912s # gboolean ret = FALSE; 912s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 912s # switch (G_VALUE_TYPE (a)) 912s # { 912s # case G_TYPE_BOOLEAN: 912s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 912s # break; 912s # case G_TYPE_UCHAR: 912s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 912s # break; 912s # case G_TYPE_INT: 912s # ret = (g_value_get_int (a) == g_value_get_int (b)); 912s # break; 912s # case G_TYPE_UINT: 912s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 912s # break; 912s # case G_TYPE_INT64: 912s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 912s # break; 912s # case G_TYPE_UINT64: 912s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 912s # break; 912s # case G_TYPE_DOUBLE: 912s # { 912s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 912s # gdouble da = g_value_get_double (a); 912s # gdouble db = g_value_get_double (b); 912s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 912s # } 912s # break; 912s # case G_TYPE_STRING: 912s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 912s # break; 912s # case G_TYPE_VARIANT: 912s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 912s # break; 912s # default: 912s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 912s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 912s # else 912s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 912s # break; 912s # } 912s # return ret; 912s # } 912s # 912s # static void 912s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 912s # GClosure *closure, 912s # GValue *return_value G_GNUC_UNUSED, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint G_GNUC_UNUSED, 912s # void *marshal_data) 912s # { 912s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 912s # (void *data1, 912s # gboolean arg_an_b, 912s # guchar arg_an_y, 912s # gint16 arg_an_n, 912s # guint16 arg_an_q, 912s # gint arg_an_i, 912s # guint arg_an_u, 912s # gint64 arg_an_x, 912s # guint64 arg_an_t, 912s # gdouble arg_an_d, 912s # const gchar *arg_an_s, 912s # const gchar *arg_an_o, 912s # const gchar *arg_an_g, 912s # GVariant *arg_an_h, 912s # const gchar *arg_an_ay, 912s # const gchar *const *arg_an_as, 912s # const gchar *const *arg_an_ao, 912s # const gchar *const *arg_an_aay, 912s # GVariant *arg_an_asv, 912s # void *data2); 912s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 912s # GCClosure *cc = (GCClosure*) closure; 912s # void *data1, *data2; 912s # 912s # g_return_if_fail (n_param_values == 19); 912s # 912s # if (G_CCLOSURE_SWAP_DATA (closure)) 912s # { 912s # data1 = closure->data; 912s # data2 = g_value_peek_pointer (param_values + 0); 912s # } 912s # else 912s # { 912s # data1 = g_value_peek_pointer (param_values + 0); 912s # data2 = closure->data; 912s # } 912s # 912s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 912s # (marshal_data ? marshal_data : cc->callback); 912s # 912s # callback (data1, 912s # g_marshal_value_peek_boolean (param_values + 1), 912s # g_marshal_value_peek_uchar (param_values + 2), 912s # g_marshal_value_peek_int (param_values + 3), 912s # g_marshal_value_peek_uint (param_values + 4), 912s # g_marshal_value_peek_int (param_values + 5), 912s # g_marshal_value_peek_uint (param_values + 6), 912s # g_marshal_value_peek_int64 (param_values + 7), 912s # g_marshal_value_peek_uint64 (param_values + 8), 912s # g_marshal_value_peek_double (param_values + 9), 912s # g_marshal_value_peek_string (param_values + 10), 912s # g_marshal_value_peek_string (param_values + 11), 912s # g_marshal_value_peek_string (param_values + 12), 912s # g_marshal_value_peek_variant (param_values + 13), 912s # g_marshal_value_peek_string (param_values + 14), 912s # g_marshal_value_peek_boxed (param_values + 15), 912s # g_marshal_value_peek_boxed (param_values + 16), 912s # g_marshal_value_peek_boxed (param_values + 17), 912s # g_marshal_value_peek_variant (param_values + 18), 912s # data2); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ 912s # * Code for interface org.project.SignalingIface 912s # * ------------------------------------------------------------------------ 912s # */ 912s # 912s # /** 912s # * SECTION:OrgProjectSignalingIface 912s # * @title: OrgProjectSignalingIface 912s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 912s # * 912s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 912s # */ 912s # 912s # enum 912s # { 912s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 912s # }; 912s # 912s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 912s # 912s # /* ---- Introspection data for org.project.SignalingIface ---- */ 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SimpleSignal", 912s # NULL, 912s # NULL 912s # }, 912s # "simple-signal" 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_b", 912s # (gchar *) "b", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_y", 912s # (gchar *) "y", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_n", 912s # (gchar *) "n", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_q", 912s # (gchar *) "q", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_i", 912s # (gchar *) "i", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_u", 912s # (gchar *) "u", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_x", 912s # (gchar *) "x", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_t", 912s # (gchar *) "t", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_d", 912s # (gchar *) "d", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_s", 912s # (gchar *) "s", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_o", 912s # (gchar *) "o", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_g", 912s # (gchar *) "g", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_h", 912s # (gchar *) "h", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_ay", 912s # (gchar *) "ay", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_as", 912s # (gchar *) "as", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_ao", 912s # (gchar *) "ao", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_aay", 912s # (gchar *) "aay", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 912s # { 912s # { 912s # -1, 912s # (gchar *) "an_asv", 912s # (gchar *) "a{sv}", 912s # NULL 912s # }, 912s # FALSE 912s # }; 912s # 912s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 912s # { 912s # { 912s # -1, 912s # (gchar *) "SignalWithManyArgs", 912s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 912s # NULL 912s # }, 912s # "signal-with-many-args" 912s # }; 912s # 912s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 912s # { 912s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 912s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 912s # NULL 912s # }; 912s # 912s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 912s # { 912s # { 912s # -1, 912s # (gchar *) "org.project.SignalingIface", 912s # NULL, 912s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 912s # NULL, 912s # NULL 912s # }, 912s # "org-project-signaling-iface", 912s # }; 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_interface_info: 912s # * 912s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 912s # * 912s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 912s # */ 912s # GDBusInterfaceInfo * 912s # org_project_signaling_iface_interface_info (void) 912s # { 912s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_override_properties: 912s # * @klass: The class structure for a #GObject derived class. 912s # * @property_id_begin: The property id to assign to the first overridden property. 912s # * 912s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 912s # * The properties are overridden in the order they are defined. 912s # * 912s # * Returns: The last property id. 912s # */ 912s # guint 912s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 912s # { 912s # return property_id_begin - 1; 912s # } 912s # 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_simple_signal ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # g_cclosure_marshal_VOID__VOID (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # inline static void 912s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 912s # GClosure *closure, 912s # GValue *return_value, 912s # unsigned int n_param_values, 912s # const GValue *param_values, 912s # void *invocation_hint, 912s # void *marshal_data) 912s # { 912s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 912s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 912s # } 912s # 912s # 912s # /** 912s # * OrgProjectSignalingIface: 912s # * 912s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceIface: 912s # * @parent_iface: The parent interface. 912s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 912s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 912s # * 912s # * Virtual table for the D-Bus interface org.project.SignalingIface. 912s # */ 912s # 912s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 912s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 912s # 912s # static void 912s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # /* GObject signals for received D-Bus signals: */ 912s # /** 912s # * OrgProjectSignalingIface::simple-signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 912s # g_signal_new ("simple-signal", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_simple_signal, 912s # G_TYPE_NONE, 912s # 0); 912s # 912s # /** 912s # * OrgProjectSignalingIface::signal-with-many-args: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_an_b: Argument. 912s # * @arg_an_y: Argument. 912s # * @arg_an_n: Argument. 912s # * @arg_an_q: Argument. 912s # * @arg_an_i: Argument. 912s # * @arg_an_u: Argument. 912s # * @arg_an_x: Argument. 912s # * @arg_an_t: Argument. 912s # * @arg_an_d: Argument. 912s # * @arg_an_s: Argument. 912s # * @arg_an_o: Argument. 912s # * @arg_an_g: Argument. 912s # * @arg_an_h: Argument. 912s # * @arg_an_ay: Argument. 912s # * @arg_an_as: Argument. 912s # * @arg_an_ao: Argument. 912s # * @arg_an_aay: Argument. 912s # * @arg_an_asv: Argument. 912s # * 912s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 912s # * 912s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 912s # */ 912s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 912s # g_signal_new ("signal-with-many-args", 912s # G_TYPE_FROM_INTERFACE (iface), 912s # G_SIGNAL_RUN_LAST, 912s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 912s # NULL, 912s # NULL, 912s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 912s # G_TYPE_NONE, 912s # 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); 912s # 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_simple_signal: 912s # * @object: A #OrgProjectSignalingIface. 912s # * 912s # * Emits the "SimpleSignal" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_emit_signal_with_many_args: 912s # * @object: A #OrgProjectSignalingIface. 912s # * @arg_an_b: Argument to pass with the signal. 912s # * @arg_an_y: Argument to pass with the signal. 912s # * @arg_an_n: Argument to pass with the signal. 912s # * @arg_an_q: Argument to pass with the signal. 912s # * @arg_an_i: Argument to pass with the signal. 912s # * @arg_an_u: Argument to pass with the signal. 912s # * @arg_an_x: Argument to pass with the signal. 912s # * @arg_an_t: Argument to pass with the signal. 912s # * @arg_an_d: Argument to pass with the signal. 912s # * @arg_an_s: Argument to pass with the signal. 912s # * @arg_an_o: Argument to pass with the signal. 912s # * @arg_an_g: Argument to pass with the signal. 912s # * @arg_an_h: Argument to pass with the signal. 912s # * @arg_an_ay: Argument to pass with the signal. 912s # * @arg_an_as: Argument to pass with the signal. 912s # * @arg_an_ao: Argument to pass with the signal. 912s # * @arg_an_aay: Argument to pass with the signal. 912s # * @arg_an_asv: Argument to pass with the signal. 912s # * 912s # * Emits the "SignalWithManyArgs" D-Bus signal. 912s # */ 912s # void 912s # org_project_signaling_iface_emit_signal_with_many_args ( 912s # OrgProjectSignalingIface *object, 912s # gboolean arg_an_b, 912s # guchar arg_an_y, 912s # gint16 arg_an_n, 912s # guint16 arg_an_q, 912s # gint arg_an_i, 912s # guint arg_an_u, 912s # gint64 arg_an_x, 912s # guint64 arg_an_t, 912s # gdouble arg_an_d, 912s # const gchar *arg_an_s, 912s # const gchar *arg_an_o, 912s # const gchar *arg_an_g, 912s # GVariant *arg_an_h, 912s # const gchar *arg_an_ay, 912s # const gchar *const *arg_an_as, 912s # const gchar *const *arg_an_ao, 912s # const gchar *const *arg_an_aay, 912s # GVariant *arg_an_asv) 912s # { 912s # 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); 912s # } 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxy: 912s # * 912s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceProxyClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceProxy. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceProxyPrivate 912s # { 912s # GData *qdata; 912s # }; 912s # 912s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_proxy_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 912s # g_datalist_clear (&proxy->priv->qdata); 912s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 912s # guint prop_id G_GNUC_UNUSED, 912s # const GValue *value G_GNUC_UNUSED, 912s # GParamSpec *pspec G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 912s # const gchar *sender_name G_GNUC_UNUSED, 912s # const gchar *signal_name, 912s # GVariant *parameters) 912s # { 912s # _ExtendedGDBusSignalInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # gsize n; 912s # guint signal_id; 912s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 912s # if (info == NULL) 912s # return; 912s # num_params = g_variant_n_children (parameters); 912s # paramv = g_new0 (GValue, num_params + 1); 912s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[0], proxy); 912s # g_variant_iter_init (&iter, parameters); 912s # n = 1; 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_signal_emitv (paramv, signal_id, 0, NULL); 912s # for (n = 0; n < num_params + 1; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 912s # GVariant *changed_properties, 912s # const gchar *const *invalidated_properties) 912s # { 912s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 912s # guint n; 912s # const gchar *key; 912s # GVariantIter *iter; 912s # _ExtendedGDBusPropertyInfo *info; 912s # g_variant_get (changed_properties, "a{sv}", &iter); 912s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 912s # g_datalist_remove_data (&proxy->priv->qdata, key); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # g_variant_iter_free (iter); 912s # for (n = 0; invalidated_properties[n] != NULL; n++) 912s # { 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 912s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 912s # if (info != NULL) 912s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 912s # } 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 912s # #else 912s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 912s # #endif 912s # 912s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusProxyClass *proxy_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 912s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 912s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 912s # 912s # proxy_class = G_DBUS_PROXY_CLASS (klass); 912s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 912s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_sync: 912s # * @connection: A #GDBusConnection. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_sync ( 912s # GDBusConnection *connection, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 912s # * @user_data: User data to pass to @callback. 912s # * 912s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 912s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 912s # */ 912s # void 912s # org_project_signaling_iface_proxy_new_for_bus ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GAsyncReadyCallback callback, 912s # gpointer user_data) 912s # { 912s # 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); 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_finish: 912s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 912s # * @error: Return location for error or %NULL 912s # * 912s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_finish ( 912s # GAsyncResult *res, 912s # GError **error) 912s # { 912s # GObject *ret; 912s # GObject *source_object; 912s # source_object = g_async_result_get_source_object (res); 912s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 912s # g_object_unref (source_object); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_proxy_new_for_bus_sync: 912s # * @bus_type: A #GBusType. 912s # * @flags: Flags from the #GDBusProxyFlags enumeration. 912s # * @name: A bus name (well-known or unique). 912s # * @object_path: An object path. 912s # * @cancellable: (nullable): A #GCancellable or %NULL. 912s # * @error: Return location for error or %NULL 912s # * 912s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 912s # * 912s # * The calling thread is blocked until a reply is received. 912s # * 912s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_proxy_new_for_bus_sync ( 912s # GBusType bus_type, 912s # GDBusProxyFlags flags, 912s # const gchar *name, 912s # const gchar *object_path, 912s # GCancellable *cancellable, 912s # GError **error) 912s # { 912s # GInitable *ret; 912s # 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); 912s # if (ret != NULL) 912s # return ORG_PROJECT_SIGNALING_IFACE (ret); 912s # else 912s # return NULL; 912s # } 912s # 912s # 912s # /* ------------------------------------------------------------------------ */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeleton: 912s # * 912s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 912s # */ 912s # 912s # /** 912s # * OrgProjectSignalingIfaceSkeletonClass: 912s # * @parent_class: The parent class. 912s # * 912s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 912s # */ 912s # 912s # struct _OrgProjectSignalingIfaceSkeletonPrivate 912s # { 912s # GValue *properties; 912s # GList *changed_properties; 912s # GSource *changed_properties_idle_source; 912s # GMainContext *context; 912s # GMutex lock; 912s # }; 912s # 912s # static void 912s # _org_project_signaling_iface_skeleton_handle_method_call ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name, 912s # const gchar *method_name, 912s # GVariant *parameters, 912s # GDBusMethodInvocation *invocation, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # _ExtendedGDBusMethodInfo *info; 912s # GVariantIter iter; 912s # GVariant *child; 912s # GValue *paramv; 912s # gsize num_params; 912s # guint num_extra; 912s # gsize n; 912s # guint signal_id; 912s # GValue return_value = G_VALUE_INIT; 912s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 912s # g_assert (info != NULL); 912s # num_params = g_variant_n_children (parameters); 912s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 912s # n = 0; 912s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_set_object (¶mv[n++], skeleton); 912s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 912s # g_value_set_object (¶mv[n++], invocation); 912s # if (info->pass_fdlist) 912s # { 912s # #ifdef G_OS_UNIX 912s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 912s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 912s # #else 912s # g_assert_not_reached (); 912s # #endif 912s # } 912s # g_variant_iter_init (&iter, parameters); 912s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 912s # { 912s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 912s # if (arg_info->use_gvariant) 912s # { 912s # g_value_init (¶mv[n], G_TYPE_VARIANT); 912s # g_value_set_variant (¶mv[n], child); 912s # n++; 912s # } 912s # else 912s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 912s # g_variant_unref (child); 912s # } 912s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 912s # g_value_init (&return_value, G_TYPE_BOOLEAN); 912s # g_signal_emitv (paramv, signal_id, 0, &return_value); 912s # if (!g_value_get_boolean (&return_value)) 912s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 912s # g_value_unset (&return_value); 912s # for (n = 0; n < num_params + num_extra; n++) 912s # g_value_unset (¶mv[n]); 912s # g_free (paramv); 912s # } 912s # 912s # static GVariant * 912s # _org_project_signaling_iface_skeleton_handle_get_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # GVariant *ret; 912s # ret = NULL; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # g_value_init (&value, pspec->value_type); 912s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 912s # g_value_unset (&value); 912s # } 912s # return ret; 912s # } 912s # 912s # static gboolean 912s # _org_project_signaling_iface_skeleton_handle_set_property ( 912s # GDBusConnection *connection G_GNUC_UNUSED, 912s # const gchar *sender G_GNUC_UNUSED, 912s # const gchar *object_path G_GNUC_UNUSED, 912s # const gchar *interface_name G_GNUC_UNUSED, 912s # const gchar *property_name, 912s # GVariant *variant, 912s # GError **error, 912s # gpointer user_data) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 912s # GValue value = G_VALUE_INIT; 912s # GParamSpec *pspec; 912s # _ExtendedGDBusPropertyInfo *info; 912s # gboolean ret; 912s # ret = FALSE; 912s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 912s # g_assert (info != NULL); 912s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 912s # if (pspec == NULL) 912s # { 912s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 912s # } 912s # else 912s # { 912s # if (info->use_gvariant) 912s # g_value_set_variant (&value, variant); 912s # else 912s # g_dbus_gvariant_to_gvalue (variant, &value); 912s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 912s # g_value_unset (&value); 912s # ret = TRUE; 912s # } 912s # return ret; 912s # } 912s # 912s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 912s # { 912s # _org_project_signaling_iface_skeleton_handle_method_call, 912s # _org_project_signaling_iface_skeleton_handle_get_property, 912s # _org_project_signaling_iface_skeleton_handle_set_property, 912s # {NULL} 912s # }; 912s # 912s # static GDBusInterfaceInfo * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return org_project_signaling_iface_interface_info (); 912s # } 912s # 912s # static GDBusInterfaceVTable * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 912s # { 912s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 912s # } 912s # 912s # static GVariant * 912s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 912s # 912s # GVariantBuilder builder; 912s # guint n; 912s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 912s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 912s # goto out; 912s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 912s # { 912s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 912s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 912s # { 912s # GVariant *value; 912s # 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); 912s # if (value != NULL) 912s # { 912s # g_variant_take_ref (value); 912s # g_variant_builder_add (&builder, "{sv}", info->name, value); 912s # g_variant_unref (value); 912s # } 912s # } 912s # } 912s # out: 912s # return g_variant_builder_end (&builder); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 912s # { 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_simple_signal ( 912s # OrgProjectSignalingIface *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void 912s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 912s # OrgProjectSignalingIface *object, 912s # gboolean arg_an_b, 912s # guchar arg_an_y, 912s # gint16 arg_an_n, 912s # guint16 arg_an_q, 912s # gint arg_an_i, 912s # guint arg_an_u, 912s # gint64 arg_an_x, 912s # guint64 arg_an_t, 912s # gdouble arg_an_d, 912s # const gchar *arg_an_s, 912s # const gchar *arg_an_o, 912s # const gchar *arg_an_g, 912s # GVariant *arg_an_h, 912s # const gchar *arg_an_ay, 912s # const gchar *const *arg_an_as, 912s # const gchar *const *arg_an_ao, 912s # const gchar *const *arg_an_aay, 912s # GVariant *arg_an_asv) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # 912s # GList *connections, *l; 912s # GVariant *signal_variant; 912s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 912s # 912s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 912s # arg_an_b, 912s # arg_an_y, 912s # arg_an_n, 912s # arg_an_q, 912s # arg_an_i, 912s # arg_an_u, 912s # arg_an_x, 912s # arg_an_t, 912s # arg_an_d, 912s # arg_an_s, 912s # arg_an_o, 912s # arg_an_g, 912s # arg_an_h, 912s # arg_an_ay, 912s # arg_an_as, 912s # arg_an_ao, 912s # arg_an_aay, 912s # arg_an_asv)); 912s # for (l = connections; l != NULL; l = l->next) 912s # { 912s # GDBusConnection *connection = l->data; 912s # g_dbus_connection_emit_signal (connection, 912s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 912s # signal_variant, NULL); 912s # } 912s # g_variant_unref (signal_variant); 912s # g_list_free_full (connections, g_object_unref); 912s # } 912s # 912s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #else 912s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 912s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 912s # 912s # #endif 912s # static void 912s # org_project_signaling_iface_skeleton_finalize (GObject *object) 912s # { 912s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 912s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 912s # if (skeleton->priv->changed_properties_idle_source != NULL) 912s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 912s # g_main_context_unref (skeleton->priv->context); 912s # g_mutex_clear (&skeleton->priv->lock); 912s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 912s # { 912s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 912s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 912s # #else 912s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 912s # #endif 912s # 912s # g_mutex_init (&skeleton->priv->lock); 912s # skeleton->priv->context = g_main_context_ref_thread_default (); 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 912s # { 912s # GObjectClass *gobject_class; 912s # GDBusInterfaceSkeletonClass *skeleton_class; 912s # 912s # gobject_class = G_OBJECT_CLASS (klass); 912s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 912s # 912s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 912s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 912s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 912s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 912s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 912s # 912s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 912s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 912s # #endif 912s # } 912s # 912s # static void 912s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 912s # { 912s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 912s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 912s # } 912s # 912s # /** 912s # * org_project_signaling_iface_skeleton_new: 912s # * 912s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 912s # * 912s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 912s # */ 912s # OrgProjectSignalingIface * 912s # org_project_signaling_iface_skeleton_new (void) 912s # { 912s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 912s # } 912s ok 25 __main__.TestCodegen.test_generate_valid_docbook 912s # tmpdir: /tmp/tmpp9d5z0nx 912s # codegen: /usr/bin/gdbus-codegen 912s # /tmp/tmpp9d5z0nx/tmpdtbigwbi.xml: 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9d5z0nx/tmpdtbigwbi.xml', '--generate-docbook', 'test'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: 912s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 912s # tmpdir: /tmp/tmp71hikarx 912s # codegen: /usr/bin/gdbus-codegen 912s # /tmp/tmp71hikarx/tmpszopn6t5.xml: 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp71hikarx/tmpszopn6t5.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 912s # tmpdir: /tmp/tmpu57eu98o 912s # codegen: /usr/bin/gdbus-codegen 912s # /tmp/tmpu57eu98o/tmpumzyt9y3.xml: 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu57eu98o/tmpumzyt9y3.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: /* 912s # * This file is generated by gdbus-codegen, do not modify it. 912s # * 912s # * The license of this code is the same as for the D-Bus interface description 912s # * it was derived from. Note that it links to GLib, so must comply with the 912s # * LGPL linking clauses. 912s # */ 912s # 912s # #ifndef __STDOUT__ 912s # #define __STDOUT__ 912s # 912s # #include 912s # 912s # G_BEGIN_DECLS 912s # 912s # 912s # G_END_DECLS 912s # 912s # #endif /* __STDOUT__ */ 912s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 912s # tmpdir: /tmp/tmpjdtx095i 912s # codegen: /usr/bin/gdbus-codegen 912s # /tmp/tmpjdtx095i/tmp2ijberzy.xml: 912s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjdtx095i/tmp2ijberzy.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 912s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 913s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 913s # tmpdir: /tmp/tmp71u3a654 913s # codegen: /usr/bin/gdbus-codegen 913s # /tmp/tmp71u3a654/tmpul54_y59.xml: 913s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp71u3a654/tmpul54_y59.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 913s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 913s # Output: /* 913s # * This file is generated by gdbus-codegen, do not modify it. 913s # * 913s # * The license of this code is the same as for the D-Bus interface description 913s # * it was derived from. Note that it links to GLib, so must comply with the 913s # * LGPL linking clauses. 913s # */ 913s # 913s # #ifndef __STDOUT__ 913s # #define __STDOUT__ 913s # 913s # #include 913s # 913s # G_BEGIN_DECLS 913s # 913s # 913s # G_END_DECLS 913s # 913s # #endif /* __STDOUT__ */ 913s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 913s # tmpdir: /tmp/tmppnvytb7v 913s # codegen: /usr/bin/gdbus-codegen 913s # /tmp/tmppnvytb7v/tmpoykkrt29.xml: 913s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppnvytb7v/tmpoykkrt29.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 913s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 913s # Output: /* 913s # * This file is generated by gdbus-codegen, do not modify it. 913s # * 913s # * The license of this code is the same as for the D-Bus interface description 913s # * it was derived from. Note that it links to GLib, so must comply with the 913s # * LGPL linking clauses. 913s # */ 913s # 913s # #ifndef __STDOUT__ 913s # #define __STDOUT__ 913s # 913s # #include 913s # 913s # G_BEGIN_DECLS 913s # 913s # 913s # G_END_DECLS 913s # 913s # #endif /* __STDOUT__ */ 913s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 913s # tmpdir: /tmp/tmpk_ikkimo 913s # codegen: /usr/bin/gdbus-codegen 913s # /tmp/tmpk_ikkimo/tmpqcmc11c9.xml: 913s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk_ikkimo/tmpqcmc11c9.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 913s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 913s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 913s # tmpdir: /tmp/tmprsltybyn 913s # codegen: /usr/bin/gdbus-codegen 913s # /tmp/tmprsltybyn/tmptiqfyb1k.xml: 913s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsltybyn/tmptiqfyb1k.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 913s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 913s # Output: /* 913s # * This file is generated by gdbus-codegen, do not modify it. 913s # * 913s # * The license of this code is the same as for the D-Bus interface description 913s # * it was derived from. Note that it links to GLib, so must comply with the 913s # * LGPL linking clauses. 913s # */ 913s # 913s # #ifndef __STDOUT__ 913s # #define __STDOUT__ 913s # 913s # #include 913s # 913s # G_BEGIN_DECLS 913s # 913s # 913s # G_END_DECLS 913s # 913s # #endif /* __STDOUT__ */ 913s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 913s # tmpdir: /tmp/tmpl7lvue06 913s # codegen: /usr/bin/gdbus-codegen 913s # /tmp/tmpl7lvue06/tmp726y2mlz.xml: 913s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl7lvue06/tmp726y2mlz.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 913s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 913s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 913s # tmpdir: /tmp/tmp29f6tjqf 913s # codegen: /usr/bin/gdbus-codegen 913s # /tmp/tmp29f6tjqf/tmpmp_u45xb.xml: 913s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp29f6tjqf/tmpmp_u45xb.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 913s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 913s # Output: /* 913s # * This file is generated by gdbus-codegen, do not modify it. 913s # * 913s # * The license of this code is the same as for the D-Bus interface description 913s # * it was derived from. Note that it links to GLib, so must comply with the 913s # * LGPL linking clauses. 913s # */ 913s # 913s # #ifndef __STDOUT__ 913s # #define __STDOUT__ 913s # 913s # #include 913s # 913s # G_BEGIN_DECLS 913s # 913s # 913s # G_END_DECLS 913s # 913s # #endif /* __STDOUT__ */ 914s ok 35 __main__.TestCodegen.test_help 914s # tmpdir: /tmp/tmpmukkzw41 914s # codegen: /usr/bin/gdbus-codegen 914s # Running: ['/usr/bin/gdbus-codegen', '--help'] 914s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 914s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 914s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 914s # [--c-generate-autocleanup {none,objects,all}] 914s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 914s # [--generate-rst OUTFILES] [--pragma-once] 914s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 914s # [--glib-min-required VERSION] 914s # [--glib-max-allowed VERSION] 914s # [--symbol-decorator SYMBOL_DECORATOR] 914s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 914s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 914s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 914s # [--output FILE | --output-directory OUTDIR] 914s # FILE [FILE ...] 914s # 914s # D-Bus code and documentation generator 914s # 914s # positional arguments: 914s # FILE D-Bus introspection XML file 914s # 914s # options: 914s # -h, --help show this help message and exit 914s # --interface-prefix PREFIX 914s # String to strip from D-Bus interface names for code 914s # and docs 914s # --c-namespace NAMESPACE 914s # The namespace to use for generated C code 914s # --c-generate-object-manager 914s # Generate a GDBusObjectManagerClient subclass when 914s # generating C code 914s # --c-generate-autocleanup {none,objects,all} 914s # Generate autocleanup support 914s # --generate-docbook OUTFILES 914s # Generate Docbook in OUTFILES-org.Project.IFace.xml 914s # --generate-md OUTFILES 914s # Generate Markdown in OUTFILES-org.Project.IFace.md 914s # --generate-rst OUTFILES 914s # Generate reStructuredText in OUTFILES- 914s # org.Project.IFace.rst 914s # --pragma-once Use "pragma once" as the inclusion guard 914s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 914s # Add annotation (may be used several times) 914s # --glib-min-required VERSION 914s # Minimum version of GLib to be supported by the 914s # outputted code (default: 2.30) 914s # --glib-max-allowed VERSION 914s # Maximum version of GLib to be used by the outputted 914s # code (default: current GLib version) 914s # --symbol-decorator SYMBOL_DECORATOR 914s # Macro used to decorate a symbol in the outputted 914s # header, possibly to export symbols 914s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 914s # Additional header required for decorator specified by 914s # --symbol-decorator 914s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 914s # Additional define required for decorator specified by 914s # --symbol-decorator 914s # --generate-c-code OUTFILES 914s # Generate C code in OUTFILES.[ch] 914s # --header Generate C headers 914s # --body Generate C code 914s # --interface-info-header 914s # Generate GDBusInterfaceInfo C header 914s # --interface-info-body 914s # Generate GDBusInterfaceInfo C code 914s # --output FILE Write output into the specified file 914s # --output-directory OUTDIR 914s # Location to output generated files 914s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 914s # tmpdir: /tmp/tmp30i_5lzr 914s # codegen: /usr/bin/gdbus-codegen 914s # /tmp/tmp30i_5lzr/tmp5t6j_by5.xml: 914s # 914s # 914s # 914s # 914s # 914s # 914s # 914s # 914s # 914s # 914s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp30i_5lzr/tmp5t6j_by5.xml', '--generate-rst', 'test'] 914s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 914s # Output: 914s # /tmp/tmp30i_5lzr/tmp8o3hwtmq.xml: 914s # 914s # 914s # 914s # 914s # 914s # 914s # 914s # 914s # 914s # 914s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp30i_5lzr/tmp8o3hwtmq.xml', '--generate-md', 'test'] 914s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 914s # Output: 914s # /tmp/tmp30i_5lzr/tmp3vzoj3ge.xml: 914s # 914s # 914s # 914s # 914s # 914s # 914s # 914s # 914s # 914s # 914s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp30i_5lzr/tmp3vzoj3ge.xml', '--generate-docbook', 'test'] 914s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 914s # Output: 914s ok 37 __main__.TestCodegen.test_no_args 914s # tmpdir: /tmp/tmpsdbcskjp 914s # codegen: /usr/bin/gdbus-codegen 914s # Running: ['/usr/bin/gdbus-codegen'] 914s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 915s # Executing: glib/codegen.py.test 915s ok 38 __main__.TestCodegen.test_reproducible 915s # tmpdir: /tmp/tmp_0tsybs7 915s # codegen: /usr/bin/gdbus-codegen 915s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_0tsybs7/tmpwxgcgxa01.xml', '/tmp/tmp_0tsybs7/tmpnwua00ca2.xml', '--output', '-', '--header'] 915s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 915s # Output: /* 915s # * This file is generated by gdbus-codegen, do not modify it. 915s # * 915s # * The license of this code is the same as for the D-Bus interface description 915s # * it was derived from. Note that it links to GLib, so must comply with the 915s # * LGPL linking clauses. 915s # */ 915s # 915s # #ifndef __STDOUT__ 915s # #define __STDOUT__ 915s # 915s # #include 915s # 915s # G_BEGIN_DECLS 915s # 915s # 915s # /* ------------------------------------------------------------------------ */ 915s # /* Declarations for org.project.Bar.Frobnicator */ 915s # 915s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 915s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 915s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 915s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 915s # 915s # struct _OrgProjectBarFrobnicator; 915s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 915s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 915s # 915s # struct _OrgProjectBarFrobnicatorIface 915s # { 915s # GTypeInterface parent_iface; 915s # 915s # gboolean (*handle_random_method) ( 915s # OrgProjectBarFrobnicator *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # }; 915s # 915s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 915s # 915s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 915s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 915s # 915s # 915s # /* D-Bus method call completion functions: */ 915s # void org_project_bar_frobnicator_complete_random_method ( 915s # OrgProjectBarFrobnicator *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # 915s # 915s # /* D-Bus method calls: */ 915s # void org_project_bar_frobnicator_call_random_method ( 915s # OrgProjectBarFrobnicator *proxy, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 915s # OrgProjectBarFrobnicator *proxy, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 915s # OrgProjectBarFrobnicator *proxy, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # 915s # 915s # /* ---- */ 915s # 915s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 915s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 915s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 915s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 915s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 915s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 915s # 915s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 915s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 915s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 915s # 915s # struct _OrgProjectBarFrobnicatorProxy 915s # { 915s # /*< private >*/ 915s # GDBusProxy parent_instance; 915s # OrgProjectBarFrobnicatorProxyPrivate *priv; 915s # }; 915s # 915s # struct _OrgProjectBarFrobnicatorProxyClass 915s # { 915s # GDBusProxyClass parent_class; 915s # }; 915s # 915s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 915s # 915s # #if GLIB_CHECK_VERSION(2, 44, 0) 915s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 915s # #endif 915s # 915s # void org_project_bar_frobnicator_proxy_new ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 915s # GAsyncResult *res, 915s # GError **error); 915s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void org_project_bar_frobnicator_proxy_new_for_bus ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 915s # GAsyncResult *res, 915s # GError **error); 915s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # 915s # /* ---- */ 915s # 915s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 915s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 915s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 915s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 915s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 915s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 915s # 915s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 915s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 915s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 915s # 915s # struct _OrgProjectBarFrobnicatorSkeleton 915s # { 915s # /*< private >*/ 915s # GDBusInterfaceSkeleton parent_instance; 915s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 915s # }; 915s # 915s # struct _OrgProjectBarFrobnicatorSkeletonClass 915s # { 915s # GDBusInterfaceSkeletonClass parent_class; 915s # }; 915s # 915s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 915s # 915s # #if GLIB_CHECK_VERSION(2, 44, 0) 915s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 915s # #endif 915s # 915s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 915s # 915s # 915s # /* ------------------------------------------------------------------------ */ 915s # /* Declarations for com.acme.Coyote */ 915s # 915s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 915s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 915s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 915s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 915s # 915s # struct _ComAcmeCoyote; 915s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 915s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 915s # 915s # struct _ComAcmeCoyoteIface 915s # { 915s # GTypeInterface parent_iface; 915s # 915s # 915s # 915s # gboolean (*handle_attack) ( 915s # ComAcmeCoyote *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # gboolean (*handle_run) ( 915s # ComAcmeCoyote *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # gboolean (*handle_sleep) ( 915s # ComAcmeCoyote *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # const gchar * (*get_mood) (ComAcmeCoyote *object); 915s # 915s # void (*surprised) ( 915s # ComAcmeCoyote *object); 915s # 915s # }; 915s # 915s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 915s # 915s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 915s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 915s # 915s # 915s # /* D-Bus method call completion functions: */ 915s # void com_acme_coyote_complete_run ( 915s # ComAcmeCoyote *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # void com_acme_coyote_complete_sleep ( 915s # ComAcmeCoyote *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # void com_acme_coyote_complete_attack ( 915s # ComAcmeCoyote *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # 915s # 915s # /* D-Bus signal emissions functions: */ 915s # void com_acme_coyote_emit_surprised ( 915s # ComAcmeCoyote *object); 915s # 915s # 915s # 915s # /* D-Bus method calls: */ 915s # void com_acme_coyote_call_run ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean com_acme_coyote_call_run_finish ( 915s # ComAcmeCoyote *proxy, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean com_acme_coyote_call_run_sync ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void com_acme_coyote_call_sleep ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean com_acme_coyote_call_sleep_finish ( 915s # ComAcmeCoyote *proxy, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean com_acme_coyote_call_sleep_sync ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void com_acme_coyote_call_attack ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean com_acme_coyote_call_attack_finish ( 915s # ComAcmeCoyote *proxy, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean com_acme_coyote_call_attack_sync ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # 915s # 915s # /* D-Bus property accessors: */ 915s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 915s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 915s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 915s # 915s # 915s # /* ---- */ 915s # 915s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 915s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 915s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 915s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 915s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 915s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 915s # 915s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 915s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 915s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 915s # 915s # struct _ComAcmeCoyoteProxy 915s # { 915s # /*< private >*/ 915s # GDBusProxy parent_instance; 915s # ComAcmeCoyoteProxyPrivate *priv; 915s # }; 915s # 915s # struct _ComAcmeCoyoteProxyClass 915s # { 915s # GDBusProxyClass parent_class; 915s # }; 915s # 915s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 915s # 915s # #if GLIB_CHECK_VERSION(2, 44, 0) 915s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 915s # #endif 915s # 915s # void com_acme_coyote_proxy_new ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 915s # GAsyncResult *res, 915s # GError **error); 915s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void com_acme_coyote_proxy_new_for_bus ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 915s # GAsyncResult *res, 915s # GError **error); 915s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # 915s # /* ---- */ 915s # 915s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 915s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 915s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 915s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 915s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 915s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 915s # 915s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 915s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 915s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 915s # 915s # struct _ComAcmeCoyoteSkeleton 915s # { 915s # /*< private >*/ 915s # GDBusInterfaceSkeleton parent_instance; 915s # ComAcmeCoyoteSkeletonPrivate *priv; 915s # }; 915s # 915s # struct _ComAcmeCoyoteSkeletonClass 915s # { 915s # GDBusInterfaceSkeletonClass parent_class; 915s # }; 915s # 915s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 915s # 915s # #if GLIB_CHECK_VERSION(2, 44, 0) 915s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 915s # #endif 915s # 915s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 915s # 915s # 915s # G_END_DECLS 915s # 915s # #endif /* __STDOUT__ */ 915s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_0tsybs7/tmpnwua00ca2.xml', '/tmp/tmp_0tsybs7/tmpwxgcgxa01.xml', '--output', '-', '--header'] 915s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 915s # Output: /* 915s # * This file is generated by gdbus-codegen, do not modify it. 915s # * 915s # * The license of this code is the same as for the D-Bus interface description 915s # * it was derived from. Note that it links to GLib, so must comply with the 915s # * LGPL linking clauses. 915s # */ 915s # 915s # #ifndef __STDOUT__ 915s # #define __STDOUT__ 915s # 915s # #include 915s # 915s # G_BEGIN_DECLS 915s # 915s # 915s # /* ------------------------------------------------------------------------ */ 915s # /* Declarations for org.project.Bar.Frobnicator */ 915s # 915s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 915s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 915s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 915s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 915s # 915s # struct _OrgProjectBarFrobnicator; 915s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 915s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 915s # 915s # struct _OrgProjectBarFrobnicatorIface 915s # { 915s # GTypeInterface parent_iface; 915s # 915s # gboolean (*handle_random_method) ( 915s # OrgProjectBarFrobnicator *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # }; 915s # 915s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 915s # 915s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 915s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 915s # 915s # 915s # /* D-Bus method call completion functions: */ 915s # void org_project_bar_frobnicator_complete_random_method ( 915s # OrgProjectBarFrobnicator *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # 915s # 915s # /* D-Bus method calls: */ 915s # void org_project_bar_frobnicator_call_random_method ( 915s # OrgProjectBarFrobnicator *proxy, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 915s # OrgProjectBarFrobnicator *proxy, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 915s # OrgProjectBarFrobnicator *proxy, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # 915s # 915s # /* ---- */ 915s # 915s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 915s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 915s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 915s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 915s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 915s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 915s # 915s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 915s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 915s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 915s # 915s # struct _OrgProjectBarFrobnicatorProxy 915s # { 915s # /*< private >*/ 915s # GDBusProxy parent_instance; 915s # OrgProjectBarFrobnicatorProxyPrivate *priv; 915s # }; 915s # 915s # struct _OrgProjectBarFrobnicatorProxyClass 915s # { 915s # GDBusProxyClass parent_class; 915s # }; 915s # 915s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 915s # 915s # #if GLIB_CHECK_VERSION(2, 44, 0) 915s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 915s # #endif 915s # 915s # void org_project_bar_frobnicator_proxy_new ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 915s # GAsyncResult *res, 915s # GError **error); 915s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void org_project_bar_frobnicator_proxy_new_for_bus ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 915s # GAsyncResult *res, 915s # GError **error); 915s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # 915s # /* ---- */ 915s # 915s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 915s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 915s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 915s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 915s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 915s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 915s # 915s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 915s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 915s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 915s # 915s # struct _OrgProjectBarFrobnicatorSkeleton 915s # { 915s # /*< private >*/ 915s # GDBusInterfaceSkeleton parent_instance; 915s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 915s # }; 915s # 915s # struct _OrgProjectBarFrobnicatorSkeletonClass 915s # { 915s # GDBusInterfaceSkeletonClass parent_class; 915s # }; 915s # 915s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 915s # 915s # #if GLIB_CHECK_VERSION(2, 44, 0) 915s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 915s # #endif 915s # 915s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 915s # 915s # 915s # /* ------------------------------------------------------------------------ */ 915s # /* Declarations for com.acme.Coyote */ 915s # 915s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 915s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 915s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 915s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 915s # 915s # struct _ComAcmeCoyote; 915s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 915s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 915s # 915s # struct _ComAcmeCoyoteIface 915s # { 915s # GTypeInterface parent_iface; 915s # 915s # 915s # 915s # gboolean (*handle_attack) ( 915s # ComAcmeCoyote *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # gboolean (*handle_run) ( 915s # ComAcmeCoyote *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # gboolean (*handle_sleep) ( 915s # ComAcmeCoyote *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # const gchar * (*get_mood) (ComAcmeCoyote *object); 915s # 915s # void (*surprised) ( 915s # ComAcmeCoyote *object); 915s # 915s # }; 915s # 915s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 915s # 915s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 915s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 915s # 915s # 915s # /* D-Bus method call completion functions: */ 915s # void com_acme_coyote_complete_run ( 915s # ComAcmeCoyote *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # void com_acme_coyote_complete_sleep ( 915s # ComAcmeCoyote *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # void com_acme_coyote_complete_attack ( 915s # ComAcmeCoyote *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # 915s # 915s # /* D-Bus signal emissions functions: */ 915s # void com_acme_coyote_emit_surprised ( 915s # ComAcmeCoyote *object); 915s # 915s # 915s # 915s # /* D-Bus method calls: */ 915s # void com_acme_coyote_call_run ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean com_acme_coyote_call_run_finish ( 915s # ComAcmeCoyote *proxy, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean com_acme_coyote_call_run_sync ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void com_acme_coyote_call_sleep ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean com_acme_coyote_call_sleep_finish ( 915s # ComAcmeCoyote *proxy, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean com_acme_coyote_call_sleep_sync ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void com_acme_coyote_call_attack ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean com_acme_coyote_call_attack_finish ( 915s # ComAcmeCoyote *proxy, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean com_acme_coyote_call_attack_sync ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # 915s # 915s # /* D-Bus property accessors: */ 915s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 915s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 915s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 915s # 915s # 915s # /* ---- */ 915s # 915s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 915s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 915s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 915s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 915s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 915s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 915s # 915s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 915s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 915s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 915s # 915s # struct _ComAcmeCoyoteProxy 915s # { 915s # /*< private >*/ 915s # GDBusProxy parent_instance; 915s # ComAcmeCoyoteProxyPrivate *priv; 915s # }; 915s # 915s # struct _ComAcmeCoyoteProxyClass 915s # { 915s # GDBusProxyClass parent_class; 915s # }; 915s # 915s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 915s # 915s # #if GLIB_CHECK_VERSION(2, 44, 0) 915s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 915s # #endif 915s # 915s # void com_acme_coyote_proxy_new ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 915s # GAsyncResult *res, 915s # GError **error); 915s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void com_acme_coyote_proxy_new_for_bus ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 915s # GAsyncResult *res, 915s # GError **error); 915s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # 915s # /* ---- */ 915s # 915s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 915s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 915s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 915s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 915s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 915s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 915s # 915s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 915s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 915s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 915s # 915s # struct _ComAcmeCoyoteSkeleton 915s # { 915s # /*< private >*/ 915s # GDBusInterfaceSkeleton parent_instance; 915s # ComAcmeCoyoteSkeletonPrivate *priv; 915s # }; 915s # 915s # struct _ComAcmeCoyoteSkeletonClass 915s # { 915s # GDBusInterfaceSkeletonClass parent_class; 915s # }; 915s # 915s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 915s # 915s # #if GLIB_CHECK_VERSION(2, 44, 0) 915s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 915s # #endif 915s # 915s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 915s # 915s # 915s # G_END_DECLS 915s # 915s # #endif /* __STDOUT__ */ 915s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_0tsybs7/tmpwxgcgxa01.xml', '/tmp/tmp_0tsybs7/tmpnwua00ca2.xml', '--output', '-', '--body'] 915s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 915s # Output: /* 915s # * This file is generated by gdbus-codegen, do not modify it. 915s # * 915s # * The license of this code is the same as for the D-Bus interface description 915s # * it was derived from. Note that it links to GLib, so must comply with the 915s # * LGPL linking clauses. 915s # */ 915s # 915s # #ifdef HAVE_CONFIG_H 915s # # include "config.h" 915s # #endif 915s # 915s # #include 915s # #ifdef G_OS_UNIX 915s # # include 915s # #endif 915s # 915s # #ifdef G_ENABLE_DEBUG 915s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 915s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 915s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 915s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 915s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 915s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 915s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 915s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 915s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 915s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 915s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 915s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 915s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 915s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 915s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 915s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 915s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 915s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 915s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 915s # #else /* !G_ENABLE_DEBUG */ 915s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 915s # * Do not access GValues directly in your code. Instead, use the 915s # * g_value_get_*() functions 915s # */ 915s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 915s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 915s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 915s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 915s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 915s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 915s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 915s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 915s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 915s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 915s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 915s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 915s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 915s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 915s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 915s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 915s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 915s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 915s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 915s # #endif /* !G_ENABLE_DEBUG */ 915s # 915s # typedef struct 915s # { 915s # GDBusArgInfo parent_struct; 915s # gboolean use_gvariant; 915s # } _ExtendedGDBusArgInfo; 915s # 915s # typedef struct 915s # { 915s # GDBusMethodInfo parent_struct; 915s # const gchar *signal_name; 915s # gboolean pass_fdlist; 915s # } _ExtendedGDBusMethodInfo; 915s # 915s # typedef struct 915s # { 915s # GDBusSignalInfo parent_struct; 915s # const gchar *signal_name; 915s # } _ExtendedGDBusSignalInfo; 915s # 915s # typedef struct 915s # { 915s # GDBusPropertyInfo parent_struct; 915s # const gchar *hyphen_name; 915s # guint use_gvariant : 1; 915s # guint emits_changed_signal : 1; 915s # } _ExtendedGDBusPropertyInfo; 915s # 915s # typedef struct 915s # { 915s # GDBusInterfaceInfo parent_struct; 915s # const gchar *hyphen_name; 915s # } _ExtendedGDBusInterfaceInfo; 915s # 915s # typedef struct 915s # { 915s # const _ExtendedGDBusPropertyInfo *info; 915s # guint prop_id; 915s # GValue orig_value; /* the value before the change */ 915s # } ChangedProperty; 915s # 915s # static void 915s # _changed_property_free (ChangedProperty *data) 915s # { 915s # g_value_unset (&data->orig_value); 915s # g_free (data); 915s # } 915s # 915s # static gboolean 915s # _g_strv_equal0 (gchar **a, gchar **b) 915s # { 915s # gboolean ret = FALSE; 915s # guint n; 915s # if (a == NULL && b == NULL) 915s # { 915s # ret = TRUE; 915s # goto out; 915s # } 915s # if (a == NULL || b == NULL) 915s # goto out; 915s # if (g_strv_length (a) != g_strv_length (b)) 915s # goto out; 915s # for (n = 0; a[n] != NULL; n++) 915s # if (g_strcmp0 (a[n], b[n]) != 0) 915s # goto out; 915s # ret = TRUE; 915s # out: 915s # return ret; 915s # } 915s # 915s # static gboolean 915s # _g_variant_equal0 (GVariant *a, GVariant *b) 915s # { 915s # gboolean ret = FALSE; 915s # if (a == NULL && b == NULL) 915s # { 915s # ret = TRUE; 915s # goto out; 915s # } 915s # if (a == NULL || b == NULL) 915s # goto out; 915s # ret = g_variant_equal (a, b); 915s # out: 915s # return ret; 915s # } 915s # 915s # G_GNUC_UNUSED static gboolean 915s # _g_value_equal (const GValue *a, const GValue *b) 915s # { 915s # gboolean ret = FALSE; 915s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 915s # switch (G_VALUE_TYPE (a)) 915s # { 915s # case G_TYPE_BOOLEAN: 915s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 915s # break; 915s # case G_TYPE_UCHAR: 915s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 915s # break; 915s # case G_TYPE_INT: 915s # ret = (g_value_get_int (a) == g_value_get_int (b)); 915s # break; 915s # case G_TYPE_UINT: 915s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 915s # break; 915s # case G_TYPE_INT64: 915s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 915s # break; 915s # case G_TYPE_UINT64: 915s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 915s # break; 915s # case G_TYPE_DOUBLE: 915s # { 915s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 915s # gdouble da = g_value_get_double (a); 915s # gdouble db = g_value_get_double (b); 915s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 915s # } 915s # break; 915s # case G_TYPE_STRING: 915s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 915s # break; 915s # case G_TYPE_VARIANT: 915s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 915s # break; 915s # default: 915s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 915s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 915s # else 915s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 915s # break; 915s # } 915s # return ret; 915s # } 915s # 915s # static void 915s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 915s # GClosure *closure, 915s # GValue *return_value, 915s # unsigned int n_param_values, 915s # const GValue *param_values, 915s # void *invocation_hint G_GNUC_UNUSED, 915s # void *marshal_data) 915s # { 915s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 915s # (void *data1, 915s # GDBusMethodInvocation *arg_method_invocation, 915s # void *data2); 915s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 915s # GCClosure *cc = (GCClosure*) closure; 915s # void *data1, *data2; 915s # gboolean v_return; 915s # 915s # g_return_if_fail (return_value != NULL); 915s # g_return_if_fail (n_param_values == 2); 915s # 915s # if (G_CCLOSURE_SWAP_DATA (closure)) 915s # { 915s # data1 = closure->data; 915s # data2 = g_value_peek_pointer (param_values + 0); 915s # } 915s # else 915s # { 915s # data1 = g_value_peek_pointer (param_values + 0); 915s # data2 = closure->data; 915s # } 915s # 915s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 915s # (marshal_data ? marshal_data : cc->callback); 915s # 915s # v_return = 915s # callback (data1, 915s # g_marshal_value_peek_object (param_values + 1), 915s # data2); 915s # 915s # g_value_set_boolean (return_value, v_return); 915s # } 915s # 915s # /* ------------------------------------------------------------------------ 915s # * Code for interface org.project.Bar.Frobnicator 915s # * ------------------------------------------------------------------------ 915s # */ 915s # 915s # /** 915s # * SECTION:OrgProjectBarFrobnicator 915s # * @title: OrgProjectBarFrobnicator 915s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 915s # * 915s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 915s # */ 915s # 915s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 915s # 915s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 915s # { 915s # { 915s # -1, 915s # (gchar *) "RandomMethod", 915s # NULL, 915s # NULL, 915s # NULL 915s # }, 915s # "handle-random-method", 915s # FALSE 915s # }; 915s # 915s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 915s # { 915s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 915s # NULL 915s # }; 915s # 915s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 915s # { 915s # { 915s # -1, 915s # (gchar *) "org.project.Bar.Frobnicator", 915s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 915s # NULL, 915s # NULL, 915s # NULL 915s # }, 915s # "org-project-bar-frobnicator", 915s # }; 915s # 915s # 915s # /** 915s # * org_project_bar_frobnicator_interface_info: 915s # * 915s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 915s # * 915s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 915s # */ 915s # GDBusInterfaceInfo * 915s # org_project_bar_frobnicator_interface_info (void) 915s # { 915s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_override_properties: 915s # * @klass: The class structure for a #GObject derived class. 915s # * @property_id_begin: The property id to assign to the first overridden property. 915s # * 915s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 915s # * The properties are overridden in the order they are defined. 915s # * 915s # * Returns: The last property id. 915s # */ 915s # guint 915s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 915s # { 915s # return property_id_begin - 1; 915s # } 915s # 915s # 915s # inline static void 915s # org_project_bar_frobnicator_method_marshal_random_method ( 915s # GClosure *closure, 915s # GValue *return_value, 915s # unsigned int n_param_values, 915s # const GValue *param_values, 915s # void *invocation_hint, 915s # void *marshal_data) 915s # { 915s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 915s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 915s # } 915s # 915s # 915s # /** 915s # * OrgProjectBarFrobnicator: 915s # * 915s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 915s # */ 915s # 915s # /** 915s # * OrgProjectBarFrobnicatorIface: 915s # * @parent_iface: The parent interface. 915s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 915s # * 915s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 915s # */ 915s # 915s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 915s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 915s # 915s # static void 915s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 915s # { 915s # /* GObject signals for incoming D-Bus method calls: */ 915s # /** 915s # * OrgProjectBarFrobnicator::handle-random-method: 915s # * @object: A #OrgProjectBarFrobnicator. 915s # * @invocation: A #GDBusMethodInvocation. 915s # * 915s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 915s # * 915s # * 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. 915s # * 915s # * 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. 915s # */ 915s # g_signal_new ("handle-random-method", 915s # G_TYPE_FROM_INTERFACE (iface), 915s # G_SIGNAL_RUN_LAST, 915s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 915s # g_signal_accumulator_true_handled, 915s # NULL, 915s # org_project_bar_frobnicator_method_marshal_random_method, 915s # G_TYPE_BOOLEAN, 915s # 1, 915s # G_TYPE_DBUS_METHOD_INVOCATION); 915s # 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_call_random_method: 915s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 915s # * @user_data: User data to pass to @callback. 915s # * 915s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 915s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 915s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 915s # * 915s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 915s # */ 915s # void 915s # org_project_bar_frobnicator_call_random_method ( 915s # OrgProjectBarFrobnicator *proxy, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data) 915s # { 915s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 915s # "RandomMethod", 915s # g_variant_new ("()"), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # cancellable, 915s # callback, 915s # user_data); 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_call_random_method_finish: 915s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 915s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 915s # * @error: Return location for error or %NULL. 915s # * 915s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 915s # * 915s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 915s # */ 915s # gboolean 915s # org_project_bar_frobnicator_call_random_method_finish ( 915s # OrgProjectBarFrobnicator *proxy, 915s # GAsyncResult *res, 915s # GError **error) 915s # { 915s # GVariant *_ret; 915s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 915s # if (_ret == NULL) 915s # goto _out; 915s # g_variant_get (_ret, 915s # "()"); 915s # g_variant_unref (_ret); 915s # _out: 915s # return _ret != NULL; 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_call_random_method_sync: 915s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @error: Return location for error or %NULL. 915s # * 915s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 915s # * 915s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 915s # * 915s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 915s # */ 915s # gboolean 915s # org_project_bar_frobnicator_call_random_method_sync ( 915s # OrgProjectBarFrobnicator *proxy, 915s # GCancellable *cancellable, 915s # GError **error) 915s # { 915s # GVariant *_ret; 915s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 915s # "RandomMethod", 915s # g_variant_new ("()"), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # cancellable, 915s # error); 915s # if (_ret == NULL) 915s # goto _out; 915s # g_variant_get (_ret, 915s # "()"); 915s # g_variant_unref (_ret); 915s # _out: 915s # return _ret != NULL; 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_complete_random_method: 915s # * @object: A #OrgProjectBarFrobnicator. 915s # * @invocation: (transfer full): A #GDBusMethodInvocation. 915s # * 915s # * 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. 915s # * 915s # * This method will free @invocation, you cannot use it afterwards. 915s # */ 915s # void 915s # org_project_bar_frobnicator_complete_random_method ( 915s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 915s # GDBusMethodInvocation *invocation) 915s # { 915s # g_dbus_method_invocation_return_value (invocation, 915s # g_variant_new ("()")); 915s # } 915s # 915s # /* ------------------------------------------------------------------------ */ 915s # 915s # /** 915s # * OrgProjectBarFrobnicatorProxy: 915s # * 915s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 915s # */ 915s # 915s # /** 915s # * OrgProjectBarFrobnicatorProxyClass: 915s # * @parent_class: The parent class. 915s # * 915s # * Class structure for #OrgProjectBarFrobnicatorProxy. 915s # */ 915s # 915s # struct _OrgProjectBarFrobnicatorProxyPrivate 915s # { 915s # GData *qdata; 915s # }; 915s # 915s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 915s # 915s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 915s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 915s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 915s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 915s # 915s # #else 915s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 915s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 915s # 915s # #endif 915s # static void 915s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 915s # { 915s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 915s # g_datalist_clear (&proxy->priv->qdata); 915s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 915s # guint prop_id G_GNUC_UNUSED, 915s # GValue *value G_GNUC_UNUSED, 915s # GParamSpec *pspec G_GNUC_UNUSED) 915s # { 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 915s # guint prop_id G_GNUC_UNUSED, 915s # const GValue *value G_GNUC_UNUSED, 915s # GParamSpec *pspec G_GNUC_UNUSED) 915s # { 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 915s # const gchar *sender_name G_GNUC_UNUSED, 915s # const gchar *signal_name, 915s # GVariant *parameters) 915s # { 915s # _ExtendedGDBusSignalInfo *info; 915s # GVariantIter iter; 915s # GVariant *child; 915s # GValue *paramv; 915s # gsize num_params; 915s # gsize n; 915s # guint signal_id; 915s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 915s # if (info == NULL) 915s # return; 915s # num_params = g_variant_n_children (parameters); 915s # paramv = g_new0 (GValue, num_params + 1); 915s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 915s # g_value_set_object (¶mv[0], proxy); 915s # g_variant_iter_init (&iter, parameters); 915s # n = 1; 915s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 915s # { 915s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 915s # if (arg_info->use_gvariant) 915s # { 915s # g_value_init (¶mv[n], G_TYPE_VARIANT); 915s # g_value_set_variant (¶mv[n], child); 915s # n++; 915s # } 915s # else 915s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 915s # g_variant_unref (child); 915s # } 915s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 915s # g_signal_emitv (paramv, signal_id, 0, NULL); 915s # for (n = 0; n < num_params + 1; n++) 915s # g_value_unset (¶mv[n]); 915s # g_free (paramv); 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 915s # GVariant *changed_properties, 915s # const gchar *const *invalidated_properties) 915s # { 915s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 915s # guint n; 915s # const gchar *key; 915s # GVariantIter *iter; 915s # _ExtendedGDBusPropertyInfo *info; 915s # g_variant_get (changed_properties, "a{sv}", &iter); 915s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 915s # { 915s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 915s # g_datalist_remove_data (&proxy->priv->qdata, key); 915s # if (info != NULL) 915s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 915s # } 915s # g_variant_iter_free (iter); 915s # for (n = 0; invalidated_properties[n] != NULL; n++) 915s # { 915s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 915s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 915s # if (info != NULL) 915s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 915s # } 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 915s # { 915s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 915s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 915s # #else 915s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 915s # #endif 915s # 915s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 915s # { 915s # GObjectClass *gobject_class; 915s # GDBusProxyClass *proxy_class; 915s # 915s # gobject_class = G_OBJECT_CLASS (klass); 915s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 915s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 915s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 915s # 915s # proxy_class = G_DBUS_PROXY_CLASS (klass); 915s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 915s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 915s # 915s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 915s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 915s # #endif 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 915s # { 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_proxy_new: 915s # * @connection: A #GDBusConnection. 915s # * @flags: Flags from the #GDBusProxyFlags enumeration. 915s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 915s # * @object_path: An object path. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 915s # * @user_data: User data to pass to @callback. 915s # * 915s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 915s # * 915s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 915s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 915s # * 915s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 915s # */ 915s # void 915s # org_project_bar_frobnicator_proxy_new ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data) 915s # { 915s # 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); 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_proxy_new_finish: 915s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 915s # * @error: Return location for error or %NULL 915s # * 915s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 915s # * 915s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 915s # */ 915s # OrgProjectBarFrobnicator * 915s # org_project_bar_frobnicator_proxy_new_finish ( 915s # GAsyncResult *res, 915s # GError **error) 915s # { 915s # GObject *ret; 915s # GObject *source_object; 915s # source_object = g_async_result_get_source_object (res); 915s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 915s # g_object_unref (source_object); 915s # if (ret != NULL) 915s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 915s # else 915s # return NULL; 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_proxy_new_sync: 915s # * @connection: A #GDBusConnection. 915s # * @flags: Flags from the #GDBusProxyFlags enumeration. 915s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 915s # * @object_path: An object path. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @error: Return location for error or %NULL 915s # * 915s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 915s # * 915s # * The calling thread is blocked until a reply is received. 915s # * 915s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 915s # * 915s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 915s # */ 915s # OrgProjectBarFrobnicator * 915s # org_project_bar_frobnicator_proxy_new_sync ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error) 915s # { 915s # GInitable *ret; 915s # 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); 915s # if (ret != NULL) 915s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 915s # else 915s # return NULL; 915s # } 915s # 915s # 915s # /** 915s # * org_project_bar_frobnicator_proxy_new_for_bus: 915s # * @bus_type: A #GBusType. 915s # * @flags: Flags from the #GDBusProxyFlags enumeration. 915s # * @name: A bus name (well-known or unique). 915s # * @object_path: An object path. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 915s # * @user_data: User data to pass to @callback. 915s # * 915s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 915s # * 915s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 915s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 915s # * 915s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 915s # */ 915s # void 915s # org_project_bar_frobnicator_proxy_new_for_bus ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data) 915s # { 915s # 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); 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 915s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 915s # * @error: Return location for error or %NULL 915s # * 915s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 915s # * 915s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 915s # */ 915s # OrgProjectBarFrobnicator * 915s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 915s # GAsyncResult *res, 915s # GError **error) 915s # { 915s # GObject *ret; 915s # GObject *source_object; 915s # source_object = g_async_result_get_source_object (res); 915s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 915s # g_object_unref (source_object); 915s # if (ret != NULL) 915s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 915s # else 915s # return NULL; 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 915s # * @bus_type: A #GBusType. 915s # * @flags: Flags from the #GDBusProxyFlags enumeration. 915s # * @name: A bus name (well-known or unique). 915s # * @object_path: An object path. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @error: Return location for error or %NULL 915s # * 915s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 915s # * 915s # * The calling thread is blocked until a reply is received. 915s # * 915s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 915s # * 915s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 915s # */ 915s # OrgProjectBarFrobnicator * 915s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error) 915s # { 915s # GInitable *ret; 915s # 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); 915s # if (ret != NULL) 915s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 915s # else 915s # return NULL; 915s # } 915s # 915s # 915s # /* ------------------------------------------------------------------------ */ 915s # 915s # /** 915s # * OrgProjectBarFrobnicatorSkeleton: 915s # * 915s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 915s # */ 915s # 915s # /** 915s # * OrgProjectBarFrobnicatorSkeletonClass: 915s # * @parent_class: The parent class. 915s # * 915s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 915s # */ 915s # 915s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 915s # { 915s # GValue *properties; 915s # GList *changed_properties; 915s # GSource *changed_properties_idle_source; 915s # GMainContext *context; 915s # GMutex lock; 915s # }; 915s # 915s # static void 915s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 915s # GDBusConnection *connection G_GNUC_UNUSED, 915s # const gchar *sender G_GNUC_UNUSED, 915s # const gchar *object_path G_GNUC_UNUSED, 915s # const gchar *interface_name, 915s # const gchar *method_name, 915s # GVariant *parameters, 915s # GDBusMethodInvocation *invocation, 915s # gpointer user_data) 915s # { 915s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 915s # _ExtendedGDBusMethodInfo *info; 915s # GVariantIter iter; 915s # GVariant *child; 915s # GValue *paramv; 915s # gsize num_params; 915s # guint num_extra; 915s # gsize n; 915s # guint signal_id; 915s # GValue return_value = G_VALUE_INIT; 915s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 915s # g_assert (info != NULL); 915s # num_params = g_variant_n_children (parameters); 915s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 915s # n = 0; 915s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 915s # g_value_set_object (¶mv[n++], skeleton); 915s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 915s # g_value_set_object (¶mv[n++], invocation); 915s # if (info->pass_fdlist) 915s # { 915s # #ifdef G_OS_UNIX 915s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 915s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 915s # #else 915s # g_assert_not_reached (); 915s # #endif 915s # } 915s # g_variant_iter_init (&iter, parameters); 915s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 915s # { 915s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 915s # if (arg_info->use_gvariant) 915s # { 915s # g_value_init (¶mv[n], G_TYPE_VARIANT); 915s # g_value_set_variant (¶mv[n], child); 915s # n++; 915s # } 915s # else 915s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 915s # g_variant_unref (child); 915s # } 915s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 915s # g_value_init (&return_value, G_TYPE_BOOLEAN); 915s # g_signal_emitv (paramv, signal_id, 0, &return_value); 915s # if (!g_value_get_boolean (&return_value)) 915s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 915s # g_value_unset (&return_value); 915s # for (n = 0; n < num_params + num_extra; n++) 915s # g_value_unset (¶mv[n]); 915s # g_free (paramv); 915s # } 915s # 915s # static GVariant * 915s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 915s # GDBusConnection *connection G_GNUC_UNUSED, 915s # const gchar *sender G_GNUC_UNUSED, 915s # const gchar *object_path G_GNUC_UNUSED, 915s # const gchar *interface_name G_GNUC_UNUSED, 915s # const gchar *property_name, 915s # GError **error, 915s # gpointer user_data) 915s # { 915s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 915s # GValue value = G_VALUE_INIT; 915s # GParamSpec *pspec; 915s # _ExtendedGDBusPropertyInfo *info; 915s # GVariant *ret; 915s # ret = NULL; 915s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 915s # g_assert (info != NULL); 915s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 915s # if (pspec == NULL) 915s # { 915s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 915s # } 915s # else 915s # { 915s # g_value_init (&value, pspec->value_type); 915s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 915s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 915s # g_value_unset (&value); 915s # } 915s # return ret; 915s # } 915s # 915s # static gboolean 915s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 915s # GDBusConnection *connection G_GNUC_UNUSED, 915s # const gchar *sender G_GNUC_UNUSED, 915s # const gchar *object_path G_GNUC_UNUSED, 915s # const gchar *interface_name G_GNUC_UNUSED, 915s # const gchar *property_name, 915s # GVariant *variant, 915s # GError **error, 915s # gpointer user_data) 915s # { 915s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 915s # GValue value = G_VALUE_INIT; 915s # GParamSpec *pspec; 915s # _ExtendedGDBusPropertyInfo *info; 915s # gboolean ret; 915s # ret = FALSE; 915s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 915s # g_assert (info != NULL); 915s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 915s # if (pspec == NULL) 915s # { 915s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 915s # } 915s # else 915s # { 915s # if (info->use_gvariant) 915s # g_value_set_variant (&value, variant); 915s # else 915s # g_dbus_gvariant_to_gvalue (variant, &value); 915s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 915s # g_value_unset (&value); 915s # ret = TRUE; 915s # } 915s # return ret; 915s # } 915s # 915s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 915s # { 915s # _org_project_bar_frobnicator_skeleton_handle_method_call, 915s # _org_project_bar_frobnicator_skeleton_handle_get_property, 915s # _org_project_bar_frobnicator_skeleton_handle_set_property, 915s # {NULL} 915s # }; 915s # 915s # static GDBusInterfaceInfo * 915s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 915s # { 915s # return org_project_bar_frobnicator_interface_info (); 915s # } 915s # 915s # static GDBusInterfaceVTable * 915s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 915s # { 915s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 915s # } 915s # 915s # static GVariant * 915s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 915s # { 915s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 915s # 915s # GVariantBuilder builder; 915s # guint n; 915s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 915s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 915s # goto out; 915s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 915s # { 915s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 915s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 915s # { 915s # GVariant *value; 915s # 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); 915s # if (value != NULL) 915s # { 915s # g_variant_take_ref (value); 915s # g_variant_builder_add (&builder, "{sv}", info->name, value); 915s # g_variant_unref (value); 915s # } 915s # } 915s # } 915s # out: 915s # return g_variant_builder_end (&builder); 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 915s # { 915s # } 915s # 915s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 915s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 915s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 915s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 915s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 915s # 915s # #else 915s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 915s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 915s # 915s # #endif 915s # static void 915s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 915s # { 915s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 915s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 915s # if (skeleton->priv->changed_properties_idle_source != NULL) 915s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 915s # g_main_context_unref (skeleton->priv->context); 915s # g_mutex_clear (&skeleton->priv->lock); 915s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 915s # { 915s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 915s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 915s # #else 915s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 915s # #endif 915s # 915s # g_mutex_init (&skeleton->priv->lock); 915s # skeleton->priv->context = g_main_context_ref_thread_default (); 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 915s # { 915s # GObjectClass *gobject_class; 915s # GDBusInterfaceSkeletonClass *skeleton_class; 915s # 915s # gobject_class = G_OBJECT_CLASS (klass); 915s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 915s # 915s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 915s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 915s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 915s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 915s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 915s # 915s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 915s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 915s # #endif 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 915s # { 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_skeleton_new: 915s # * 915s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 915s # * 915s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 915s # */ 915s # OrgProjectBarFrobnicator * 915s # org_project_bar_frobnicator_skeleton_new (void) 915s # { 915s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 915s # } 915s # 915s # /* ------------------------------------------------------------------------ 915s # * Code for interface com.acme.Coyote 915s # * ------------------------------------------------------------------------ 915s # */ 915s # 915s # /** 915s # * SECTION:ComAcmeCoyote 915s # * @title: ComAcmeCoyote 915s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 915s # * 915s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 915s # */ 915s # 915s # enum 915s # { 915s # _COM_ACME_COYOTE_SURPRISED, 915s # }; 915s # 915s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 915s # 915s # /* ---- Introspection data for com.acme.Coyote ---- */ 915s # 915s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 915s # { 915s # { 915s # -1, 915s # (gchar *) "Run", 915s # NULL, 915s # NULL, 915s # NULL 915s # }, 915s # "handle-run", 915s # FALSE 915s # }; 915s # 915s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 915s # { 915s # { 915s # -1, 915s # (gchar *) "Sleep", 915s # NULL, 915s # NULL, 915s # NULL 915s # }, 915s # "handle-sleep", 915s # FALSE 915s # }; 915s # 915s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 915s # { 915s # { 915s # -1, 915s # (gchar *) "Attack", 915s # NULL, 915s # NULL, 915s # NULL 915s # }, 915s # "handle-attack", 915s # FALSE 915s # }; 915s # 915s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 915s # { 915s # &_com_acme_coyote_method_info_run.parent_struct, 915s # &_com_acme_coyote_method_info_sleep.parent_struct, 915s # &_com_acme_coyote_method_info_attack.parent_struct, 915s # NULL 915s # }; 915s # 915s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 915s # { 915s # { 915s # -1, 915s # (gchar *) "Surprised", 915s # NULL, 915s # NULL 915s # }, 915s # "surprised" 915s # }; 915s # 915s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 915s # { 915s # &_com_acme_coyote_signal_info_surprised.parent_struct, 915s # NULL 915s # }; 915s # 915s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 915s # { 915s # { 915s # -1, 915s # (gchar *) "Mood", 915s # (gchar *) "s", 915s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 915s # NULL 915s # }, 915s # "mood", 915s # FALSE, 915s # TRUE 915s # }; 915s # 915s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 915s # { 915s # &_com_acme_coyote_property_info_mood.parent_struct, 915s # NULL 915s # }; 915s # 915s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 915s # { 915s # { 915s # -1, 915s # (gchar *) "com.acme.Coyote", 915s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 915s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 915s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 915s # NULL 915s # }, 915s # "com-acme-coyote", 915s # }; 915s # 915s # 915s # /** 915s # * com_acme_coyote_interface_info: 915s # * 915s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 915s # * 915s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 915s # */ 915s # GDBusInterfaceInfo * 915s # com_acme_coyote_interface_info (void) 915s # { 915s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_override_properties: 915s # * @klass: The class structure for a #GObject derived class. 915s # * @property_id_begin: The property id to assign to the first overridden property. 915s # * 915s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 915s # * The properties are overridden in the order they are defined. 915s # * 915s # * Returns: The last property id. 915s # */ 915s # guint 915s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 915s # { 915s # g_object_class_override_property (klass, property_id_begin++, "mood"); 915s # return property_id_begin - 1; 915s # } 915s # 915s # 915s # inline static void 915s # com_acme_coyote_signal_marshal_surprised ( 915s # GClosure *closure, 915s # GValue *return_value, 915s # unsigned int n_param_values, 915s # const GValue *param_values, 915s # void *invocation_hint, 915s # void *marshal_data) 915s # { 915s # g_cclosure_marshal_VOID__VOID (closure, 915s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 915s # } 915s # 915s # inline static void 915s # com_acme_coyote_method_marshal_run ( 915s # GClosure *closure, 915s # GValue *return_value, 915s # unsigned int n_param_values, 915s # const GValue *param_values, 915s # void *invocation_hint, 915s # void *marshal_data) 915s # { 915s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 915s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 915s # } 915s # 915s # inline static void 915s # com_acme_coyote_method_marshal_sleep ( 915s # GClosure *closure, 915s # GValue *return_value, 915s # unsigned int n_param_values, 915s # const GValue *param_values, 915s # void *invocation_hint, 915s # void *marshal_data) 915s # { 915s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 915s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 915s # } 915s # 915s # inline static void 915s # com_acme_coyote_method_marshal_attack ( 915s # GClosure *closure, 915s # GValue *return_value, 915s # unsigned int n_param_values, 915s # const GValue *param_values, 915s # void *invocation_hint, 915s # void *marshal_data) 915s # { 915s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 915s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 915s # } 915s # 915s # 915s # /** 915s # * ComAcmeCoyote: 915s # * 915s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 915s # */ 915s # 915s # /** 915s # * ComAcmeCoyoteIface: 915s # * @parent_iface: The parent interface. 915s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 915s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 915s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 915s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 915s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 915s # * 915s # * Virtual table for the D-Bus interface com.acme.Coyote. 915s # */ 915s # 915s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 915s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 915s # 915s # static void 915s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 915s # { 915s # /* GObject signals for incoming D-Bus method calls: */ 915s # /** 915s # * ComAcmeCoyote::handle-run: 915s # * @object: A #ComAcmeCoyote. 915s # * @invocation: A #GDBusMethodInvocation. 915s # * 915s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 915s # * 915s # * 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. 915s # * 915s # * 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. 915s # */ 915s # g_signal_new ("handle-run", 915s # G_TYPE_FROM_INTERFACE (iface), 915s # G_SIGNAL_RUN_LAST, 915s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 915s # g_signal_accumulator_true_handled, 915s # NULL, 915s # com_acme_coyote_method_marshal_run, 915s # G_TYPE_BOOLEAN, 915s # 1, 915s # G_TYPE_DBUS_METHOD_INVOCATION); 915s # 915s # /** 915s # * ComAcmeCoyote::handle-sleep: 915s # * @object: A #ComAcmeCoyote. 915s # * @invocation: A #GDBusMethodInvocation. 915s # * 915s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 915s # * 915s # * 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. 915s # * 915s # * 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. 915s # */ 915s # g_signal_new ("handle-sleep", 915s # G_TYPE_FROM_INTERFACE (iface), 915s # G_SIGNAL_RUN_LAST, 915s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 915s # g_signal_accumulator_true_handled, 915s # NULL, 915s # com_acme_coyote_method_marshal_sleep, 915s # G_TYPE_BOOLEAN, 915s # 1, 915s # G_TYPE_DBUS_METHOD_INVOCATION); 915s # 915s # /** 915s # * ComAcmeCoyote::handle-attack: 915s # * @object: A #ComAcmeCoyote. 915s # * @invocation: A #GDBusMethodInvocation. 915s # * 915s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 915s # * 915s # * 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. 915s # * 915s # * 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. 915s # */ 915s # g_signal_new ("handle-attack", 915s # G_TYPE_FROM_INTERFACE (iface), 915s # G_SIGNAL_RUN_LAST, 915s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 915s # g_signal_accumulator_true_handled, 915s # NULL, 915s # com_acme_coyote_method_marshal_attack, 915s # G_TYPE_BOOLEAN, 915s # 1, 915s # G_TYPE_DBUS_METHOD_INVOCATION); 915s # 915s # /* GObject signals for received D-Bus signals: */ 915s # /** 915s # * ComAcmeCoyote::surprised: 915s # * @object: A #ComAcmeCoyote. 915s # * 915s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 915s # * 915s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 915s # */ 915s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 915s # g_signal_new ("surprised", 915s # G_TYPE_FROM_INTERFACE (iface), 915s # G_SIGNAL_RUN_LAST, 915s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 915s # NULL, 915s # NULL, 915s # com_acme_coyote_signal_marshal_surprised, 915s # G_TYPE_NONE, 915s # 0); 915s # 915s # /* GObject properties for D-Bus properties: */ 915s # /** 915s # * ComAcmeCoyote:mood: 915s # * 915s # * Represents the D-Bus property "Mood". 915s # * 915s # * 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. 915s # */ 915s # g_object_interface_install_property (iface, 915s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_get_mood: (skip) 915s # * @object: A #ComAcmeCoyote. 915s # * 915s # * Gets the value of the "Mood" D-Bus property. 915s # * 915s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 915s # * 915s # * 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. 915s # * 915s # * 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. 915s # */ 915s # const gchar * 915s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 915s # { 915s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 915s # 915s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_dup_mood: (skip) 915s # * @object: A #ComAcmeCoyote. 915s # * 915s # * Gets a copy of the "Mood" D-Bus property. 915s # * 915s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 915s # * 915s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 915s # */ 915s # gchar * 915s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 915s # { 915s # gchar *value; 915s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 915s # return value; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_set_mood: (skip) 915s # * @object: A #ComAcmeCoyote. 915s # * @value: The value to set. 915s # * 915s # * Sets the "Mood" D-Bus property to @value. 915s # * 915s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 915s # */ 915s # void 915s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 915s # { 915s # g_object_set (G_OBJECT (object), "mood", value, NULL); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_emit_surprised: 915s # * @object: A #ComAcmeCoyote. 915s # * 915s # * Emits the "Surprised" D-Bus signal. 915s # */ 915s # void 915s # com_acme_coyote_emit_surprised ( 915s # ComAcmeCoyote *object) 915s # { 915s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_run: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 915s # * @user_data: User data to pass to @callback. 915s # * 915s # * Asynchronously invokes the Run() D-Bus method on @proxy. 915s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 915s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 915s # * 915s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 915s # */ 915s # void 915s # com_acme_coyote_call_run ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data) 915s # { 915s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 915s # "Run", 915s # g_variant_new ("()"), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # cancellable, 915s # callback, 915s # user_data); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_run_finish: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 915s # * @error: Return location for error or %NULL. 915s # * 915s # * Finishes an operation started with com_acme_coyote_call_run(). 915s # * 915s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 915s # */ 915s # gboolean 915s # com_acme_coyote_call_run_finish ( 915s # ComAcmeCoyote *proxy, 915s # GAsyncResult *res, 915s # GError **error) 915s # { 915s # GVariant *_ret; 915s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 915s # if (_ret == NULL) 915s # goto _out; 915s # g_variant_get (_ret, 915s # "()"); 915s # g_variant_unref (_ret); 915s # _out: 915s # return _ret != NULL; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_run_sync: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @error: Return location for error or %NULL. 915s # * 915s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 915s # * 915s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 915s # * 915s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 915s # */ 915s # gboolean 915s # com_acme_coyote_call_run_sync ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GError **error) 915s # { 915s # GVariant *_ret; 915s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 915s # "Run", 915s # g_variant_new ("()"), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # cancellable, 915s # error); 915s # if (_ret == NULL) 915s # goto _out; 915s # g_variant_get (_ret, 915s # "()"); 915s # g_variant_unref (_ret); 915s # _out: 915s # return _ret != NULL; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_sleep: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 915s # * @user_data: User data to pass to @callback. 915s # * 915s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 915s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 915s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 915s # * 915s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 915s # */ 915s # void 915s # com_acme_coyote_call_sleep ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data) 915s # { 915s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 915s # "Sleep", 915s # g_variant_new ("()"), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # cancellable, 915s # callback, 915s # user_data); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_sleep_finish: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 915s # * @error: Return location for error or %NULL. 915s # * 915s # * Finishes an operation started with com_acme_coyote_call_sleep(). 915s # * 915s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 915s # */ 915s # gboolean 915s # com_acme_coyote_call_sleep_finish ( 915s # ComAcmeCoyote *proxy, 915s # GAsyncResult *res, 915s # GError **error) 915s # { 915s # GVariant *_ret; 915s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 915s # if (_ret == NULL) 915s # goto _out; 915s # g_variant_get (_ret, 915s # "()"); 915s # g_variant_unref (_ret); 915s # _out: 915s # return _ret != NULL; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_sleep_sync: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @error: Return location for error or %NULL. 915s # * 915s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 915s # * 915s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 915s # * 915s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 915s # */ 915s # gboolean 915s # com_acme_coyote_call_sleep_sync ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GError **error) 915s # { 915s # GVariant *_ret; 915s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 915s # "Sleep", 915s # g_variant_new ("()"), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # cancellable, 915s # error); 915s # if (_ret == NULL) 915s # goto _out; 915s # g_variant_get (_ret, 915s # "()"); 915s # g_variant_unref (_ret); 915s # _out: 915s # return _ret != NULL; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_attack: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 915s # * @user_data: User data to pass to @callback. 915s # * 915s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 915s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 915s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 915s # * 915s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 915s # */ 915s # void 915s # com_acme_coyote_call_attack ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data) 915s # { 915s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 915s # "Attack", 915s # g_variant_new ("()"), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # cancellable, 915s # callback, 915s # user_data); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_attack_finish: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 915s # * @error: Return location for error or %NULL. 915s # * 915s # * Finishes an operation started with com_acme_coyote_call_attack(). 915s # * 915s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 915s # */ 915s # gboolean 915s # com_acme_coyote_call_attack_finish ( 915s # ComAcmeCoyote *proxy, 915s # GAsyncResult *res, 915s # GError **error) 915s # { 915s # GVariant *_ret; 915s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 915s # if (_ret == NULL) 915s # goto _out; 915s # g_variant_get (_ret, 915s # "()"); 915s # g_variant_unref (_ret); 915s # _out: 915s # return _ret != NULL; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_attack_sync: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @error: Return location for error or %NULL. 915s # * 915s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 915s # * 915s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 915s # * 915s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 915s # */ 915s # gboolean 915s # com_acme_coyote_call_attack_sync ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GError **error) 915s # { 915s # GVariant *_ret; 915s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 915s # "Attack", 915s # g_variant_new ("()"), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # cancellable, 915s # error); 915s # if (_ret == NULL) 915s # goto _out; 915s # g_variant_get (_ret, 915s # "()"); 915s # g_variant_unref (_ret); 915s # _out: 915s # return _ret != NULL; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_complete_run: 915s # * @object: A #ComAcmeCoyote. 915s # * @invocation: (transfer full): A #GDBusMethodInvocation. 915s # * 915s # * 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. 915s # * 915s # * This method will free @invocation, you cannot use it afterwards. 915s # */ 915s # void 915s # com_acme_coyote_complete_run ( 915s # ComAcmeCoyote *object G_GNUC_UNUSED, 915s # GDBusMethodInvocation *invocation) 915s # { 915s # g_dbus_method_invocation_return_value (invocation, 915s # g_variant_new ("()")); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_complete_sleep: 915s # * @object: A #ComAcmeCoyote. 915s # * @invocation: (transfer full): A #GDBusMethodInvocation. 915s # * 915s # * 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. 915s # * 915s # * This method will free @invocation, you cannot use it afterwards. 915s # */ 915s # void 915s # com_acme_coyote_complete_sleep ( 915s # ComAcmeCoyote *object G_GNUC_UNUSED, 915s # GDBusMethodInvocation *invocation) 915s # { 915s # g_dbus_method_invocation_return_value (invocation, 915s # g_variant_new ("()")); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_complete_attack: 915s # * @object: A #ComAcmeCoyote. 915s # * @invocation: (transfer full): A #GDBusMethodInvocation. 915s # * 915s # * 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. 915s # * 915s # * This method will free @invocation, you cannot use it afterwards. 915s # */ 915s # void 915s # com_acme_coyote_complete_attack ( 915s # ComAcmeCoyote *object G_GNUC_UNUSED, 915s # GDBusMethodInvocation *invocation) 915s # { 915s # g_dbus_method_invocation_return_value (invocation, 915s # g_variant_new ("()")); 915s # } 915s # 915s # /* ------------------------------------------------------------------------ */ 915s # 915s # /** 915s # * ComAcmeCoyoteProxy: 915s # * 915s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 915s # */ 915s # 915s # /** 915s # * ComAcmeCoyoteProxyClass: 915s # * @parent_class: The parent class. 915s # * 915s # * Class structure for #ComAcmeCoyoteProxy. 915s # */ 915s # 915s # struct _ComAcmeCoyoteProxyPrivate 915s # { 915s # GData *qdata; 915s # }; 915s # 915s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 915s # 915s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 915s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 915s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 915s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 915s # 915s # #else 915s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 915s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 915s # 915s # #endif 915s # static void 915s # com_acme_coyote_proxy_finalize (GObject *object) 915s # { 915s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 915s # g_datalist_clear (&proxy->priv->qdata); 915s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 915s # } 915s # 915s # static void 915s # com_acme_coyote_proxy_get_property (GObject *object, 915s # guint prop_id, 915s # GValue *value, 915s # GParamSpec *pspec G_GNUC_UNUSED) 915s # { 915s # const _ExtendedGDBusPropertyInfo *info; 915s # GVariant *variant; 915s # g_assert (prop_id != 0 && prop_id - 1 < 1); 915s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 915s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 915s # if (info->use_gvariant) 915s # { 915s # g_value_set_variant (value, variant); 915s # } 915s # else 915s # { 915s # if (variant != NULL) 915s # g_dbus_gvariant_to_gvalue (variant, value); 915s # } 915s # if (variant != NULL) 915s # g_variant_unref (variant); 915s # } 915s # 915s # static void 915s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 915s # GAsyncResult *res, 915s # gpointer user_data) 915s # { 915s # const _ExtendedGDBusPropertyInfo *info = user_data; 915s # GError *error; 915s # GVariant *_ret; 915s # error = NULL; 915s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 915s # if (!_ret) 915s # { 915s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 915s # info->parent_struct.name, 915s # error->message, g_quark_to_string (error->domain), error->code); 915s # g_error_free (error); 915s # } 915s # else 915s # { 915s # g_variant_unref (_ret); 915s # } 915s # } 915s # 915s # static void 915s # com_acme_coyote_proxy_set_property (GObject *object, 915s # guint prop_id, 915s # const GValue *value, 915s # GParamSpec *pspec G_GNUC_UNUSED) 915s # { 915s # const _ExtendedGDBusPropertyInfo *info; 915s # GVariant *variant; 915s # g_assert (prop_id != 0 && prop_id - 1 < 1); 915s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 915s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 915s # g_dbus_proxy_call (G_DBUS_PROXY (object), 915s # "org.freedesktop.DBus.Properties.Set", 915s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 915s # g_variant_unref (variant); 915s # } 915s # 915s # static void 915s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 915s # const gchar *sender_name G_GNUC_UNUSED, 915s # const gchar *signal_name, 915s # GVariant *parameters) 915s # { 915s # _ExtendedGDBusSignalInfo *info; 915s # GVariantIter iter; 915s # GVariant *child; 915s # GValue *paramv; 915s # gsize num_params; 915s # gsize n; 915s # guint signal_id; 915s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 915s # if (info == NULL) 915s # return; 915s # num_params = g_variant_n_children (parameters); 915s # paramv = g_new0 (GValue, num_params + 1); 915s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 915s # g_value_set_object (¶mv[0], proxy); 915s # g_variant_iter_init (&iter, parameters); 915s # n = 1; 915s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 915s # { 915s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 915s # if (arg_info->use_gvariant) 915s # { 915s # g_value_init (¶mv[n], G_TYPE_VARIANT); 915s # g_value_set_variant (¶mv[n], child); 915s # n++; 915s # } 915s # else 915s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 915s # g_variant_unref (child); 915s # } 915s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 915s # g_signal_emitv (paramv, signal_id, 0, NULL); 915s # for (n = 0; n < num_params + 1; n++) 915s # g_value_unset (¶mv[n]); 915s # g_free (paramv); 915s # } 915s # 915s # static void 915s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 915s # GVariant *changed_properties, 915s # const gchar *const *invalidated_properties) 915s # { 915s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 915s # guint n; 915s # const gchar *key; 915s # GVariantIter *iter; 915s # _ExtendedGDBusPropertyInfo *info; 915s # g_variant_get (changed_properties, "a{sv}", &iter); 915s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 915s # { 915s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 915s # g_datalist_remove_data (&proxy->priv->qdata, key); 915s # if (info != NULL) 915s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 915s # } 915s # g_variant_iter_free (iter); 915s # for (n = 0; invalidated_properties[n] != NULL; n++) 915s # { 915s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 915s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 915s # if (info != NULL) 915s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 915s # } 915s # } 915s # 915s # static const gchar * 915s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 915s # { 915s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 915s # GVariant *variant; 915s # const gchar *value = NULL; 915s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 915s # if (variant != NULL) 915s # { 915s # value = g_variant_get_string (variant, NULL); 915s # g_variant_unref (variant); 915s # } 915s # return value; 915s # } 915s # 915s # static void 915s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 915s # { 915s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 915s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 915s # #else 915s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 915s # #endif 915s # 915s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 915s # } 915s # 915s # static void 915s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 915s # { 915s # GObjectClass *gobject_class; 915s # GDBusProxyClass *proxy_class; 915s # 915s # gobject_class = G_OBJECT_CLASS (klass); 915s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 915s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 915s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 915s # 915s # proxy_class = G_DBUS_PROXY_CLASS (klass); 915s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 915s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 915s # 915s # com_acme_coyote_override_properties (gobject_class, 1); 915s # 915s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 915s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 915s # #endif 915s # } 915s # 915s # static void 915s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 915s # { 915s # iface->get_mood = com_acme_coyote_proxy_get_mood; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_proxy_new: 915s # * @connection: A #GDBusConnection. 915s # * @flags: Flags from the #GDBusProxyFlags enumeration. 915s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 915s # * @object_path: An object path. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 915s # * @user_data: User data to pass to @callback. 915s # * 915s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 915s # * 915s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 915s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 915s # * 915s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 915s # */ 915s # void 915s # com_acme_coyote_proxy_new ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data) 915s # { 915s # 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); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_proxy_new_finish: 915s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 915s # * @error: Return location for error or %NULL 915s # * 915s # * Finishes an operation started with com_acme_coyote_proxy_new(). 915s # * 915s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 915s # */ 915s # ComAcmeCoyote * 915s # com_acme_coyote_proxy_new_finish ( 915s # GAsyncResult *res, 915s # GError **error) 915s # { 915s # GObject *ret; 915s # GObject *source_object; 915s # source_object = g_async_result_get_source_object (res); 915s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 915s # g_object_unref (source_object); 915s # if (ret != NULL) 915s # return COM_ACME_COYOTE (ret); 915s # else 915s # return NULL; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_proxy_new_sync: 915s # * @connection: A #GDBusConnection. 915s # * @flags: Flags from the #GDBusProxyFlags enumeration. 915s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 915s # * @object_path: An object path. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @error: Return location for error or %NULL 915s # * 915s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 915s # * 915s # * The calling thread is blocked until a reply is received. 915s # * 915s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 915s # * 915s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 915s # */ 915s # ComAcmeCoyote * 915s # com_acme_coyote_proxy_new_sync ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error) 915s # { 915s # GInitable *ret; 915s # 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); 915s # if (ret != NULL) 915s # return COM_ACME_COYOTE (ret); 915s # else 915s # return NULL; 915s # } 915s # 915s # 915s # /** 915s # * com_acme_coyote_proxy_new_for_bus: 915s # * @bus_type: A #GBusType. 915s # * @flags: Flags from the #GDBusProxyFlags enumeration. 915s # * @name: A bus name (well-known or unique). 915s # * @object_path: An object path. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 915s # * @user_data: User data to pass to @callback. 915s # * 915s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 915s # * 915s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 915s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 915s # * 915s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 915s # */ 915s # void 915s # com_acme_coyote_proxy_new_for_bus ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data) 915s # { 915s # 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); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_proxy_new_for_bus_finish: 915s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 915s # * @error: Return location for error or %NULL 915s # * 915s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 915s # * 915s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 915s # */ 915s # ComAcmeCoyote * 915s # com_acme_coyote_proxy_new_for_bus_finish ( 915s # GAsyncResult *res, 915s # GError **error) 915s # { 915s # GObject *ret; 915s # GObject *source_object; 915s # source_object = g_async_result_get_source_object (res); 915s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 915s # g_object_unref (source_object); 915s # if (ret != NULL) 915s # return COM_ACME_COYOTE (ret); 915s # else 915s # return NULL; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_proxy_new_for_bus_sync: 915s # * @bus_type: A #GBusType. 915s # * @flags: Flags from the #GDBusProxyFlags enumeration. 915s # * @name: A bus name (well-known or unique). 915s # * @object_path: An object path. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @error: Return location for error or %NULL 915s # * 915s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 915s # * 915s # * The calling thread is blocked until a reply is received. 915s # * 915s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 915s # * 915s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 915s # */ 915s # ComAcmeCoyote * 915s # com_acme_coyote_proxy_new_for_bus_sync ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error) 915s # { 915s # GInitable *ret; 915s # 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); 915s # if (ret != NULL) 915s # return COM_ACME_COYOTE (ret); 915s # else 915s # return NULL; 915s # } 915s # 915s # 915s # /* ------------------------------------------------------------------------ */ 915s # 915s # /** 915s # * ComAcmeCoyoteSkeleton: 915s # * 915s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 915s # */ 915s # 915s # /** 915s # * ComAcmeCoyoteSkeletonClass: 915s # * @parent_class: The parent class. 915s # * 915s # * Class structure for #ComAcmeCoyoteSkeleton. 915s # */ 915s # 915s # struct _ComAcmeCoyoteSkeletonPrivate 915s # { 915s # GValue *properties; 915s # GList *changed_properties; 915s # GSource *changed_properties_idle_source; 915s # GMainContext *context; 915s # GMutex lock; 915s # }; 915s # 915s # static void 915s # _com_acme_coyote_skeleton_handle_method_call ( 915s # GDBusConnection *connection G_GNUC_UNUSED, 915s # const gchar *sender G_GNUC_UNUSED, 915s # const gchar *object_path G_GNUC_UNUSED, 915s # const gchar *interface_name, 915s # const gchar *method_name, 915s # GVariant *parameters, 915s # GDBusMethodInvocation *invocation, 915s # gpointer user_data) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 915s # _ExtendedGDBusMethodInfo *info; 915s # GVariantIter iter; 915s # GVariant *child; 915s # GValue *paramv; 915s # gsize num_params; 915s # guint num_extra; 915s # gsize n; 915s # guint signal_id; 915s # GValue return_value = G_VALUE_INIT; 915s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 915s # g_assert (info != NULL); 915s # num_params = g_variant_n_children (parameters); 915s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 915s # n = 0; 915s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 915s # g_value_set_object (¶mv[n++], skeleton); 915s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 915s # g_value_set_object (¶mv[n++], invocation); 915s # if (info->pass_fdlist) 915s # { 915s # #ifdef G_OS_UNIX 915s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 915s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 915s # #else 915s # g_assert_not_reached (); 915s # #endif 915s # } 915s # g_variant_iter_init (&iter, parameters); 915s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 915s # { 915s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 915s # if (arg_info->use_gvariant) 915s # { 915s # g_value_init (¶mv[n], G_TYPE_VARIANT); 915s # g_value_set_variant (¶mv[n], child); 915s # n++; 915s # } 915s # else 915s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 915s # g_variant_unref (child); 915s # } 915s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 915s # g_value_init (&return_value, G_TYPE_BOOLEAN); 915s # g_signal_emitv (paramv, signal_id, 0, &return_value); 915s # if (!g_value_get_boolean (&return_value)) 915s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 915s # g_value_unset (&return_value); 915s # for (n = 0; n < num_params + num_extra; n++) 915s # g_value_unset (¶mv[n]); 915s # g_free (paramv); 915s # } 915s # 915s # static GVariant * 915s # _com_acme_coyote_skeleton_handle_get_property ( 915s # GDBusConnection *connection G_GNUC_UNUSED, 915s # const gchar *sender G_GNUC_UNUSED, 915s # const gchar *object_path G_GNUC_UNUSED, 915s # const gchar *interface_name G_GNUC_UNUSED, 915s # const gchar *property_name, 915s # GError **error, 915s # gpointer user_data) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 915s # GValue value = G_VALUE_INIT; 915s # GParamSpec *pspec; 915s # _ExtendedGDBusPropertyInfo *info; 915s # GVariant *ret; 915s # ret = NULL; 915s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 915s # g_assert (info != NULL); 915s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 915s # if (pspec == NULL) 915s # { 915s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 915s # } 915s # else 915s # { 915s # g_value_init (&value, pspec->value_type); 915s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 915s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 915s # g_value_unset (&value); 915s # } 915s # return ret; 915s # } 915s # 915s # static gboolean 915s # _com_acme_coyote_skeleton_handle_set_property ( 915s # GDBusConnection *connection G_GNUC_UNUSED, 915s # const gchar *sender G_GNUC_UNUSED, 915s # const gchar *object_path G_GNUC_UNUSED, 915s # const gchar *interface_name G_GNUC_UNUSED, 915s # const gchar *property_name, 915s # GVariant *variant, 915s # GError **error, 915s # gpointer user_data) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 915s # GValue value = G_VALUE_INIT; 915s # GParamSpec *pspec; 915s # _ExtendedGDBusPropertyInfo *info; 915s # gboolean ret; 915s # ret = FALSE; 915s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 915s # g_assert (info != NULL); 915s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 915s # if (pspec == NULL) 915s # { 915s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 915s # } 915s # else 915s # { 915s # if (info->use_gvariant) 915s # g_value_set_variant (&value, variant); 915s # else 915s # g_dbus_gvariant_to_gvalue (variant, &value); 915s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 915s # g_value_unset (&value); 915s # ret = TRUE; 915s # } 915s # return ret; 915s # } 915s # 915s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 915s # { 915s # _com_acme_coyote_skeleton_handle_method_call, 915s # _com_acme_coyote_skeleton_handle_get_property, 915s # _com_acme_coyote_skeleton_handle_set_property, 915s # {NULL} 915s # }; 915s # 915s # static GDBusInterfaceInfo * 915s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 915s # { 915s # return com_acme_coyote_interface_info (); 915s # } 915s # 915s # static GDBusInterfaceVTable * 915s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 915s # { 915s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 915s # } 915s # 915s # static GVariant * 915s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 915s # 915s # GVariantBuilder builder; 915s # guint n; 915s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 915s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 915s # goto out; 915s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 915s # { 915s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 915s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 915s # { 915s # GVariant *value; 915s # 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); 915s # if (value != NULL) 915s # { 915s # g_variant_take_ref (value); 915s # g_variant_builder_add (&builder, "{sv}", info->name, value); 915s # g_variant_unref (value); 915s # } 915s # } 915s # } 915s # out: 915s # return g_variant_builder_end (&builder); 915s # } 915s # 915s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 915s # 915s # static void 915s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 915s # gboolean emit_changed = FALSE; 915s # 915s # g_mutex_lock (&skeleton->priv->lock); 915s # if (skeleton->priv->changed_properties_idle_source != NULL) 915s # { 915s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 915s # skeleton->priv->changed_properties_idle_source = NULL; 915s # emit_changed = TRUE; 915s # } 915s # g_mutex_unlock (&skeleton->priv->lock); 915s # 915s # if (emit_changed) 915s # _com_acme_coyote_emit_changed (skeleton); 915s # } 915s # 915s # static void 915s # _com_acme_coyote_on_signal_surprised ( 915s # ComAcmeCoyote *object) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 915s # 915s # GList *connections, *l; 915s # GVariant *signal_variant; 915s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 915s # 915s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 915s # for (l = connections; l != NULL; l = l->next) 915s # { 915s # GDBusConnection *connection = l->data; 915s # g_dbus_connection_emit_signal (connection, 915s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 915s # signal_variant, NULL); 915s # } 915s # g_variant_unref (signal_variant); 915s # g_list_free_full (connections, g_object_unref); 915s # } 915s # 915s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 915s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 915s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 915s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 915s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 915s # 915s # #else 915s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 915s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 915s # 915s # #endif 915s # static void 915s # com_acme_coyote_skeleton_finalize (GObject *object) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 915s # guint n; 915s # for (n = 0; n < 1; n++) 915s # g_value_unset (&skeleton->priv->properties[n]); 915s # g_free (skeleton->priv->properties); 915s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 915s # if (skeleton->priv->changed_properties_idle_source != NULL) 915s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 915s # g_main_context_unref (skeleton->priv->context); 915s # g_mutex_clear (&skeleton->priv->lock); 915s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 915s # } 915s # 915s # static void 915s # com_acme_coyote_skeleton_get_property (GObject *object, 915s # guint prop_id, 915s # GValue *value, 915s # GParamSpec *pspec G_GNUC_UNUSED) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 915s # g_assert (prop_id != 0 && prop_id - 1 < 1); 915s # g_mutex_lock (&skeleton->priv->lock); 915s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 915s # g_mutex_unlock (&skeleton->priv->lock); 915s # } 915s # 915s # static gboolean 915s # _com_acme_coyote_emit_changed (gpointer user_data) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 915s # GList *l; 915s # GVariantBuilder builder; 915s # GVariantBuilder invalidated_builder; 915s # guint num_changes; 915s # 915s # g_mutex_lock (&skeleton->priv->lock); 915s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 915s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 915s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 915s # { 915s # ChangedProperty *cp = l->data; 915s # GVariant *variant; 915s # const GValue *cur_value; 915s # 915s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 915s # if (!_g_value_equal (cur_value, &cp->orig_value)) 915s # { 915s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 915s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 915s # g_variant_unref (variant); 915s # num_changes++; 915s # } 915s # } 915s # if (num_changes > 0) 915s # { 915s # GList *connections, *ll; 915s # GVariant *signal_variant; 915s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 915s # &builder, &invalidated_builder)); 915s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 915s # for (ll = connections; ll != NULL; ll = ll->next) 915s # { 915s # GDBusConnection *connection = ll->data; 915s # 915s # g_dbus_connection_emit_signal (connection, 915s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 915s # "org.freedesktop.DBus.Properties", 915s # "PropertiesChanged", 915s # signal_variant, 915s # NULL); 915s # } 915s # g_variant_unref (signal_variant); 915s # g_list_free_full (connections, g_object_unref); 915s # } 915s # else 915s # { 915s # g_variant_builder_clear (&builder); 915s # g_variant_builder_clear (&invalidated_builder); 915s # } 915s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 915s # skeleton->priv->changed_properties = NULL; 915s # skeleton->priv->changed_properties_idle_source = NULL; 915s # g_mutex_unlock (&skeleton->priv->lock); 915s # return FALSE; 915s # } 915s # 915s # static void 915s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 915s # { 915s # ChangedProperty *cp; 915s # GList *l; 915s # cp = NULL; 915s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 915s # { 915s # ChangedProperty *i_cp = l->data; 915s # if (i_cp->info == info) 915s # { 915s # cp = i_cp; 915s # break; 915s # } 915s # } 915s # if (cp == NULL) 915s # { 915s # cp = g_new0 (ChangedProperty, 1); 915s # cp->prop_id = prop_id; 915s # cp->info = info; 915s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 915s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 915s # g_value_copy (orig_value, &cp->orig_value); 915s # } 915s # } 915s # 915s # static void 915s # com_acme_coyote_skeleton_notify (GObject *object, 915s # GParamSpec *pspec G_GNUC_UNUSED) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 915s # g_mutex_lock (&skeleton->priv->lock); 915s # if (skeleton->priv->changed_properties != NULL && 915s # skeleton->priv->changed_properties_idle_source == NULL) 915s # { 915s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 915s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 915s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 915s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 915s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 915s # g_source_unref (skeleton->priv->changed_properties_idle_source); 915s # } 915s # g_mutex_unlock (&skeleton->priv->lock); 915s # } 915s # 915s # static void 915s # com_acme_coyote_skeleton_set_property (GObject *object, 915s # guint prop_id, 915s # const GValue *value, 915s # GParamSpec *pspec) 915s # { 915s # const _ExtendedGDBusPropertyInfo *info; 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 915s # g_assert (prop_id != 0 && prop_id - 1 < 1); 915s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 915s # g_mutex_lock (&skeleton->priv->lock); 915s # g_object_freeze_notify (object); 915s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 915s # { 915s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 915s # info->emits_changed_signal) 915s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 915s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 915s # g_object_notify_by_pspec (object, pspec); 915s # } 915s # g_mutex_unlock (&skeleton->priv->lock); 915s # g_object_thaw_notify (object); 915s # } 915s # 915s # static void 915s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 915s # { 915s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 915s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 915s # #else 915s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 915s # #endif 915s # 915s # g_mutex_init (&skeleton->priv->lock); 915s # skeleton->priv->context = g_main_context_ref_thread_default (); 915s # skeleton->priv->properties = g_new0 (GValue, 1); 915s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 915s # } 915s # 915s # static const gchar * 915s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 915s # const gchar *value; 915s # g_mutex_lock (&skeleton->priv->lock); 915s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 915s # g_mutex_unlock (&skeleton->priv->lock); 915s # return value; 915s # } 915s # 915s # static void 915s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 915s # { 915s # GObjectClass *gobject_class; 915s # GDBusInterfaceSkeletonClass *skeleton_class; 915s # 915s # gobject_class = G_OBJECT_CLASS (klass); 915s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 915s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 915s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 915s # gobject_class->notify = com_acme_coyote_skeleton_notify; 915s # 915s # 915s # com_acme_coyote_override_properties (gobject_class, 1); 915s # 915s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 915s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 915s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 915s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 915s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 915s # 915s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 915s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 915s # #endif 915s # } 915s # 915s # static void 915s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 915s # { 915s # iface->surprised = _com_acme_coyote_on_signal_surprised; 915s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_skeleton_new: 915s # * 915s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 915s # * 915s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 915s # */ 915s # ComAcmeCoyote * 915s # com_acme_coyote_skeleton_new (void) 915s # { 915s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 915s # } 915s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_0tsybs7/tmpnwua00ca2.xml', '/tmp/tmp_0tsybs7/tmpwxgcgxa01.xml', '--output', '-', '--body'] 915s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 915s # Output: /* 915s # * This file is generated by gdbus-codegen, do not modify it. 915s # * 915s # * The license of this code is the same as for the D-Bus interface description 915s # * it was derived from. Note that it links to GLib, so must comply with the 915s # * LGPL linking clauses. 915s # */ 915s # 915s # #ifdef HAVE_CONFIG_H 915s # # include "config.h" 915s # #endif 915s # 915s # #include 915s # #ifdef G_OS_UNIX 915s # # include 915s # #endif 915s # 915s # #ifdef G_ENABLE_DEBUG 915s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 915s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 915s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 915s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 915s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 915s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 915s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 915s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 915s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 915s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 915s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 915s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 915s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 915s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 915s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 915s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 915s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 915s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 915s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 915s # #else /* !G_ENABLE_DEBUG */ 915s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 915s # * Do not access GValues directly in your code. Instead, use the 915s # * g_value_get_*() functions 915s # */ 915s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 915s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 915s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 915s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 915s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 915s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 915s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 915s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 915s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 915s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 915s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 915s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 915s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 915s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 915s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 915s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 915s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 915s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 915s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 915s # #endif /* !G_ENABLE_DEBUG */ 915s # 915s # typedef struct 915s # { 915s # GDBusArgInfo parent_struct; 915s # gboolean use_gvariant; 915s # } _ExtendedGDBusArgInfo; 915s # 915s # typedef struct 915s # { 915s # GDBusMethodInfo parent_struct; 915s # const gchar *signal_name; 915s # gboolean pass_fdlist; 915s # } _ExtendedGDBusMethodInfo; 915s # 915s # typedef struct 915s # { 915s # GDBusSignalInfo parent_struct; 915s # const gchar *signal_name; 915s # } _ExtendedGDBusSignalInfo; 915s # 915s # typedef struct 915s # { 915s # GDBusPropertyInfo parent_struct; 915s # const gchar *hyphen_name; 915s # guint use_gvariant : 1; 915s # guint emits_changed_signal : 1; 915s # } _ExtendedGDBusPropertyInfo; 915s # 915s # typedef struct 915s # { 915s # GDBusInterfaceInfo parent_struct; 915s # const gchar *hyphen_name; 915s # } _ExtendedGDBusInterfaceInfo; 915s # 915s # typedef struct 915s # { 915s # const _ExtendedGDBusPropertyInfo *info; 915s # guint prop_id; 915s # GValue orig_value; /* the value before the change */ 915s # } ChangedProperty; 915s # 915s # static void 915s # _changed_property_free (ChangedProperty *data) 915s # { 915s # g_value_unset (&data->orig_value); 915s # g_free (data); 915s # } 915s # 915s # static gboolean 915s # _g_strv_equal0 (gchar **a, gchar **b) 915s # { 915s # gboolean ret = FALSE; 915s # guint n; 915s # if (a == NULL && b == NULL) 915s # { 915s # ret = TRUE; 915s # goto out; 915s # } 915s # if (a == NULL || b == NULL) 915s # goto out; 915s # if (g_strv_length (a) != g_strv_length (b)) 915s # goto out; 915s # for (n = 0; a[n] != NULL; n++) 915s # if (g_strcmp0 (a[n], b[n]) != 0) 915s # goto out; 915s # ret = TRUE; 915s # out: 915s # return ret; 915s # } 915s # 915s # static gboolean 915s # _g_variant_equal0 (GVariant *a, GVariant *b) 915s # { 915s # gboolean ret = FALSE; 915s # if (a == NULL && b == NULL) 915s # { 915s # ret = TRUE; 915s # goto out; 915s # } 915s # if (a == NULL || b == NULL) 915s # goto out; 915s # ret = g_variant_equal (a, b); 915s # out: 915s # return ret; 915s # } 915s # 915s # G_GNUC_UNUSED static gboolean 915s # _g_value_equal (const GValue *a, const GValue *b) 915s # { 915s # gboolean ret = FALSE; 915s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 915s # switch (G_VALUE_TYPE (a)) 915s # { 915s # case G_TYPE_BOOLEAN: 915s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 915s # break; 915s # case G_TYPE_UCHAR: 915s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 915s # break; 915s # case G_TYPE_INT: 915s # ret = (g_value_get_int (a) == g_value_get_int (b)); 915s # break; 915s # case G_TYPE_UINT: 915s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 915s # break; 915s # case G_TYPE_INT64: 915s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 915s # break; 915s # case G_TYPE_UINT64: 915s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 915s # break; 915s # case G_TYPE_DOUBLE: 915s # { 915s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 915s # gdouble da = g_value_get_double (a); 915s # gdouble db = g_value_get_double (b); 915s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 915s # } 915s # break; 915s # case G_TYPE_STRING: 915s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 915s # break; 915s # case G_TYPE_VARIANT: 915s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 915s # break; 915s # default: 915s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 915s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 915s # else 915s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 915s # break; 915s # } 915s # return ret; 915s # } 915s # 915s # static void 915s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 915s # GClosure *closure, 915s # GValue *return_value, 915s # unsigned int n_param_values, 915s # const GValue *param_values, 915s # void *invocation_hint G_GNUC_UNUSED, 915s # void *marshal_data) 915s # { 915s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 915s # (void *data1, 915s # GDBusMethodInvocation *arg_method_invocation, 915s # void *data2); 915s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 915s # GCClosure *cc = (GCClosure*) closure; 915s # void *data1, *data2; 915s # gboolean v_return; 915s # 915s # g_return_if_fail (return_value != NULL); 915s # g_return_if_fail (n_param_values == 2); 915s # 915s # if (G_CCLOSURE_SWAP_DATA (closure)) 915s # { 915s # data1 = closure->data; 915s # data2 = g_value_peek_pointer (param_values + 0); 915s # } 915s # else 915s # { 915s # data1 = g_value_peek_pointer (param_values + 0); 915s # data2 = closure->data; 915s # } 915s # 915s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 915s # (marshal_data ? marshal_data : cc->callback); 915s # 915s # v_return = 915s # callback (data1, 915s # g_marshal_value_peek_object (param_values + 1), 915s # data2); 915s # 915s # g_value_set_boolean (return_value, v_return); 915s # } 915s # 915s # /* ------------------------------------------------------------------------ 915s # * Code for interface org.project.Bar.Frobnicator 915s # * ------------------------------------------------------------------------ 915s # */ 915s # 915s # /** 915s # * SECTION:OrgProjectBarFrobnicator 915s # * @title: OrgProjectBarFrobnicator 915s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 915s # * 915s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 915s # */ 915s # 915s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 915s # 915s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 915s # { 915s # { 915s # -1, 915s # (gchar *) "RandomMethod", 915s # NULL, 915s # NULL, 915s # NULL 915s # }, 915s # "handle-random-method", 915s # FALSE 915s # }; 915s # 915s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 915s # { 915s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 915s # NULL 915s # }; 915s # 915s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 915s # { 915s # { 915s # -1, 915s # (gchar *) "org.project.Bar.Frobnicator", 915s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 915s # NULL, 915s # NULL, 915s # NULL 915s # }, 915s # "org-project-bar-frobnicator", 915s # }; 915s # 915s # 915s # /** 915s # * org_project_bar_frobnicator_interface_info: 915s # * 915s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 915s # * 915s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 915s # */ 915s # GDBusInterfaceInfo * 915s # org_project_bar_frobnicator_interface_info (void) 915s # { 915s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_override_properties: 915s # * @klass: The class structure for a #GObject derived class. 915s # * @property_id_begin: The property id to assign to the first overridden property. 915s # * 915s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 915s # * The properties are overridden in the order they are defined. 915s # * 915s # * Returns: The last property id. 915s # */ 915s # guint 915s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 915s # { 915s # return property_id_begin - 1; 915s # } 915s # 915s # 915s # inline static void 915s # org_project_bar_frobnicator_method_marshal_random_method ( 915s # GClosure *closure, 915s # GValue *return_value, 915s # unsigned int n_param_values, 915s # const GValue *param_values, 915s # void *invocation_hint, 915s # void *marshal_data) 915s # { 915s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 915s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 915s # } 915s # 915s # 915s # /** 915s # * OrgProjectBarFrobnicator: 915s # * 915s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 915s # */ 915s # 915s # /** 915s # * OrgProjectBarFrobnicatorIface: 915s # * @parent_iface: The parent interface. 915s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 915s # * 915s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 915s # */ 915s # 915s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 915s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 915s # 915s # static void 915s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 915s # { 915s # /* GObject signals for incoming D-Bus method calls: */ 915s # /** 915s # * OrgProjectBarFrobnicator::handle-random-method: 915s # * @object: A #OrgProjectBarFrobnicator. 915s # * @invocation: A #GDBusMethodInvocation. 915s # * 915s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 915s # * 915s # * 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. 915s # * 915s # * 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. 915s # */ 915s # g_signal_new ("handle-random-method", 915s # G_TYPE_FROM_INTERFACE (iface), 915s # G_SIGNAL_RUN_LAST, 915s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 915s # g_signal_accumulator_true_handled, 915s # NULL, 915s # org_project_bar_frobnicator_method_marshal_random_method, 915s # G_TYPE_BOOLEAN, 915s # 1, 915s # G_TYPE_DBUS_METHOD_INVOCATION); 915s # 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_call_random_method: 915s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 915s # * @user_data: User data to pass to @callback. 915s # * 915s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 915s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 915s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 915s # * 915s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 915s # */ 915s # void 915s # org_project_bar_frobnicator_call_random_method ( 915s # OrgProjectBarFrobnicator *proxy, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data) 915s # { 915s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 915s # "RandomMethod", 915s # g_variant_new ("()"), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # cancellable, 915s # callback, 915s # user_data); 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_call_random_method_finish: 915s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 915s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 915s # * @error: Return location for error or %NULL. 915s # * 915s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 915s # * 915s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 915s # */ 915s # gboolean 915s # org_project_bar_frobnicator_call_random_method_finish ( 915s # OrgProjectBarFrobnicator *proxy, 915s # GAsyncResult *res, 915s # GError **error) 915s # { 915s # GVariant *_ret; 915s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 915s # if (_ret == NULL) 915s # goto _out; 915s # g_variant_get (_ret, 915s # "()"); 915s # g_variant_unref (_ret); 915s # _out: 915s # return _ret != NULL; 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_call_random_method_sync: 915s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @error: Return location for error or %NULL. 915s # * 915s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 915s # * 915s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 915s # * 915s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 915s # */ 915s # gboolean 915s # org_project_bar_frobnicator_call_random_method_sync ( 915s # OrgProjectBarFrobnicator *proxy, 915s # GCancellable *cancellable, 915s # GError **error) 915s # { 915s # GVariant *_ret; 915s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 915s # "RandomMethod", 915s # g_variant_new ("()"), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # cancellable, 915s # error); 915s # if (_ret == NULL) 915s # goto _out; 915s # g_variant_get (_ret, 915s # "()"); 915s # g_variant_unref (_ret); 915s # _out: 915s # return _ret != NULL; 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_complete_random_method: 915s # * @object: A #OrgProjectBarFrobnicator. 915s # * @invocation: (transfer full): A #GDBusMethodInvocation. 915s # * 915s # * 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. 915s # * 915s # * This method will free @invocation, you cannot use it afterwards. 915s # */ 915s # void 915s # org_project_bar_frobnicator_complete_random_method ( 915s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 915s # GDBusMethodInvocation *invocation) 915s # { 915s # g_dbus_method_invocation_return_value (invocation, 915s # g_variant_new ("()")); 915s # } 915s # 915s # /* ------------------------------------------------------------------------ */ 915s # 915s # /** 915s # * OrgProjectBarFrobnicatorProxy: 915s # * 915s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 915s # */ 915s # 915s # /** 915s # * OrgProjectBarFrobnicatorProxyClass: 915s # * @parent_class: The parent class. 915s # * 915s # * Class structure for #OrgProjectBarFrobnicatorProxy. 915s # */ 915s # 915s # struct _OrgProjectBarFrobnicatorProxyPrivate 915s # { 915s # GData *qdata; 915s # }; 915s # 915s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 915s # 915s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 915s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 915s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 915s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 915s # 915s # #else 915s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 915s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 915s # 915s # #endif 915s # static void 915s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 915s # { 915s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 915s # g_datalist_clear (&proxy->priv->qdata); 915s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 915s # guint prop_id G_GNUC_UNUSED, 915s # GValue *value G_GNUC_UNUSED, 915s # GParamSpec *pspec G_GNUC_UNUSED) 915s # { 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 915s # guint prop_id G_GNUC_UNUSED, 915s # const GValue *value G_GNUC_UNUSED, 915s # GParamSpec *pspec G_GNUC_UNUSED) 915s # { 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 915s # const gchar *sender_name G_GNUC_UNUSED, 915s # const gchar *signal_name, 915s # GVariant *parameters) 915s # { 915s # _ExtendedGDBusSignalInfo *info; 915s # GVariantIter iter; 915s # GVariant *child; 915s # GValue *paramv; 915s # gsize num_params; 915s # gsize n; 915s # guint signal_id; 915s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 915s # if (info == NULL) 915s # return; 915s # num_params = g_variant_n_children (parameters); 915s # paramv = g_new0 (GValue, num_params + 1); 915s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 915s # g_value_set_object (¶mv[0], proxy); 915s # g_variant_iter_init (&iter, parameters); 915s # n = 1; 915s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 915s # { 915s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 915s # if (arg_info->use_gvariant) 915s # { 915s # g_value_init (¶mv[n], G_TYPE_VARIANT); 915s # g_value_set_variant (¶mv[n], child); 915s # n++; 915s # } 915s # else 915s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 915s # g_variant_unref (child); 915s # } 915s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 915s # g_signal_emitv (paramv, signal_id, 0, NULL); 915s # for (n = 0; n < num_params + 1; n++) 915s # g_value_unset (¶mv[n]); 915s # g_free (paramv); 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 915s # GVariant *changed_properties, 915s # const gchar *const *invalidated_properties) 915s # { 915s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 915s # guint n; 915s # const gchar *key; 915s # GVariantIter *iter; 915s # _ExtendedGDBusPropertyInfo *info; 915s # g_variant_get (changed_properties, "a{sv}", &iter); 915s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 915s # { 915s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 915s # g_datalist_remove_data (&proxy->priv->qdata, key); 915s # if (info != NULL) 915s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 915s # } 915s # g_variant_iter_free (iter); 915s # for (n = 0; invalidated_properties[n] != NULL; n++) 915s # { 915s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 915s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 915s # if (info != NULL) 915s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 915s # } 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 915s # { 915s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 915s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 915s # #else 915s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 915s # #endif 915s # 915s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 915s # { 915s # GObjectClass *gobject_class; 915s # GDBusProxyClass *proxy_class; 915s # 915s # gobject_class = G_OBJECT_CLASS (klass); 915s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 915s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 915s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 915s # 915s # proxy_class = G_DBUS_PROXY_CLASS (klass); 915s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 915s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 915s # 915s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 915s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 915s # #endif 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 915s # { 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_proxy_new: 915s # * @connection: A #GDBusConnection. 915s # * @flags: Flags from the #GDBusProxyFlags enumeration. 915s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 915s # * @object_path: An object path. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 915s # * @user_data: User data to pass to @callback. 915s # * 915s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 915s # * 915s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 915s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 915s # * 915s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 915s # */ 915s # void 915s # org_project_bar_frobnicator_proxy_new ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data) 915s # { 915s # 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); 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_proxy_new_finish: 915s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 915s # * @error: Return location for error or %NULL 915s # * 915s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 915s # * 915s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 915s # */ 915s # OrgProjectBarFrobnicator * 915s # org_project_bar_frobnicator_proxy_new_finish ( 915s # GAsyncResult *res, 915s # GError **error) 915s # { 915s # GObject *ret; 915s # GObject *source_object; 915s # source_object = g_async_result_get_source_object (res); 915s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 915s # g_object_unref (source_object); 915s # if (ret != NULL) 915s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 915s # else 915s # return NULL; 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_proxy_new_sync: 915s # * @connection: A #GDBusConnection. 915s # * @flags: Flags from the #GDBusProxyFlags enumeration. 915s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 915s # * @object_path: An object path. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @error: Return location for error or %NULL 915s # * 915s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 915s # * 915s # * The calling thread is blocked until a reply is received. 915s # * 915s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 915s # * 915s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 915s # */ 915s # OrgProjectBarFrobnicator * 915s # org_project_bar_frobnicator_proxy_new_sync ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error) 915s # { 915s # GInitable *ret; 915s # 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); 915s # if (ret != NULL) 915s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 915s # else 915s # return NULL; 915s # } 915s # 915s # 915s # /** 915s # * org_project_bar_frobnicator_proxy_new_for_bus: 915s # * @bus_type: A #GBusType. 915s # * @flags: Flags from the #GDBusProxyFlags enumeration. 915s # * @name: A bus name (well-known or unique). 915s # * @object_path: An object path. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 915s # * @user_data: User data to pass to @callback. 915s # * 915s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 915s # * 915s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 915s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 915s # * 915s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 915s # */ 915s # void 915s # org_project_bar_frobnicator_proxy_new_for_bus ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data) 915s # { 915s # 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); 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 915s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 915s # * @error: Return location for error or %NULL 915s # * 915s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 915s # * 915s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 915s # */ 915s # OrgProjectBarFrobnicator * 915s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 915s # GAsyncResult *res, 915s # GError **error) 915s # { 915s # GObject *ret; 915s # GObject *source_object; 915s # source_object = g_async_result_get_source_object (res); 915s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 915s # g_object_unref (source_object); 915s # if (ret != NULL) 915s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 915s # else 915s # return NULL; 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 915s # * @bus_type: A #GBusType. 915s # * @flags: Flags from the #GDBusProxyFlags enumeration. 915s # * @name: A bus name (well-known or unique). 915s # * @object_path: An object path. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @error: Return location for error or %NULL 915s # * 915s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 915s # * 915s # * The calling thread is blocked until a reply is received. 915s # * 915s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 915s # * 915s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 915s # */ 915s # OrgProjectBarFrobnicator * 915s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error) 915s # { 915s # GInitable *ret; 915s # 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); 915s # if (ret != NULL) 915s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 915s # else 915s # return NULL; 915s # } 915s # 915s # 915s # /* ------------------------------------------------------------------------ */ 915s # 915s # /** 915s # * OrgProjectBarFrobnicatorSkeleton: 915s # * 915s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 915s # */ 915s # 915s # /** 915s # * OrgProjectBarFrobnicatorSkeletonClass: 915s # * @parent_class: The parent class. 915s # * 915s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 915s # */ 915s # 915s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 915s # { 915s # GValue *properties; 915s # GList *changed_properties; 915s # GSource *changed_properties_idle_source; 915s # GMainContext *context; 915s # GMutex lock; 915s # }; 915s # 915s # static void 915s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 915s # GDBusConnection *connection G_GNUC_UNUSED, 915s # const gchar *sender G_GNUC_UNUSED, 915s # const gchar *object_path G_GNUC_UNUSED, 915s # const gchar *interface_name, 915s # const gchar *method_name, 915s # GVariant *parameters, 915s # GDBusMethodInvocation *invocation, 915s # gpointer user_data) 915s # { 915s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 915s # _ExtendedGDBusMethodInfo *info; 915s # GVariantIter iter; 915s # GVariant *child; 915s # GValue *paramv; 915s # gsize num_params; 915s # guint num_extra; 915s # gsize n; 915s # guint signal_id; 915s # GValue return_value = G_VALUE_INIT; 915s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 915s # g_assert (info != NULL); 915s # num_params = g_variant_n_children (parameters); 915s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 915s # n = 0; 915s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 915s # g_value_set_object (¶mv[n++], skeleton); 915s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 915s # g_value_set_object (¶mv[n++], invocation); 915s # if (info->pass_fdlist) 915s # { 915s # #ifdef G_OS_UNIX 915s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 915s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 915s # #else 915s # g_assert_not_reached (); 915s # #endif 915s # } 915s # g_variant_iter_init (&iter, parameters); 915s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 915s # { 915s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 915s # if (arg_info->use_gvariant) 915s # { 915s # g_value_init (¶mv[n], G_TYPE_VARIANT); 915s # g_value_set_variant (¶mv[n], child); 915s # n++; 915s # } 915s # else 915s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 915s # g_variant_unref (child); 915s # } 915s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 915s # g_value_init (&return_value, G_TYPE_BOOLEAN); 915s # g_signal_emitv (paramv, signal_id, 0, &return_value); 915s # if (!g_value_get_boolean (&return_value)) 915s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 915s # g_value_unset (&return_value); 915s # for (n = 0; n < num_params + num_extra; n++) 915s # g_value_unset (¶mv[n]); 915s # g_free (paramv); 915s # } 915s # 915s # static GVariant * 915s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 915s # GDBusConnection *connection G_GNUC_UNUSED, 915s # const gchar *sender G_GNUC_UNUSED, 915s # const gchar *object_path G_GNUC_UNUSED, 915s # const gchar *interface_name G_GNUC_UNUSED, 915s # const gchar *property_name, 915s # GError **error, 915s # gpointer user_data) 915s # { 915s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 915s # GValue value = G_VALUE_INIT; 915s # GParamSpec *pspec; 915s # _ExtendedGDBusPropertyInfo *info; 915s # GVariant *ret; 915s # ret = NULL; 915s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 915s # g_assert (info != NULL); 915s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 915s # if (pspec == NULL) 915s # { 915s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 915s # } 915s # else 915s # { 915s # g_value_init (&value, pspec->value_type); 915s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 915s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 915s # g_value_unset (&value); 915s # } 915s # return ret; 915s # } 915s # 915s # static gboolean 915s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 915s # GDBusConnection *connection G_GNUC_UNUSED, 915s # const gchar *sender G_GNUC_UNUSED, 915s # const gchar *object_path G_GNUC_UNUSED, 915s # const gchar *interface_name G_GNUC_UNUSED, 915s # const gchar *property_name, 915s # GVariant *variant, 915s # GError **error, 915s # gpointer user_data) 915s # { 915s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 915s # GValue value = G_VALUE_INIT; 915s # GParamSpec *pspec; 915s # _ExtendedGDBusPropertyInfo *info; 915s # gboolean ret; 915s # ret = FALSE; 915s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 915s # g_assert (info != NULL); 915s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 915s # if (pspec == NULL) 915s # { 915s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 915s # } 915s # else 915s # { 915s # if (info->use_gvariant) 915s # g_value_set_variant (&value, variant); 915s # else 915s # g_dbus_gvariant_to_gvalue (variant, &value); 915s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 915s # g_value_unset (&value); 915s # ret = TRUE; 915s # } 915s # return ret; 915s # } 915s # 915s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 915s # { 915s # _org_project_bar_frobnicator_skeleton_handle_method_call, 915s # _org_project_bar_frobnicator_skeleton_handle_get_property, 915s # _org_project_bar_frobnicator_skeleton_handle_set_property, 915s # {NULL} 915s # }; 915s # 915s # static GDBusInterfaceInfo * 915s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 915s # { 915s # return org_project_bar_frobnicator_interface_info (); 915s # } 915s # 915s # static GDBusInterfaceVTable * 915s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 915s # { 915s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 915s # } 915s # 915s # static GVariant * 915s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 915s # { 915s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 915s # 915s # GVariantBuilder builder; 915s # guint n; 915s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 915s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 915s # goto out; 915s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 915s # { 915s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 915s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 915s # { 915s # GVariant *value; 915s # 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); 915s # if (value != NULL) 915s # { 915s # g_variant_take_ref (value); 915s # g_variant_builder_add (&builder, "{sv}", info->name, value); 915s # g_variant_unref (value); 915s # } 915s # } 915s # } 915s # out: 915s # return g_variant_builder_end (&builder); 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 915s # { 915s # } 915s # 915s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 915s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 915s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 915s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 915s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 915s # 915s # #else 915s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 915s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 915s # 915s # #endif 915s # static void 915s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 915s # { 915s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 915s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 915s # if (skeleton->priv->changed_properties_idle_source != NULL) 915s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 915s # g_main_context_unref (skeleton->priv->context); 915s # g_mutex_clear (&skeleton->priv->lock); 915s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 915s # { 915s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 915s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 915s # #else 915s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 915s # #endif 915s # 915s # g_mutex_init (&skeleton->priv->lock); 915s # skeleton->priv->context = g_main_context_ref_thread_default (); 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 915s # { 915s # GObjectClass *gobject_class; 915s # GDBusInterfaceSkeletonClass *skeleton_class; 915s # 915s # gobject_class = G_OBJECT_CLASS (klass); 915s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 915s # 915s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 915s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 915s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 915s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 915s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 915s # 915s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 915s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 915s # #endif 915s # } 915s # 915s # static void 915s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 915s # { 915s # } 915s # 915s # /** 915s # * org_project_bar_frobnicator_skeleton_new: 915s # * 915s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 915s # * 915s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 915s # */ 915s # OrgProjectBarFrobnicator * 915s # org_project_bar_frobnicator_skeleton_new (void) 915s # { 915s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 915s # } 915s # 915s # /* ------------------------------------------------------------------------ 915s # * Code for interface com.acme.Coyote 915s # * ------------------------------------------------------------------------ 915s # */ 915s # 915s # /** 915s # * SECTION:ComAcmeCoyote 915s # * @title: ComAcmeCoyote 915s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 915s # * 915s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 915s # */ 915s # 915s # enum 915s # { 915s # _COM_ACME_COYOTE_SURPRISED, 915s # }; 915s # 915s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 915s # 915s # /* ---- Introspection data for com.acme.Coyote ---- */ 915s # 915s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 915s # { 915s # { 915s # -1, 915s # (gchar *) "Run", 915s # NULL, 915s # NULL, 915s # NULL 915s # }, 915s # "handle-run", 915s # FALSE 915s # }; 915s # 915s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 915s # { 915s # { 915s # -1, 915s # (gchar *) "Sleep", 915s # NULL, 915s # NULL, 915s # NULL 915s # }, 915s # "handle-sleep", 915s # FALSE 915s # }; 915s # 915s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 915s # { 915s # { 915s # -1, 915s # (gchar *) "Attack", 915s # NULL, 915s # NULL, 915s # NULL 915s # }, 915s # "handle-attack", 915s # FALSE 915s # }; 915s # 915s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 915s # { 915s # &_com_acme_coyote_method_info_run.parent_struct, 915s # &_com_acme_coyote_method_info_sleep.parent_struct, 915s # &_com_acme_coyote_method_info_attack.parent_struct, 915s # NULL 915s # }; 915s # 915s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 915s # { 915s # { 915s # -1, 915s # (gchar *) "Surprised", 915s # NULL, 915s # NULL 915s # }, 915s # "surprised" 915s # }; 915s # 915s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 915s # { 915s # &_com_acme_coyote_signal_info_surprised.parent_struct, 915s # NULL 915s # }; 915s # 915s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 915s # { 915s # { 915s # -1, 915s # (gchar *) "Mood", 915s # (gchar *) "s", 915s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 915s # NULL 915s # }, 915s # "mood", 915s # FALSE, 915s # TRUE 915s # }; 915s # 915s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 915s # { 915s # &_com_acme_coyote_property_info_mood.parent_struct, 915s # NULL 915s # }; 915s # 915s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 915s # { 915s # { 915s # -1, 915s # (gchar *) "com.acme.Coyote", 915s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 915s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 915s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 915s # NULL 915s # }, 915s # "com-acme-coyote", 915s # }; 915s # 915s # 915s # /** 915s # * com_acme_coyote_interface_info: 915s # * 915s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 915s # * 915s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 915s # */ 915s # GDBusInterfaceInfo * 915s # com_acme_coyote_interface_info (void) 915s # { 915s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_override_properties: 915s # * @klass: The class structure for a #GObject derived class. 915s # * @property_id_begin: The property id to assign to the first overridden property. 915s # * 915s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 915s # * The properties are overridden in the order they are defined. 915s # * 915s # * Returns: The last property id. 915s # */ 915s # guint 915s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 915s # { 915s # g_object_class_override_property (klass, property_id_begin++, "mood"); 915s # return property_id_begin - 1; 915s # } 915s # 915s # 915s # inline static void 915s # com_acme_coyote_signal_marshal_surprised ( 915s # GClosure *closure, 915s # GValue *return_value, 915s # unsigned int n_param_values, 915s # const GValue *param_values, 915s # void *invocation_hint, 915s # void *marshal_data) 915s # { 915s # g_cclosure_marshal_VOID__VOID (closure, 915s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 915s # } 915s # 915s # inline static void 915s # com_acme_coyote_method_marshal_run ( 915s # GClosure *closure, 915s # GValue *return_value, 915s # unsigned int n_param_values, 915s # const GValue *param_values, 915s # void *invocation_hint, 915s # void *marshal_data) 915s # { 915s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 915s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 915s # } 915s # 915s # inline static void 915s # com_acme_coyote_method_marshal_sleep ( 915s # GClosure *closure, 915s # GValue *return_value, 915s # unsigned int n_param_values, 915s # const GValue *param_values, 915s # void *invocation_hint, 915s # void *marshal_data) 915s # { 915s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 915s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 915s # } 915s # 915s # inline static void 915s # com_acme_coyote_method_marshal_attack ( 915s # GClosure *closure, 915s # GValue *return_value, 915s # unsigned int n_param_values, 915s # const GValue *param_values, 915s # void *invocation_hint, 915s # void *marshal_data) 915s # { 915s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 915s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 915s # } 915s # 915s # 915s # /** 915s # * ComAcmeCoyote: 915s # * 915s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 915s # */ 915s # 915s # /** 915s # * ComAcmeCoyoteIface: 915s # * @parent_iface: The parent interface. 915s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 915s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 915s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 915s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 915s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 915s # * 915s # * Virtual table for the D-Bus interface com.acme.Coyote. 915s # */ 915s # 915s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 915s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 915s # 915s # static void 915s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 915s # { 915s # /* GObject signals for incoming D-Bus method calls: */ 915s # /** 915s # * ComAcmeCoyote::handle-run: 915s # * @object: A #ComAcmeCoyote. 915s # * @invocation: A #GDBusMethodInvocation. 915s # * 915s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 915s # * 915s # * 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. 915s # * 915s # * 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. 915s # */ 915s # g_signal_new ("handle-run", 915s # G_TYPE_FROM_INTERFACE (iface), 915s # G_SIGNAL_RUN_LAST, 915s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 915s # g_signal_accumulator_true_handled, 915s # NULL, 915s # com_acme_coyote_method_marshal_run, 915s # G_TYPE_BOOLEAN, 915s # 1, 915s # G_TYPE_DBUS_METHOD_INVOCATION); 915s # 915s # /** 915s # * ComAcmeCoyote::handle-sleep: 915s # * @object: A #ComAcmeCoyote. 915s # * @invocation: A #GDBusMethodInvocation. 915s # * 915s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 915s # * 915s # * 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. 915s # * 915s # * 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. 915s # */ 915s # g_signal_new ("handle-sleep", 915s # G_TYPE_FROM_INTERFACE (iface), 915s # G_SIGNAL_RUN_LAST, 915s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 915s # g_signal_accumulator_true_handled, 915s # NULL, 915s # com_acme_coyote_method_marshal_sleep, 915s # G_TYPE_BOOLEAN, 915s # 1, 915s # G_TYPE_DBUS_METHOD_INVOCATION); 915s # 915s # /** 915s # * ComAcmeCoyote::handle-attack: 915s # * @object: A #ComAcmeCoyote. 915s # * @invocation: A #GDBusMethodInvocation. 915s # * 915s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 915s # * 915s # * 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. 915s # * 915s # * 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. 915s # */ 915s # g_signal_new ("handle-attack", 915s # G_TYPE_FROM_INTERFACE (iface), 915s # G_SIGNAL_RUN_LAST, 915s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 915s # g_signal_accumulator_true_handled, 915s # NULL, 915s # com_acme_coyote_method_marshal_attack, 915s # G_TYPE_BOOLEAN, 915s # 1, 915s # G_TYPE_DBUS_METHOD_INVOCATION); 915s # 915s # /* GObject signals for received D-Bus signals: */ 915s # /** 915s # * ComAcmeCoyote::surprised: 915s # * @object: A #ComAcmeCoyote. 915s # * 915s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 915s # * 915s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 915s # */ 915s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 915s # g_signal_new ("surprised", 915s # G_TYPE_FROM_INTERFACE (iface), 915s # G_SIGNAL_RUN_LAST, 915s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 915s # NULL, 915s # NULL, 915s # com_acme_coyote_signal_marshal_surprised, 915s # G_TYPE_NONE, 915s # 0); 915s # 915s # /* GObject properties for D-Bus properties: */ 915s # /** 915s # * ComAcmeCoyote:mood: 915s # * 915s # * Represents the D-Bus property "Mood". 915s # * 915s # * 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. 915s # */ 915s # g_object_interface_install_property (iface, 915s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_get_mood: (skip) 915s # * @object: A #ComAcmeCoyote. 915s # * 915s # * Gets the value of the "Mood" D-Bus property. 915s # * 915s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 915s # * 915s # * 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. 915s # * 915s # * 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. 915s # */ 915s # const gchar * 915s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 915s # { 915s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 915s # 915s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_dup_mood: (skip) 915s # * @object: A #ComAcmeCoyote. 915s # * 915s # * Gets a copy of the "Mood" D-Bus property. 915s # * 915s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 915s # * 915s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 915s # */ 915s # gchar * 915s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 915s # { 915s # gchar *value; 915s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 915s # return value; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_set_mood: (skip) 915s # * @object: A #ComAcmeCoyote. 915s # * @value: The value to set. 915s # * 915s # * Sets the "Mood" D-Bus property to @value. 915s # * 915s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 915s # */ 915s # void 915s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 915s # { 915s # g_object_set (G_OBJECT (object), "mood", value, NULL); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_emit_surprised: 915s # * @object: A #ComAcmeCoyote. 915s # * 915s # * Emits the "Surprised" D-Bus signal. 915s # */ 915s # void 915s # com_acme_coyote_emit_surprised ( 915s # ComAcmeCoyote *object) 915s # { 915s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_run: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 915s # * @user_data: User data to pass to @callback. 915s # * 915s # * Asynchronously invokes the Run() D-Bus method on @proxy. 915s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 915s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 915s # * 915s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 915s # */ 915s # void 915s # com_acme_coyote_call_run ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data) 915s # { 915s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 915s # "Run", 915s # g_variant_new ("()"), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # cancellable, 915s # callback, 915s # user_data); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_run_finish: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 915s # * @error: Return location for error or %NULL. 915s # * 915s # * Finishes an operation started with com_acme_coyote_call_run(). 915s # * 915s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 915s # */ 915s # gboolean 915s # com_acme_coyote_call_run_finish ( 915s # ComAcmeCoyote *proxy, 915s # GAsyncResult *res, 915s # GError **error) 915s # { 915s # GVariant *_ret; 915s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 915s # if (_ret == NULL) 915s # goto _out; 915s # g_variant_get (_ret, 915s # "()"); 915s # g_variant_unref (_ret); 915s # _out: 915s # return _ret != NULL; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_run_sync: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @error: Return location for error or %NULL. 915s # * 915s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 915s # * 915s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 915s # * 915s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 915s # */ 915s # gboolean 915s # com_acme_coyote_call_run_sync ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GError **error) 915s # { 915s # GVariant *_ret; 915s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 915s # "Run", 915s # g_variant_new ("()"), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # cancellable, 915s # error); 915s # if (_ret == NULL) 915s # goto _out; 915s # g_variant_get (_ret, 915s # "()"); 915s # g_variant_unref (_ret); 915s # _out: 915s # return _ret != NULL; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_sleep: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 915s # * @user_data: User data to pass to @callback. 915s # * 915s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 915s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 915s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 915s # * 915s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 915s # */ 915s # void 915s # com_acme_coyote_call_sleep ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data) 915s # { 915s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 915s # "Sleep", 915s # g_variant_new ("()"), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # cancellable, 915s # callback, 915s # user_data); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_sleep_finish: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 915s # * @error: Return location for error or %NULL. 915s # * 915s # * Finishes an operation started with com_acme_coyote_call_sleep(). 915s # * 915s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 915s # */ 915s # gboolean 915s # com_acme_coyote_call_sleep_finish ( 915s # ComAcmeCoyote *proxy, 915s # GAsyncResult *res, 915s # GError **error) 915s # { 915s # GVariant *_ret; 915s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 915s # if (_ret == NULL) 915s # goto _out; 915s # g_variant_get (_ret, 915s # "()"); 915s # g_variant_unref (_ret); 915s # _out: 915s # return _ret != NULL; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_sleep_sync: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @error: Return location for error or %NULL. 915s # * 915s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 915s # * 915s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 915s # * 915s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 915s # */ 915s # gboolean 915s # com_acme_coyote_call_sleep_sync ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GError **error) 915s # { 915s # GVariant *_ret; 915s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 915s # "Sleep", 915s # g_variant_new ("()"), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # cancellable, 915s # error); 915s # if (_ret == NULL) 915s # goto _out; 915s # g_variant_get (_ret, 915s # "()"); 915s # g_variant_unref (_ret); 915s # _out: 915s # return _ret != NULL; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_attack: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 915s # * @user_data: User data to pass to @callback. 915s # * 915s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 915s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 915s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 915s # * 915s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 915s # */ 915s # void 915s # com_acme_coyote_call_attack ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data) 915s # { 915s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 915s # "Attack", 915s # g_variant_new ("()"), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # cancellable, 915s # callback, 915s # user_data); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_attack_finish: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 915s # * @error: Return location for error or %NULL. 915s # * 915s # * Finishes an operation started with com_acme_coyote_call_attack(). 915s # * 915s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 915s # */ 915s # gboolean 915s # com_acme_coyote_call_attack_finish ( 915s # ComAcmeCoyote *proxy, 915s # GAsyncResult *res, 915s # GError **error) 915s # { 915s # GVariant *_ret; 915s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 915s # if (_ret == NULL) 915s # goto _out; 915s # g_variant_get (_ret, 915s # "()"); 915s # g_variant_unref (_ret); 915s # _out: 915s # return _ret != NULL; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_call_attack_sync: 915s # * @proxy: A #ComAcmeCoyoteProxy. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @error: Return location for error or %NULL. 915s # * 915s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 915s # * 915s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 915s # * 915s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 915s # */ 915s # gboolean 915s # com_acme_coyote_call_attack_sync ( 915s # ComAcmeCoyote *proxy, 915s # GCancellable *cancellable, 915s # GError **error) 915s # { 915s # GVariant *_ret; 915s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 915s # "Attack", 915s # g_variant_new ("()"), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # cancellable, 915s # error); 915s # if (_ret == NULL) 915s # goto _out; 915s # g_variant_get (_ret, 915s # "()"); 915s # g_variant_unref (_ret); 915s # _out: 915s # return _ret != NULL; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_complete_run: 915s # * @object: A #ComAcmeCoyote. 915s # * @invocation: (transfer full): A #GDBusMethodInvocation. 915s # * 915s # * 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. 915s # * 915s # * This method will free @invocation, you cannot use it afterwards. 915s # */ 915s # void 915s # com_acme_coyote_complete_run ( 915s # ComAcmeCoyote *object G_GNUC_UNUSED, 915s # GDBusMethodInvocation *invocation) 915s # { 915s # g_dbus_method_invocation_return_value (invocation, 915s # g_variant_new ("()")); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_complete_sleep: 915s # * @object: A #ComAcmeCoyote. 915s # * @invocation: (transfer full): A #GDBusMethodInvocation. 915s # * 915s # * 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. 915s # * 915s # * This method will free @invocation, you cannot use it afterwards. 915s # */ 915s # void 915s # com_acme_coyote_complete_sleep ( 915s # ComAcmeCoyote *object G_GNUC_UNUSED, 915s # GDBusMethodInvocation *invocation) 915s # { 915s # g_dbus_method_invocation_return_value (invocation, 915s # g_variant_new ("()")); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_complete_attack: 915s # * @object: A #ComAcmeCoyote. 915s # * @invocation: (transfer full): A #GDBusMethodInvocation. 915s # * 915s # * 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. 915s # * 915s # * This method will free @invocation, you cannot use it afterwards. 915s # */ 915s # void 915s # com_acme_coyote_complete_attack ( 915s # ComAcmeCoyote *object G_GNUC_UNUSED, 915s # GDBusMethodInvocation *invocation) 915s # { 915s # g_dbus_method_invocation_return_value (invocation, 915s # g_variant_new ("()")); 915s # } 915s # 915s # /* ------------------------------------------------------------------------ */ 915s # 915s # /** 915s # * ComAcmeCoyoteProxy: 915s # * 915s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 915s # */ 915s # 915s # /** 915s # * ComAcmeCoyoteProxyClass: 915s # * @parent_class: The parent class. 915s # * 915s # * Class structure for #ComAcmeCoyoteProxy. 915s # */ 915s # 915s # struct _ComAcmeCoyoteProxyPrivate 915s # { 915s # GData *qdata; 915s # }; 915s # 915s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 915s # 915s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 915s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 915s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 915s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 915s # 915s # #else 915s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 915s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 915s # 915s # #endif 915s # static void 915s # com_acme_coyote_proxy_finalize (GObject *object) 915s # { 915s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 915s # g_datalist_clear (&proxy->priv->qdata); 915s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 915s # } 915s # 915s # static void 915s # com_acme_coyote_proxy_get_property (GObject *object, 915s # guint prop_id, 915s # GValue *value, 915s # GParamSpec *pspec G_GNUC_UNUSED) 915s # { 915s # const _ExtendedGDBusPropertyInfo *info; 915s # GVariant *variant; 915s # g_assert (prop_id != 0 && prop_id - 1 < 1); 915s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 915s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 915s # if (info->use_gvariant) 915s # { 915s # g_value_set_variant (value, variant); 915s # } 915s # else 915s # { 915s # if (variant != NULL) 915s # g_dbus_gvariant_to_gvalue (variant, value); 915s # } 915s # if (variant != NULL) 915s # g_variant_unref (variant); 915s # } 915s # 915s # static void 915s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 915s # GAsyncResult *res, 915s # gpointer user_data) 915s # { 915s # const _ExtendedGDBusPropertyInfo *info = user_data; 915s # GError *error; 915s # GVariant *_ret; 915s # error = NULL; 915s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 915s # if (!_ret) 915s # { 915s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 915s # info->parent_struct.name, 915s # error->message, g_quark_to_string (error->domain), error->code); 915s # g_error_free (error); 915s # } 915s # else 915s # { 915s # g_variant_unref (_ret); 915s # } 915s # } 915s # 915s # static void 915s # com_acme_coyote_proxy_set_property (GObject *object, 915s # guint prop_id, 915s # const GValue *value, 915s # GParamSpec *pspec G_GNUC_UNUSED) 915s # { 915s # const _ExtendedGDBusPropertyInfo *info; 915s # GVariant *variant; 915s # g_assert (prop_id != 0 && prop_id - 1 < 1); 915s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 915s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 915s # g_dbus_proxy_call (G_DBUS_PROXY (object), 915s # "org.freedesktop.DBus.Properties.Set", 915s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 915s # G_DBUS_CALL_FLAGS_NONE, 915s # -1, 915s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 915s # g_variant_unref (variant); 915s # } 915s # 915s # static void 915s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 915s # const gchar *sender_name G_GNUC_UNUSED, 915s # const gchar *signal_name, 915s # GVariant *parameters) 915s # { 915s # _ExtendedGDBusSignalInfo *info; 915s # GVariantIter iter; 915s # GVariant *child; 915s # GValue *paramv; 915s # gsize num_params; 915s # gsize n; 915s # guint signal_id; 915s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 915s # if (info == NULL) 915s # return; 915s # num_params = g_variant_n_children (parameters); 915s # paramv = g_new0 (GValue, num_params + 1); 915s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 915s # g_value_set_object (¶mv[0], proxy); 915s # g_variant_iter_init (&iter, parameters); 915s # n = 1; 915s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 915s # { 915s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 915s # if (arg_info->use_gvariant) 915s # { 915s # g_value_init (¶mv[n], G_TYPE_VARIANT); 915s # g_value_set_variant (¶mv[n], child); 915s # n++; 915s # } 915s # else 915s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 915s # g_variant_unref (child); 915s # } 915s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 915s # g_signal_emitv (paramv, signal_id, 0, NULL); 915s # for (n = 0; n < num_params + 1; n++) 915s # g_value_unset (¶mv[n]); 915s # g_free (paramv); 915s # } 915s # 915s # static void 915s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 915s # GVariant *changed_properties, 915s # const gchar *const *invalidated_properties) 915s # { 915s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 915s # guint n; 915s # const gchar *key; 915s # GVariantIter *iter; 915s # _ExtendedGDBusPropertyInfo *info; 915s # g_variant_get (changed_properties, "a{sv}", &iter); 915s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 915s # { 915s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 915s # g_datalist_remove_data (&proxy->priv->qdata, key); 915s # if (info != NULL) 915s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 915s # } 915s # g_variant_iter_free (iter); 915s # for (n = 0; invalidated_properties[n] != NULL; n++) 915s # { 915s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 915s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 915s # if (info != NULL) 915s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 915s # } 915s # } 915s # 915s # static const gchar * 915s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 915s # { 915s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 915s # GVariant *variant; 915s # const gchar *value = NULL; 915s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 915s # if (variant != NULL) 915s # { 915s # value = g_variant_get_string (variant, NULL); 915s # g_variant_unref (variant); 915s # } 915s # return value; 915s # } 915s # 915s # static void 915s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 915s # { 915s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 915s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 915s # #else 915s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 915s # #endif 915s # 915s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 915s # } 915s # 915s # static void 915s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 915s # { 915s # GObjectClass *gobject_class; 915s # GDBusProxyClass *proxy_class; 915s # 915s # gobject_class = G_OBJECT_CLASS (klass); 915s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 915s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 915s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 915s # 915s # proxy_class = G_DBUS_PROXY_CLASS (klass); 915s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 915s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 915s # 915s # com_acme_coyote_override_properties (gobject_class, 1); 915s # 915s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 915s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 915s # #endif 915s # } 915s # 915s # static void 915s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 915s # { 915s # iface->get_mood = com_acme_coyote_proxy_get_mood; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_proxy_new: 915s # * @connection: A #GDBusConnection. 915s # * @flags: Flags from the #GDBusProxyFlags enumeration. 915s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 915s # * @object_path: An object path. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 915s # * @user_data: User data to pass to @callback. 915s # * 915s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 915s # * 915s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 915s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 915s # * 915s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 915s # */ 915s # void 915s # com_acme_coyote_proxy_new ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data) 915s # { 915s # 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); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_proxy_new_finish: 915s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 915s # * @error: Return location for error or %NULL 915s # * 915s # * Finishes an operation started with com_acme_coyote_proxy_new(). 915s # * 915s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 915s # */ 915s # ComAcmeCoyote * 915s # com_acme_coyote_proxy_new_finish ( 915s # GAsyncResult *res, 915s # GError **error) 915s # { 915s # GObject *ret; 915s # GObject *source_object; 915s # source_object = g_async_result_get_source_object (res); 915s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 915s # g_object_unref (source_object); 915s # if (ret != NULL) 915s # return COM_ACME_COYOTE (ret); 915s # else 915s # return NULL; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_proxy_new_sync: 915s # * @connection: A #GDBusConnection. 915s # * @flags: Flags from the #GDBusProxyFlags enumeration. 915s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 915s # * @object_path: An object path. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @error: Return location for error or %NULL 915s # * 915s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 915s # * 915s # * The calling thread is blocked until a reply is received. 915s # * 915s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 915s # * 915s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 915s # */ 915s # ComAcmeCoyote * 915s # com_acme_coyote_proxy_new_sync ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error) 915s # { 915s # GInitable *ret; 915s # 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); 915s # if (ret != NULL) 915s # return COM_ACME_COYOTE (ret); 915s # else 915s # return NULL; 915s # } 915s # 915s # 915s # /** 915s # * com_acme_coyote_proxy_new_for_bus: 915s # * @bus_type: A #GBusType. 915s # * @flags: Flags from the #GDBusProxyFlags enumeration. 915s # * @name: A bus name (well-known or unique). 915s # * @object_path: An object path. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 915s # * @user_data: User data to pass to @callback. 915s # * 915s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 915s # * 915s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 915s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 915s # * 915s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 915s # */ 915s # void 915s # com_acme_coyote_proxy_new_for_bus ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data) 915s # { 915s # 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); 915s # } 915s # 915s # /** 915s # * com_acme_coyote_proxy_new_for_bus_finish: 915s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 915s # * @error: Return location for error or %NULL 915s # * 915s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 915s # * 915s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 915s # */ 915s # ComAcmeCoyote * 915s # com_acme_coyote_proxy_new_for_bus_finish ( 915s # GAsyncResult *res, 915s # GError **error) 915s # { 915s # GObject *ret; 915s # GObject *source_object; 915s # source_object = g_async_result_get_source_object (res); 915s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 915s # g_object_unref (source_object); 915s # if (ret != NULL) 915s # return COM_ACME_COYOTE (ret); 915s # else 915s # return NULL; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_proxy_new_for_bus_sync: 915s # * @bus_type: A #GBusType. 915s # * @flags: Flags from the #GDBusProxyFlags enumeration. 915s # * @name: A bus name (well-known or unique). 915s # * @object_path: An object path. 915s # * @cancellable: (nullable): A #GCancellable or %NULL. 915s # * @error: Return location for error or %NULL 915s # * 915s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 915s # * 915s # * The calling thread is blocked until a reply is received. 915s # * 915s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 915s # * 915s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 915s # */ 915s # ComAcmeCoyote * 915s # com_acme_coyote_proxy_new_for_bus_sync ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error) 915s # { 915s # GInitable *ret; 915s # 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); 915s # if (ret != NULL) 915s # return COM_ACME_COYOTE (ret); 915s # else 915s # return NULL; 915s # } 915s # 915s # 915s # /* ------------------------------------------------------------------------ */ 915s # 915s # /** 915s # * ComAcmeCoyoteSkeleton: 915s # * 915s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 915s # */ 915s # 915s # /** 915s # * ComAcmeCoyoteSkeletonClass: 915s # * @parent_class: The parent class. 915s # * 915s # * Class structure for #ComAcmeCoyoteSkeleton. 915s # */ 915s # 915s # struct _ComAcmeCoyoteSkeletonPrivate 915s # { 915s # GValue *properties; 915s # GList *changed_properties; 915s # GSource *changed_properties_idle_source; 915s # GMainContext *context; 915s # GMutex lock; 915s # }; 915s # 915s # static void 915s # _com_acme_coyote_skeleton_handle_method_call ( 915s # GDBusConnection *connection G_GNUC_UNUSED, 915s # const gchar *sender G_GNUC_UNUSED, 915s # const gchar *object_path G_GNUC_UNUSED, 915s # const gchar *interface_name, 915s # const gchar *method_name, 915s # GVariant *parameters, 915s # GDBusMethodInvocation *invocation, 915s # gpointer user_data) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 915s # _ExtendedGDBusMethodInfo *info; 915s # GVariantIter iter; 915s # GVariant *child; 915s # GValue *paramv; 915s # gsize num_params; 915s # guint num_extra; 915s # gsize n; 915s # guint signal_id; 915s # GValue return_value = G_VALUE_INIT; 915s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 915s # g_assert (info != NULL); 915s # num_params = g_variant_n_children (parameters); 915s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 915s # n = 0; 915s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 915s # g_value_set_object (¶mv[n++], skeleton); 915s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 915s # g_value_set_object (¶mv[n++], invocation); 915s # if (info->pass_fdlist) 915s # { 915s # #ifdef G_OS_UNIX 915s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 915s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 915s # #else 915s # g_assert_not_reached (); 915s # #endif 915s # } 915s # g_variant_iter_init (&iter, parameters); 915s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 915s # { 915s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 915s # if (arg_info->use_gvariant) 915s # { 915s # g_value_init (¶mv[n], G_TYPE_VARIANT); 915s # g_value_set_variant (¶mv[n], child); 915s # n++; 915s # } 915s # else 915s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 915s # g_variant_unref (child); 915s # } 915s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 915s # g_value_init (&return_value, G_TYPE_BOOLEAN); 915s # g_signal_emitv (paramv, signal_id, 0, &return_value); 915s # if (!g_value_get_boolean (&return_value)) 915s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 915s # g_value_unset (&return_value); 915s # for (n = 0; n < num_params + num_extra; n++) 915s # g_value_unset (¶mv[n]); 915s # g_free (paramv); 915s # } 915s # 915s # static GVariant * 915s # _com_acme_coyote_skeleton_handle_get_property ( 915s # GDBusConnection *connection G_GNUC_UNUSED, 915s # const gchar *sender G_GNUC_UNUSED, 915s # const gchar *object_path G_GNUC_UNUSED, 915s # const gchar *interface_name G_GNUC_UNUSED, 915s # const gchar *property_name, 915s # GError **error, 915s # gpointer user_data) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 915s # GValue value = G_VALUE_INIT; 915s # GParamSpec *pspec; 915s # _ExtendedGDBusPropertyInfo *info; 915s # GVariant *ret; 915s # ret = NULL; 915s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 915s # g_assert (info != NULL); 915s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 915s # if (pspec == NULL) 915s # { 915s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 915s # } 915s # else 915s # { 915s # g_value_init (&value, pspec->value_type); 915s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 915s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 915s # g_value_unset (&value); 915s # } 915s # return ret; 915s # } 915s # 915s # static gboolean 915s # _com_acme_coyote_skeleton_handle_set_property ( 915s # GDBusConnection *connection G_GNUC_UNUSED, 915s # const gchar *sender G_GNUC_UNUSED, 915s # const gchar *object_path G_GNUC_UNUSED, 915s # const gchar *interface_name G_GNUC_UNUSED, 915s # const gchar *property_name, 915s # GVariant *variant, 915s # GError **error, 915s # gpointer user_data) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 915s # GValue value = G_VALUE_INIT; 915s # GParamSpec *pspec; 915s # _ExtendedGDBusPropertyInfo *info; 915s # gboolean ret; 915s # ret = FALSE; 915s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 915s # g_assert (info != NULL); 915s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 915s # if (pspec == NULL) 915s # { 915s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 915s # } 915s # else 915s # { 915s # if (info->use_gvariant) 915s # g_value_set_variant (&value, variant); 915s # else 915s # g_dbus_gvariant_to_gvalue (variant, &value); 915s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 915s # g_value_unset (&value); 915s # ret = TRUE; 915s # } 915s # return ret; 915s # } 915s # 915s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 915s # { 915s # _com_acme_coyote_skeleton_handle_method_call, 915s # _com_acme_coyote_skeleton_handle_get_property, 915s # _com_acme_coyote_skeleton_handle_set_property, 915s # {NULL} 915s # }; 915s # 915s # static GDBusInterfaceInfo * 915s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 915s # { 915s # return com_acme_coyote_interface_info (); 915s # } 915s # 915s # static GDBusInterfaceVTable * 915s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 915s # { 915s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 915s # } 915s # 915s # static GVariant * 915s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 915s # 915s # GVariantBuilder builder; 915s # guint n; 915s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 915s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 915s # goto out; 915s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 915s # { 915s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 915s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 915s # { 915s # GVariant *value; 915s # 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); 915s # if (value != NULL) 915s # { 915s # g_variant_take_ref (value); 915s # g_variant_builder_add (&builder, "{sv}", info->name, value); 915s # g_variant_unref (value); 915s # } 915s # } 915s # } 915s # out: 915s # return g_variant_builder_end (&builder); 915s # } 915s # 915s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 915s # 915s # static void 915s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 915s # gboolean emit_changed = FALSE; 915s # 915s # g_mutex_lock (&skeleton->priv->lock); 915s # if (skeleton->priv->changed_properties_idle_source != NULL) 915s # { 915s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 915s # skeleton->priv->changed_properties_idle_source = NULL; 915s # emit_changed = TRUE; 915s # } 915s # g_mutex_unlock (&skeleton->priv->lock); 915s # 915s # if (emit_changed) 915s # _com_acme_coyote_emit_changed (skeleton); 915s # } 915s # 915s # static void 915s # _com_acme_coyote_on_signal_surprised ( 915s # ComAcmeCoyote *object) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 915s # 915s # GList *connections, *l; 915s # GVariant *signal_variant; 915s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 915s # 915s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 915s # for (l = connections; l != NULL; l = l->next) 915s # { 915s # GDBusConnection *connection = l->data; 915s # g_dbus_connection_emit_signal (connection, 915s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 915s # signal_variant, NULL); 915s # } 915s # g_variant_unref (signal_variant); 915s # g_list_free_full (connections, g_object_unref); 915s # } 915s # 915s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 915s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 915s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 915s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 915s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 915s # 915s # #else 915s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 915s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 915s # 915s # #endif 915s # static void 915s # com_acme_coyote_skeleton_finalize (GObject *object) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 915s # guint n; 915s # for (n = 0; n < 1; n++) 915s # g_value_unset (&skeleton->priv->properties[n]); 915s # g_free (skeleton->priv->properties); 915s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 915s # if (skeleton->priv->changed_properties_idle_source != NULL) 915s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 915s # g_main_context_unref (skeleton->priv->context); 915s # g_mutex_clear (&skeleton->priv->lock); 915s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 915s # } 915s # 915s # static void 915s # com_acme_coyote_skeleton_get_property (GObject *object, 915s # guint prop_id, 915s # GValue *value, 915s # GParamSpec *pspec G_GNUC_UNUSED) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 915s # g_assert (prop_id != 0 && prop_id - 1 < 1); 915s # g_mutex_lock (&skeleton->priv->lock); 915s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 915s # g_mutex_unlock (&skeleton->priv->lock); 915s # } 915s # 915s # static gboolean 915s # _com_acme_coyote_emit_changed (gpointer user_data) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 915s # GList *l; 915s # GVariantBuilder builder; 915s # GVariantBuilder invalidated_builder; 915s # guint num_changes; 915s # 915s # g_mutex_lock (&skeleton->priv->lock); 915s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 915s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 915s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 915s # { 915s # ChangedProperty *cp = l->data; 915s # GVariant *variant; 915s # const GValue *cur_value; 915s # 915s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 915s # if (!_g_value_equal (cur_value, &cp->orig_value)) 915s # { 915s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 915s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 915s # g_variant_unref (variant); 915s # num_changes++; 915s # } 915s # } 915s # if (num_changes > 0) 915s # { 915s # GList *connections, *ll; 915s # GVariant *signal_variant; 915s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 915s # &builder, &invalidated_builder)); 915s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 915s # for (ll = connections; ll != NULL; ll = ll->next) 915s # { 915s # GDBusConnection *connection = ll->data; 915s # 915s # g_dbus_connection_emit_signal (connection, 915s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 915s # "org.freedesktop.DBus.Properties", 915s # "PropertiesChanged", 915s # signal_variant, 915s # NULL); 915s # } 915s # g_variant_unref (signal_variant); 915s # g_list_free_full (connections, g_object_unref); 915s # } 915s # else 915s # { 915s # g_variant_builder_clear (&builder); 915s # g_variant_builder_clear (&invalidated_builder); 915s # } 915s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 915s # skeleton->priv->changed_properties = NULL; 915s # skeleton->priv->changed_properties_idle_source = NULL; 915s # g_mutex_unlock (&skeleton->priv->lock); 915s # return FALSE; 915s # } 915s # 915s # static void 915s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 915s # { 915s # ChangedProperty *cp; 915s # GList *l; 915s # cp = NULL; 915s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 915s # { 915s # ChangedProperty *i_cp = l->data; 915s # if (i_cp->info == info) 915s # { 915s # cp = i_cp; 915s # break; 915s # } 915s # } 915s # if (cp == NULL) 915s # { 915s # cp = g_new0 (ChangedProperty, 1); 915s # cp->prop_id = prop_id; 915s # cp->info = info; 915s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 915s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 915s # g_value_copy (orig_value, &cp->orig_value); 915s # } 915s # } 915s # 915s # static void 915s # com_acme_coyote_skeleton_notify (GObject *object, 915s # GParamSpec *pspec G_GNUC_UNUSED) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 915s # g_mutex_lock (&skeleton->priv->lock); 915s # if (skeleton->priv->changed_properties != NULL && 915s # skeleton->priv->changed_properties_idle_source == NULL) 915s # { 915s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 915s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 915s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 915s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 915s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 915s # g_source_unref (skeleton->priv->changed_properties_idle_source); 915s # } 915s # g_mutex_unlock (&skeleton->priv->lock); 915s # } 915s # 915s # static void 915s # com_acme_coyote_skeleton_set_property (GObject *object, 915s # guint prop_id, 915s # const GValue *value, 915s # GParamSpec *pspec) 915s # { 915s # const _ExtendedGDBusPropertyInfo *info; 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 915s # g_assert (prop_id != 0 && prop_id - 1 < 1); 915s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 915s # g_mutex_lock (&skeleton->priv->lock); 915s # g_object_freeze_notify (object); 915s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 915s # { 915s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 915s # info->emits_changed_signal) 915s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 915s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 915s # g_object_notify_by_pspec (object, pspec); 915s # } 915s # g_mutex_unlock (&skeleton->priv->lock); 915s # g_object_thaw_notify (object); 915s # } 915s # 915s # static void 915s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 915s # { 915s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 915s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 915s # #else 915s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 915s # #endif 915s # 915s # g_mutex_init (&skeleton->priv->lock); 915s # skeleton->priv->context = g_main_context_ref_thread_default (); 915s # skeleton->priv->properties = g_new0 (GValue, 1); 915s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 915s # } 915s # 915s # static const gchar * 915s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 915s # { 915s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 915s # const gchar *value; 915s # g_mutex_lock (&skeleton->priv->lock); 915s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 915s # g_mutex_unlock (&skeleton->priv->lock); 915s # return value; 915s # } 915s # 915s # static void 915s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 915s # { 915s # GObjectClass *gobject_class; 915s # GDBusInterfaceSkeletonClass *skeleton_class; 915s # 915s # gobject_class = G_OBJECT_CLASS (klass); 915s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 915s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 915s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 915s # gobject_class->notify = com_acme_coyote_skeleton_notify; 915s # 915s # 915s # com_acme_coyote_override_properties (gobject_class, 1); 915s # 915s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 915s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 915s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 915s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 915s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 915s # 915s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 915s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 915s # #endif 915s # } 915s # 915s # static void 915s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 915s # { 915s # iface->surprised = _com_acme_coyote_on_signal_surprised; 915s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 915s # } 915s # 915s # /** 915s # * com_acme_coyote_skeleton_new: 915s # * 915s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 915s # * 915s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 915s # */ 915s # ComAcmeCoyote * 915s # com_acme_coyote_skeleton_new (void) 915s # { 915s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 915s # } 915s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 915s # tmpdir: /tmp/tmpmeq8jabc 915s # codegen: /usr/bin/gdbus-codegen 915s # /tmp/tmpmeq8jabc/tmppjw64osh.xml: 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeq8jabc/tmppjw64osh.xml', '--output', '-', '--header'] 915s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 915s # Output: /* 915s # * This file is generated by gdbus-codegen, do not modify it. 915s # * 915s # * The license of this code is the same as for the D-Bus interface description 915s # * it was derived from. Note that it links to GLib, so must comply with the 915s # * LGPL linking clauses. 915s # */ 915s # 915s # #ifndef __STDOUT__ 915s # #define __STDOUT__ 915s # 915s # #include 915s # 915s # G_BEGIN_DECLS 915s # 915s # 915s # /* ------------------------------------------------------------------------ */ 915s # /* Declarations for FDPassing */ 915s # 915s # #define TYPE_FDPASSING (fdpassing_get_type ()) 915s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 915s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 915s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 915s # 915s # struct _FDPassing; 915s # typedef struct _FDPassing FDPassing; 915s # typedef struct _FDPassingIface FDPassingIface; 915s # 915s # struct _FDPassingIface 915s # { 915s # GTypeInterface parent_iface; 915s # 915s # gboolean (*handle_hello_fd) ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation, 915s # GUnixFDList *fd_list, 915s # const gchar *arg_greeting); 915s # 915s # gboolean (*handle_no_annotation) ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation, 915s # GVariant *arg_greeting, 915s # const gchar *arg_greeting_locale); 915s # 915s # gboolean (*handle_no_annotation_nested) ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation, 915s # GVariant *arg_files); 915s # 915s # }; 915s # 915s # GType fdpassing_get_type (void) G_GNUC_CONST; 915s # 915s # GDBusInterfaceInfo *fdpassing_interface_info (void); 915s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 915s # 915s # 915s # /* D-Bus method call completion functions: */ 915s # void fdpassing_complete_hello_fd ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation, 915s # GUnixFDList *fd_list, 915s # const gchar *response); 915s # 915s # void fdpassing_complete_no_annotation ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation, 915s # GVariant *response, 915s # const gchar *response_locale); 915s # 915s # void fdpassing_complete_no_annotation_nested ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # 915s # 915s # /* D-Bus method calls: */ 915s # void fdpassing_call_hello_fd ( 915s # FDPassing *proxy, 915s # const gchar *arg_greeting, 915s # GUnixFDList *fd_list, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean fdpassing_call_hello_fd_finish ( 915s # FDPassing *proxy, 915s # gchar **out_response, 915s # GUnixFDList **out_fd_list, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean fdpassing_call_hello_fd_sync ( 915s # FDPassing *proxy, 915s # const gchar *arg_greeting, 915s # GUnixFDList *fd_list, 915s # gchar **out_response, 915s # GUnixFDList **out_fd_list, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void fdpassing_call_no_annotation ( 915s # FDPassing *proxy, 915s # GVariant *arg_greeting, 915s # const gchar *arg_greeting_locale, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean fdpassing_call_no_annotation_finish ( 915s # FDPassing *proxy, 915s # GVariant **out_response, 915s # gchar **out_response_locale, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean fdpassing_call_no_annotation_sync ( 915s # FDPassing *proxy, 915s # GVariant *arg_greeting, 915s # const gchar *arg_greeting_locale, 915s # GVariant **out_response, 915s # gchar **out_response_locale, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void fdpassing_call_no_annotation_nested ( 915s # FDPassing *proxy, 915s # GVariant *arg_files, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean fdpassing_call_no_annotation_nested_finish ( 915s # FDPassing *proxy, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean fdpassing_call_no_annotation_nested_sync ( 915s # FDPassing *proxy, 915s # GVariant *arg_files, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # 915s # 915s # /* ---- */ 915s # 915s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 915s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 915s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 915s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 915s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 915s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 915s # 915s # typedef struct _FDPassingProxy FDPassingProxy; 915s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 915s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 915s # 915s # struct _FDPassingProxy 915s # { 915s # /*< private >*/ 915s # GDBusProxy parent_instance; 915s # FDPassingProxyPrivate *priv; 915s # }; 915s # 915s # struct _FDPassingProxyClass 915s # { 915s # GDBusProxyClass parent_class; 915s # }; 915s # 915s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 915s # 915s # #if GLIB_CHECK_VERSION(2, 44, 0) 915s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 915s # #endif 915s # 915s # void fdpassing_proxy_new ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # FDPassing *fdpassing_proxy_new_finish ( 915s # GAsyncResult *res, 915s # GError **error); 915s # FDPassing *fdpassing_proxy_new_sync ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void fdpassing_proxy_new_for_bus ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 915s # GAsyncResult *res, 915s # GError **error); 915s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # 915s # /* ---- */ 915s # 915s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 915s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 915s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 915s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 915s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 915s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 915s # 915s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 915s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 915s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 915s # 915s # struct _FDPassingSkeleton 915s # { 915s # /*< private >*/ 915s # GDBusInterfaceSkeleton parent_instance; 915s # FDPassingSkeletonPrivate *priv; 915s # }; 915s # 915s # struct _FDPassingSkeletonClass 915s # { 915s # GDBusInterfaceSkeletonClass parent_class; 915s # }; 915s # 915s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 915s # 915s # #if GLIB_CHECK_VERSION(2, 44, 0) 915s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 915s # #endif 915s # 915s # FDPassing *fdpassing_skeleton_new (void); 915s # 915s # 915s # G_END_DECLS 915s # 915s # #endif /* __STDOUT__ */ 915s # /tmp/tmpmeq8jabc/tmph5compmu.xml: 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeq8jabc/tmph5compmu.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 915s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 915s # Output: /* 915s # * This file is generated by gdbus-codegen, do not modify it. 915s # * 915s # * The license of this code is the same as for the D-Bus interface description 915s # * it was derived from. Note that it links to GLib, so must comply with the 915s # * LGPL linking clauses. 915s # */ 915s # 915s # #ifndef __STDOUT__ 915s # #define __STDOUT__ 915s # 915s # #include 915s # 915s # G_BEGIN_DECLS 915s # 915s # 915s # /* ------------------------------------------------------------------------ */ 915s # /* Declarations for FDPassing */ 915s # 915s # #define TYPE_FDPASSING (fdpassing_get_type ()) 915s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 915s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 915s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 915s # 915s # struct _FDPassing; 915s # typedef struct _FDPassing FDPassing; 915s # typedef struct _FDPassingIface FDPassingIface; 915s # 915s # struct _FDPassingIface 915s # { 915s # GTypeInterface parent_iface; 915s # 915s # gboolean (*handle_hello_fd) ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation, 915s # GUnixFDList *fd_list, 915s # const gchar *arg_greeting); 915s # 915s # gboolean (*handle_no_annotation) ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation, 915s # GVariant *arg_greeting, 915s # const gchar *arg_greeting_locale); 915s # 915s # gboolean (*handle_no_annotation_nested) ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation, 915s # GVariant *arg_files); 915s # 915s # }; 915s # 915s # GType fdpassing_get_type (void) G_GNUC_CONST; 915s # 915s # GDBusInterfaceInfo *fdpassing_interface_info (void); 915s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 915s # 915s # 915s # /* D-Bus method call completion functions: */ 915s # void fdpassing_complete_hello_fd ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation, 915s # GUnixFDList *fd_list, 915s # const gchar *response); 915s # 915s # void fdpassing_complete_no_annotation ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation, 915s # GVariant *response, 915s # const gchar *response_locale); 915s # 915s # void fdpassing_complete_no_annotation_nested ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation); 915s # 915s # 915s # 915s # /* D-Bus method calls: */ 915s # void fdpassing_call_hello_fd ( 915s # FDPassing *proxy, 915s # const gchar *arg_greeting, 915s # GUnixFDList *fd_list, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean fdpassing_call_hello_fd_finish ( 915s # FDPassing *proxy, 915s # gchar **out_response, 915s # GUnixFDList **out_fd_list, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean fdpassing_call_hello_fd_sync ( 915s # FDPassing *proxy, 915s # const gchar *arg_greeting, 915s # GUnixFDList *fd_list, 915s # gchar **out_response, 915s # GUnixFDList **out_fd_list, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void fdpassing_call_no_annotation ( 915s # FDPassing *proxy, 915s # GVariant *arg_greeting, 915s # const gchar *arg_greeting_locale, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean fdpassing_call_no_annotation_finish ( 915s # FDPassing *proxy, 915s # GVariant **out_response, 915s # gchar **out_response_locale, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean fdpassing_call_no_annotation_sync ( 915s # FDPassing *proxy, 915s # GVariant *arg_greeting, 915s # const gchar *arg_greeting_locale, 915s # GVariant **out_response, 915s # gchar **out_response_locale, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void fdpassing_call_no_annotation_nested ( 915s # FDPassing *proxy, 915s # GVariant *arg_files, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean fdpassing_call_no_annotation_nested_finish ( 915s # FDPassing *proxy, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean fdpassing_call_no_annotation_nested_sync ( 915s # FDPassing *proxy, 915s # GVariant *arg_files, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # 915s # 915s # /* ---- */ 915s # 915s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 915s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 915s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 915s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 915s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 915s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 915s # 915s # typedef struct _FDPassingProxy FDPassingProxy; 915s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 915s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 915s # 915s # struct _FDPassingProxy 915s # { 915s # /*< private >*/ 915s # GDBusProxy parent_instance; 915s # FDPassingProxyPrivate *priv; 915s # }; 915s # 915s # struct _FDPassingProxyClass 915s # { 915s # GDBusProxyClass parent_class; 915s # }; 915s # 915s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 915s # 915s # #if GLIB_CHECK_VERSION(2, 44, 0) 915s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 915s # #endif 915s # 915s # void fdpassing_proxy_new ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # FDPassing *fdpassing_proxy_new_finish ( 915s # GAsyncResult *res, 915s # GError **error); 915s # FDPassing *fdpassing_proxy_new_sync ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void fdpassing_proxy_new_for_bus ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 915s # GAsyncResult *res, 915s # GError **error); 915s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # 915s # /* ---- */ 915s # 915s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 915s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 915s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 915s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 915s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 915s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 915s # 915s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 915s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 915s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 915s # 915s # struct _FDPassingSkeleton 915s # { 915s # /*< private >*/ 915s # GDBusInterfaceSkeleton parent_instance; 915s # FDPassingSkeletonPrivate *priv; 915s # }; 915s # 915s # struct _FDPassingSkeletonClass 915s # { 915s # GDBusInterfaceSkeletonClass parent_class; 915s # }; 915s # 915s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 915s # 915s # #if GLIB_CHECK_VERSION(2, 44, 0) 915s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 915s # #endif 915s # 915s # FDPassing *fdpassing_skeleton_new (void); 915s # 915s # 915s # G_END_DECLS 915s # 915s # #endif /* __STDOUT__ */ 915s # /tmp/tmpmeq8jabc/tmptn_44zc7.xml: 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # 915s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeq8jabc/tmptn_44zc7.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 915s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 915s # Output: /* 915s # * This file is generated by gdbus-codegen, do not modify it. 915s # * 915s # * The license of this code is the same as for the D-Bus interface description 915s # * it was derived from. Note that it links to GLib, so must comply with the 915s # * LGPL linking clauses. 915s # */ 915s # 915s # #ifndef __STDOUT__ 915s # #define __STDOUT__ 915s # 915s # #include 915s # 915s # G_BEGIN_DECLS 915s # 915s # 915s # /* ------------------------------------------------------------------------ */ 915s # /* Declarations for FDPassing */ 915s # 915s # #define TYPE_FDPASSING (fdpassing_get_type ()) 915s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 915s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 915s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 915s # 915s # struct _FDPassing; 915s # typedef struct _FDPassing FDPassing; 915s # typedef struct _FDPassingIface FDPassingIface; 915s # 915s # struct _FDPassingIface 915s # { 915s # GTypeInterface parent_iface; 915s # 915s # gboolean (*handle_hello_fd) ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation, 915s # GUnixFDList *fd_list, 915s # const gchar *arg_greeting); 915s # 915s # gboolean (*handle_no_annotation) ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation, 915s # GUnixFDList *fd_list, 915s # GVariant *arg_greeting, 915s # const gchar *arg_greeting_locale); 915s # 915s # gboolean (*handle_no_annotation_nested) ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation, 915s # GUnixFDList *fd_list, 915s # GVariant *arg_files); 915s # 915s # }; 915s # 915s # GType fdpassing_get_type (void) G_GNUC_CONST; 915s # 915s # GDBusInterfaceInfo *fdpassing_interface_info (void); 915s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 915s # 915s # 915s # /* D-Bus method call completion functions: */ 915s # void fdpassing_complete_hello_fd ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation, 915s # GUnixFDList *fd_list, 915s # const gchar *response); 915s # 915s # void fdpassing_complete_no_annotation ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation, 915s # GUnixFDList *fd_list, 915s # GVariant *response, 915s # const gchar *response_locale); 915s # 915s # void fdpassing_complete_no_annotation_nested ( 915s # FDPassing *object, 915s # GDBusMethodInvocation *invocation, 915s # GUnixFDList *fd_list); 915s # 915s # 915s # 915s # /* D-Bus method calls: */ 915s # void fdpassing_call_hello_fd ( 915s # FDPassing *proxy, 915s # const gchar *arg_greeting, 915s # GDBusCallFlags call_flags, 915s # gint timeout_msec, 915s # GUnixFDList *fd_list, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean fdpassing_call_hello_fd_finish ( 915s # FDPassing *proxy, 915s # gchar **out_response, 915s # GUnixFDList **out_fd_list, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean fdpassing_call_hello_fd_sync ( 915s # FDPassing *proxy, 915s # const gchar *arg_greeting, 915s # GDBusCallFlags call_flags, 915s # gint timeout_msec, 915s # GUnixFDList *fd_list, 915s # gchar **out_response, 915s # GUnixFDList **out_fd_list, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void fdpassing_call_no_annotation ( 915s # FDPassing *proxy, 915s # GVariant *arg_greeting, 915s # const gchar *arg_greeting_locale, 915s # GDBusCallFlags call_flags, 915s # gint timeout_msec, 915s # GUnixFDList *fd_list, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean fdpassing_call_no_annotation_finish ( 915s # FDPassing *proxy, 915s # GVariant **out_response, 915s # gchar **out_response_locale, 915s # GUnixFDList **out_fd_list, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean fdpassing_call_no_annotation_sync ( 915s # FDPassing *proxy, 915s # GVariant *arg_greeting, 915s # const gchar *arg_greeting_locale, 915s # GDBusCallFlags call_flags, 915s # gint timeout_msec, 915s # GUnixFDList *fd_list, 915s # GVariant **out_response, 915s # gchar **out_response_locale, 915s # GUnixFDList **out_fd_list, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void fdpassing_call_no_annotation_nested ( 915s # FDPassing *proxy, 915s # GVariant *arg_files, 915s # GDBusCallFlags call_flags, 915s # gint timeout_msec, 915s # GUnixFDList *fd_list, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # 915s # gboolean fdpassing_call_no_annotation_nested_finish ( 915s # FDPassing *proxy, 915s # GUnixFDList **out_fd_list, 915s # GAsyncResult *res, 915s # GError **error); 915s # 915s # gboolean fdpassing_call_no_annotation_nested_sync ( 915s # FDPassing *proxy, 915s # GVariant *arg_files, 915s # GDBusCallFlags call_flags, 915s # gint timeout_msec, 915s # GUnixFDList *fd_list, 915s # GUnixFDList **out_fd_list, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # 915s # 915s # /* ---- */ 915s # 915s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 915s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 915s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 915s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 915s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 915s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 915s # 915s # typedef struct _FDPassingProxy FDPassingProxy; 915s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 915s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 915s # 915s # struct _FDPassingProxy 915s # { 915s # /*< private >*/ 915s # GDBusProxy parent_instance; 915s # FDPassingProxyPrivate *priv; 915s # }; 915s # 915s # struct _FDPassingProxyClass 915s # { 915s # GDBusProxyClass parent_class; 915s # }; 915s # 915s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 915s # 915s # #if GLIB_CHECK_VERSION(2, 44, 0) 915s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 915s # #endif 915s # 915s # void fdpassing_proxy_new ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # FDPassing *fdpassing_proxy_new_finish ( 915s # GAsyncResult *res, 915s # GError **error); 915s # FDPassing *fdpassing_proxy_new_sync ( 915s # GDBusConnection *connection, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # void fdpassing_proxy_new_for_bus ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GAsyncReadyCallback callback, 915s # gpointer user_data); 915s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 915s # GAsyncResult *res, 915s # GError **error); 915s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 915s # GBusType bus_type, 915s # GDBusProxyFlags flags, 915s # const gchar *name, 915s # const gchar *object_path, 915s # GCancellable *cancellable, 915s # GError **error); 915s # 915s # 915s # /* ---- */ 915s # 915s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 915s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 915s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 915s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 915s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 915s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 915s # 915s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 915s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 915s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 915s # 915s # struct _FDPassingSkeleton 915s # { 915s # /*< private >*/ 915s # GDBusInterfaceSkeleton parent_instance; 915s # FDPassingSkeletonPrivate *priv; 915s # }; 915s # 915s # struct _FDPassingSkeletonClass 915s # { 915s # GDBusInterfaceSkeletonClass parent_class; 915s # }; 915s # 915s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 915s # 915s # #if GLIB_CHECK_VERSION(2, 44, 0) 915s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 915s # #endif 915s # 915s # FDPassing *fdpassing_skeleton_new (void); 915s # 915s # 915s # G_END_DECLS 915s # 915s # #endif /* __STDOUT__ */ 915s 1..39 915s ok - glib/codegen.py.test 915s # Running test: glib/thread.test 915s TAP version 13 915s # random seed: R02Sca7561689bf787f7d02cb80d3f2b723d 915s 1..7 915s # Start of thread tests 915s ok 1 /thread/thread1 915s ok 2 /thread/thread2 915s ok 3 /thread/thread3 915s ok 4 /thread/thread4 915s ok 5 /thread/thread5 915s ok 6 /thread/thread6 915s ok 7 /thread/thread7 915s # End of thread tests 915s ok - glib/thread.test 915s # Running test: glib/mappedfile.test 915s TAP version 13 915s # random seed: R02Sca43315f0898fad98d8ccf9b303b8712 915s 1..7 915s # Start of mappedfile tests 915s ok 1 /mappedfile/basic 915s ok 2 /mappedfile/empty 915s ok 3 /mappedfile/device 915s ok 4 /mappedfile/nonexisting 915s ok 5 /mappedfile/writable 915s ok 6 /mappedfile/writable_fd 915s ok 7 /mappedfile/gbytes 915s # End of mappedfile tests 915s ok - glib/mappedfile.test 915s # Running test: glib/static-link.test 915s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 915s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 915s and make sure you have glib build dependencies installed, including 915s meson. 915s ok # SKIP - glib/static-link.test 915s # Running test: glib/gdbus-names.test 915s TAP version 13 915s # random seed: R02Sae7e91d238386f904266745850335a66 915s 1..10 915s # Start of gdbus tests 915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/validate-names/.dirs/home 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/validate-names/.dirs/cache 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_ZSXXK2/gdbus/validate-names/.dirs/system-config2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/validate-names/.dirs/config 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_ZSXXK2/gdbus/validate-names/.dirs/system-data2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/validate-names/.dirs/data 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/validate-names/.dirs/state 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ZSXXK2/gdbus/validate-names/.dirs/runtime 915s ok 1 /gdbus/validate-names 915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-own-name/.dirs/home 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-own-name/.dirs/cache 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_ZSXXK2/gdbus/bus-own-name/.dirs/system-config2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-own-name/.dirs/config 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_ZSXXK2/gdbus/bus-own-name/.dirs/system-data2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-own-name/.dirs/data 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-own-name/.dirs/state 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-own-name/.dirs/runtime 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-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.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 2 /gdbus/bus-own-name 915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name/.dirs/home 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name/.dirs/cache 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name/.dirs/system-config2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name/.dirs/config 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name/.dirs/system-data2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name/.dirs/data 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name/.dirs/state 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name/.dirs/runtime 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-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.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 3 /gdbus/bus-watch-name 915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start/.dirs/home 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start/.dirs/cache 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start/.dirs/config 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start/.dirs/data 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start/.dirs/state 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start/.dirs/runtime 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-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.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 4 /gdbus/bus-watch-name-auto-start 915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 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-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 915s dbus-daemon[3897]: [session uid=1000 pid=3897] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=3888 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 915s # Acquired a message bus connection 915s dbus-daemon[3897]: [session uid=1000 pid=3897] Successfully activated service 'org.gtk.GDBus.FakeService' 915s # Acquired the name org.gtk.GDBus.FakeService 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 5 /gdbus/bus-watch-name-auto-start-service-exist 915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures/.dirs/home 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures/.dirs/cache 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures/.dirs/system-config2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures/.dirs/config 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures/.dirs/system-data2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures/.dirs/data 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures/.dirs/state 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures/.dirs/runtime 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-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.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 6 /gdbus/bus-watch-name-closures 915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 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-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.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 7 /gdbus/bus-watch-name-closures-auto-start 915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-different-context/.dirs/home 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-different-context/.dirs/cache 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-different-context/.dirs/system-config2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-different-context/.dirs/config 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-different-context/.dirs/system-data2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-different-context/.dirs/data 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-different-context/.dirs/state 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-watch-different-context/.dirs/runtime 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-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.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 916s ok 8 /gdbus/bus-watch-different-context 916s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-unwatch-early/.dirs/home 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-unwatch-early/.dirs/cache 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_ZSXXK2/gdbus/bus-unwatch-early/.dirs/system-config2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-unwatch-early/.dirs/config 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_ZSXXK2/gdbus/bus-unwatch-early/.dirs/system-data2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-unwatch-early/.dirs/data 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-unwatch-early/.dirs/state 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ZSXXK2/gdbus/bus-unwatch-early/.dirs/runtime 916s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 916s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 916s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 916s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 916s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 916s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 916s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 916s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 916s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 916s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 916s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 916s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 916s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 916s ok 9 /gdbus/bus-unwatch-early 916s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/escape-object-path/.dirs/home 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/escape-object-path/.dirs/cache 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_ZSXXK2/gdbus/escape-object-path/.dirs/system-config2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/escape-object-path/.dirs/config 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_ZSXXK2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_ZSXXK2/gdbus/escape-object-path/.dirs/system-data2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/escape-object-path/.dirs/data 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_ZSXXK2/gdbus/escape-object-path/.dirs/state 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_ZSXXK2/gdbus/escape-object-path/.dirs/runtime 916s ok 10 /gdbus/escape-object-path 916s # End of gdbus tests 916s ok - glib/gdbus-names.test 916s # Running test: glib/deftype.test 916s ok - glib/deftype.test 916s # Running test: glib/autoptr.test 916s TAP version 13 916s # random seed: R02Sce53068d53563efee8de0d6c32ae65e8 916s 1..6 916s # Start of autoptr tests 916s ok 1 /autoptr/autoptr 916s ok 2 /autoptr/autoptr_steal 916s ok 3 /autoptr/autolist 916s ok 4 /autoptr/autoslist 916s ok 5 /autoptr/autoqueue 916s ok 6 /autoptr/autoclass 916s # End of autoptr tests 916s ok - glib/autoptr.test 916s # Running test: glib/error.test 916s TAP version 13 916s # random seed: R02Sc6e25a23c108c75b7be9b189c295cf1a 916s 1..3 916s # Start of error tests 916s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_RXHSK2/error/from-errno/.dirs/home 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_RXHSK2/error/from-errno/.dirs/cache 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_RXHSK2/error/from-errno/.dirs/system-config1:/tmp/test_error_RXHSK2/error/from-errno/.dirs/system-config2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_RXHSK2/error/from-errno/.dirs/config 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_RXHSK2/error/from-errno/.dirs/system-data1:/tmp/test_error_RXHSK2/error/from-errno/.dirs/system-data2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_RXHSK2/error/from-errno/.dirs/data 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_RXHSK2/error/from-errno/.dirs/state 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_RXHSK2/error/from-errno/.dirs/runtime 916s ok 1 /error/from-errno 916s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_RXHSK2/error/from-file-error/.dirs/home 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_RXHSK2/error/from-file-error/.dirs/cache 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_RXHSK2/error/from-file-error/.dirs/system-config1:/tmp/test_error_RXHSK2/error/from-file-error/.dirs/system-config2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_RXHSK2/error/from-file-error/.dirs/config 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_RXHSK2/error/from-file-error/.dirs/system-data1:/tmp/test_error_RXHSK2/error/from-file-error/.dirs/system-data2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_RXHSK2/error/from-file-error/.dirs/data 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_RXHSK2/error/from-file-error/.dirs/state 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_RXHSK2/error/from-file-error/.dirs/runtime 916s ok 2 /error/from-file-error 916s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_RXHSK2/error/from-win32-error/.dirs/home 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_RXHSK2/error/from-win32-error/.dirs/cache 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_RXHSK2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_RXHSK2/error/from-win32-error/.dirs/system-config2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_RXHSK2/error/from-win32-error/.dirs/config 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_RXHSK2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_RXHSK2/error/from-win32-error/.dirs/system-data2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_RXHSK2/error/from-win32-error/.dirs/data 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_RXHSK2/error/from-win32-error/.dirs/state 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_RXHSK2/error/from-win32-error/.dirs/runtime 916s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 916s # End of error tests 916s ok - glib/error.test 916s # Running test: glib/network-monitor.test 916s TAP version 13 916s # random seed: R02S7d0f226ce61b5fb20e68bca443ac3628 916s 1..4 916s # Start of network-monitor tests 916s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 916s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 916s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 916s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 916s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 916s ok 1 /network-monitor/default 916s ok 2 /network-monitor/remove_default 916s ok 3 /network-monitor/add_networks 916s ok 4 /network-monitor/remove_networks 916s # End of network-monitor tests 916s ok - glib/network-monitor.test 916s # Running test: glib/gmenumodel.test 916s TAP version 13 916s # random seed: R02S0a701ad4da79fb231581ae6e9d0a2ac7 916s 1..14 916s # Start of gmenu tests 918s ok 1 /gmenu/equality 918s # slow test /gmenu/equality executed in 2.41 secs 920s # Executing: glib/gmenumodel.test 921s ok 2 /gmenu/random 921s # slow test /gmenu/random executed in 3.28 secs 921s ok 3 /gmenu/attributes 921s ok 4 /gmenu/links 921s ok 5 /gmenu/mutable 921s ok 6 /gmenu/convenience 921s ok 7 /gmenu/menuitem 921s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 921s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 921s ok 8 /gmenu/input-validation 921s # Start of dbus tests 921s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s ok 9 /gmenu/dbus/roundtrip 923s # slow test /gmenu/dbus/roundtrip executed in 1.09 secs 923s ok 10 /gmenu/dbus/subscriptions 925s # Executing: glib/gmenumodel.test 926s ok 11 /gmenu/dbus/threaded 926s # slow test /gmenu/dbus/threaded executed in 2.69 secs 926s # Start of peer tests 927s ok 12 /gmenu/dbus/peer/roundtrip 927s # slow test /gmenu/dbus/peer/roundtrip executed in 1.07 secs 927s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 927s # End of peer tests 927s # End of dbus tests 927s # Start of attributes tests 927s ok 14 /gmenu/attributes/iterate 927s # End of attributes tests 927s # End of gmenu tests 927s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 927s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 927s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 927s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 927s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 927s ok - glib/gmenumodel.test 927s # Running test: glib/type.test 927s TAP version 13 927s # random seed: R02Scd5e19362d7c5c0f568bacb25daae29f 927s 1..6 927s # Start of type tests 927s ok 1 /type/registration-serial 927s ok 2 /type/interface-prerequisite 927s ok 3 /type/interface-check 927s ok 4 /type/next-base 927s ok 5 /type/is-a 927s # Invalid types can?t be queried. 927s # Unclassed types can?t be queried. 927s ok 6 /type/query 927s # End of type tests 927s ok - glib/type.test 927s # Running test: glib/contenttype.test 927s TAP version 13 927s # random seed: R02S4a3648cc96eddbadc11e20c798cff2a4 927s 1..13 927s # Start of contenttype tests 927s ok 1 /contenttype/guess 927s ok 2 /contenttype/guess_svg_from_data 927s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 927s ok 4 /contenttype/unknown 927s ok 5 /contenttype/subtype 927s ok 6 /contenttype/list 927s ok 7 /contenttype/executable 927s ok 8 /contenttype/description 927s ok 9 /contenttype/icon 927s ok 10 /contenttype/symbolic-icon 927s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 927s ok 11 /contenttype/tree 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 927s ok 12 /contenttype/tree_invalid_encoding 927s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 927s ok 13 /contenttype/test_type_is_a_special_case 927s # End of contenttype tests 927s ok - glib/contenttype.test 927s # Running test: glib/test-printf.test 927s TAP version 13 927s # random seed: R02Sc3d9fd94d341d5882a1eea4c6879d373 927s 1..22 927s # Start of snprintf tests 927s ok 1 /snprintf/retval-and-trunc 927s ok 2 /snprintf/%d 927s ok 3 /snprintf/%d-invalid 927s ok 4 /snprintf/%o 927s ok 5 /snprintf/%u 927s ok 6 /snprintf/%x 927s ok 7 /snprintf/%X 927s ok 8 /snprintf/%f 927s ok 9 /snprintf/%e 927s ok 10 /snprintf/%c 927s ok 11 /snprintf/%s 927s ok 12 /snprintf/%n 927s ok 13 /snprintf/test-percent 927s ok 14 /snprintf/test-positional-params 927s ok 15 /snprintf/test-64bit 927s # End of snprintf tests 927s # Start of printf tests 927s ok 16 /printf/test-percent 927s ok 17 /printf/test-positional-params 927s ok 18 /printf/test-64bit 927s # Start of test-64bit tests 927s # Start of subprocess tests 927s # End of subprocess tests 927s # End of test-64bit tests 927s # End of printf tests 927s # Start of sprintf tests 927s ok 19 /sprintf/test-positional-params 927s ok 20 /sprintf/upper-bound 927s # End of sprintf tests 927s # Start of vasprintf tests 927s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 927s ok 21 /vasprintf/invalid-format-placeholder 927s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 927s ok 22 /vasprintf/invalid-wide-string 927s # End of vasprintf tests 927s ok - glib/test-printf.test 927s # Running test: glib/basics-gobject.test 927s TAP version 13 927s # random seed: R02Se19755d031b8a96667012d41b3620412 927s 1..1 927s # Start of gobject tests 927s # private data during initialization: 54321 == 54321 927s # MAIN: emit test-signal: 927s # ::test_signal default_handler called 927s # ::test_signal default_handler called 927s # ::test_signal default_handler called 927s # signal return: "" 927s # MAIN: call iface print-string on test and derived object: 927s # Iface-FOO: "iface-string-from-test-type" from 0x2516c48 927s # Iface-BAR: "iface-string-from-derived-type" from 0x2516aa0 927s # chaining: 927s # Iface-FOO: "iface-string-from-derived-type" from 0x2516aa0 927s # private data after initialization: 54321 == 54321 927s ok 1 /gobject/basics 927s # End of gobject tests 927s ok - glib/basics-gobject.test 927s # Running test: glib/fileattributematcher.test 927s TAP version 13 927s # random seed: R02S641f65aed5854a9317e76ce1d49612a4 927s 1..3 927s # Start of fileattributematcher tests 927s ok 1 /fileattributematcher/exact 927s ok 2 /fileattributematcher/equality 927s ok 3 /fileattributematcher/subtract 927s # End of fileattributematcher tests 927s ok - glib/fileattributematcher.test 927s # Running test: glib/list.test 927s TAP version 13 927s # random seed: R02S24846090bbbcdbd464014dafc992b9ce 927s 1..20 927s # Start of list tests 927s ok 1 /list/sort 927s ok 2 /list/sort-with-data 927s ok 3 /list/insert-before-link 927s ok 4 /list/insert-sorted 927s ok 5 /list/insert-sorted-with-data 927s ok 6 /list/reverse 927s ok 7 /list/nth 927s ok 8 /list/concat 927s ok 9 /list/remove 927s ok 10 /list/remove-all 927s ok 11 /list/first-last 927s ok 12 /list/insert 927s ok 13 /list/free-full 927s ok 14 /list/copy 927s ok 15 /list/copy-deep 927s ok 16 /list/delete-link 927s ok 17 /list/prepend 927s ok 18 /list/position 927s ok 19 /list/double-free 927s # Start of sort tests 927s ok 20 /list/sort/stable 927s # End of sort tests 927s # End of list tests 927s ok - glib/list.test 927s # Running test: glib/cxx-98.test 927s TAP version 13 927s # random seed: R02S17ed98072c1a8434150d4291b2f43ecd 927s 1..2 927s # Start of gtask tests 927s # 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. 927s ok 1 /gtask/name 927s # Start of name tests 927s # 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. 927s ok 2 /gtask/name/macro-wrapper 927s # End of name tests 927s # End of gtask tests 927s ok - glib/cxx-98.test 927s # Running test: glib/relation.test 927s TAP version 13 927s # random seed: R02S606fe23425ed035ca19167b17709645c 927s 1..1 927s # Start of glib tests 927s ok 1 /glib/relation 927s # End of glib tests 927s ok - glib/relation.test 927s # Running test: glib/gdbus-exit-on-close.test 927s TAP version 13 927s # random seed: R02S27020078dc02455a2e39c7a6afbbe85d 927s 1..4 927s # Start of gdbus tests 927s # Start of exit-on-close tests 927s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/default/.dirs/home 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/default/.dirs/cache 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/default/.dirs/system-config2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/default/.dirs/config 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/default/.dirs/system-data2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/default/.dirs/data 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/default/.dirs/state 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/default/.dirs/runtime 927s ok 1 /gdbus/exit-on-close/default 927s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/true/.dirs/home 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/true/.dirs/cache 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/true/.dirs/system-config2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/true/.dirs/config 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/true/.dirs/system-data2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/true/.dirs/data 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/true/.dirs/state 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/true/.dirs/runtime 927s ok 2 /gdbus/exit-on-close/true 927s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/false/.dirs/home 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/false/.dirs/cache 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/false/.dirs/system-config2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/false/.dirs/config 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/false/.dirs/system-data2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/false/.dirs/data 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/false/.dirs/state 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/false/.dirs/runtime 927s ok 3 /gdbus/exit-on-close/false 927s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/we-close/.dirs/home 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/we-close/.dirs/cache 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/we-close/.dirs/system-config2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/we-close/.dirs/config 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/we-close/.dirs/system-data2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/we-close/.dirs/data 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/we-close/.dirs/state 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_OFULK2/gdbus/exit-on-close/we-close/.dirs/runtime 927s ok 4 /gdbus/exit-on-close/we-close 927s # Start of default tests 927s # End of default tests 927s # Start of true tests 927s # End of true tests 927s # Start of false tests 927s # End of false tests 927s # Start of we-close tests 927s # End of we-close tests 927s # End of exit-on-close tests 927s # End of gdbus tests 927s ok - glib/gdbus-exit-on-close.test 927s # Running test: glib/filter-streams.test 927s TAP version 13 927s # random seed: R02S2b217aa7ae6992b81c0693ffdd939e58 927s 1..4 927s # Start of filter-stream tests 927s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 927s ok 1 /filter-stream/input 927s ok 2 /filter-stream/output 927s ok 3 /filter-stream/async-input 927s ok 4 /filter-stream/async-output 927s # End of filter-stream tests 927s ok - glib/filter-streams.test 927s # Running test: glib/readwrite.test 927s TAP version 13 927s # random seed: R02S04d4ba60753f0ef028e87bbcae3c133b 927s 1..3 927s # Start of readwrite tests 927s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 927s ok 1 /readwrite/test_g_file_open_readwrite 927s ok 2 /readwrite/test_g_file_create_readwrite 927s ok 3 /readwrite/test_g_file_replace_readwrite 927s # End of readwrite tests 927s ok - glib/readwrite.test 927s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 927s TAP version 13 927s # random seed: R02Sbcd68b4a33e35bdd79e51bb4e7c6ee13 927s 1..8 927s # Start of gdbus tests 927s # Start of codegen tests 927s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/annotations/.dirs/home 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/annotations/.dirs/cache 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/annotations/.dirs/system-config2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/annotations/.dirs/config 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/annotations/.dirs/system-data2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/annotations/.dirs/data 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/annotations/.dirs/state 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/annotations/.dirs/runtime 927s ok 1 /gdbus/codegen/annotations 927s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/interface_stability/.dirs/home 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/interface_stability/.dirs/cache 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/interface_stability/.dirs/system-config2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/interface_stability/.dirs/config 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/interface_stability/.dirs/system-data2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/interface_stability/.dirs/data 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/interface_stability/.dirs/state 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/interface_stability/.dirs/runtime 927s ok 2 /gdbus/codegen/interface_stability 927s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/object-manager/.dirs/home 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/object-manager/.dirs/cache 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/object-manager/.dirs/system-config2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/object-manager/.dirs/config 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/object-manager/.dirs/system-data2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/object-manager/.dirs/data 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/object-manager/.dirs/state 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/object-manager/.dirs/runtime 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s ok 3 /gdbus/codegen/object-manager 927s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/property-naming/.dirs/home 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/property-naming/.dirs/cache 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/property-naming/.dirs/system-config2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/property-naming/.dirs/config 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/property-naming/.dirs/system-data2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/property-naming/.dirs/data 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/property-naming/.dirs/state 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/property-naming/.dirs/runtime 927s ok 4 /gdbus/codegen/property-naming 927s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/autocleanups/.dirs/home 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/autocleanups/.dirs/cache 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/autocleanups/.dirs/system-config2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/autocleanups/.dirs/config 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/autocleanups/.dirs/system-data2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/autocleanups/.dirs/data 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/autocleanups/.dirs/state 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/autocleanups/.dirs/runtime 927s ok 5 /gdbus/codegen/autocleanups 927s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/deprecations/.dirs/home 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/deprecations/.dirs/cache 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/deprecations/.dirs/system-config2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/deprecations/.dirs/config 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/deprecations/.dirs/system-data2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/deprecations/.dirs/data 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/deprecations/.dirs/state 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/deprecations/.dirs/runtime 927s ok 6 /gdbus/codegen/deprecations 927s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/standalone-interface-info/.dirs/home 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/standalone-interface-info/.dirs/cache 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/standalone-interface-info/.dirs/config 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/standalone-interface-info/.dirs/data 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/standalone-interface-info/.dirs/state 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/standalone-interface-info/.dirs/runtime 927s ok 7 /gdbus/codegen/standalone-interface-info 927s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/unix-fd-list/.dirs/home 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/unix-fd-list/.dirs/cache 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/unix-fd-list/.dirs/system-config2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/unix-fd-list/.dirs/config 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/unix-fd-list/.dirs/system-data2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/unix-fd-list/.dirs/data 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/unix-fd-list/.dirs/state 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_SJA0K2/gdbus/codegen/unix-fd-list/.dirs/runtime 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 927s ok 8 /gdbus/codegen/unix-fd-list 927s # End of codegen tests 927s # End of gdbus tests 927s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 927s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 927s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 927s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 927s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 927s ok - glib/gdbus-test-codegen-min-required-2-64.test 927s # Running test: glib/slist.test 927s TAP version 13 927s # random seed: R02Saa05b69dd0932b6e815b58fdac84efb2 927s 1..14 927s # Start of slist tests 927s ok 1 /slist/sort 927s ok 2 /slist/sort-with-data 927s ok 3 /slist/insert-sorted 927s ok 4 /slist/insert-sorted-with-data 927s ok 5 /slist/reverse 927s ok 6 /slist/nth 927s ok 7 /slist/remove 927s ok 8 /slist/remove-all 927s ok 9 /slist/insert 927s ok 10 /slist/position 927s ok 11 /slist/concat 927s ok 12 /slist/copy 927s # Start of sort tests 927s ok 13 /slist/sort/stable 927s # End of sort tests 927s # Start of copy tests 927s ok 14 /slist/copy/deep 927s # End of copy tests 927s # End of slist tests 927s ok - glib/slist.test 927s # Running test: glib/regex.test 927s TAP version 13 927s # random seed: R02S934e26a92c2a4499b511d890f5eaa22d 927s 1..848 927s # Start of regex tests 927s ok 1 /regex/properties 927s ok 2 /regex/class 927s ok 3 /regex/lookahead 927s ok 4 /regex/lookbehind 927s ok 5 /regex/subpattern 927s ok 6 /regex/condition 927s ok 7 /regex/recursion 927s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 927s ok 8 /regex/multiline 927s ok 9 /regex/explicit-crlf 927s ok 10 /regex/max-lookbehind 927s ok 11 /regex/compile-errors 927s ok 12 /regex/jit-unsupported-matching 927s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 927s ok 13 /regex/unmatched-named-subpattern 927s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 927s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 928s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 928s ok 14 /regex/compiled-regex-after-jit-failure 928s # Start of new tests 928s ok 15 /regex/new/1 928s ok 16 /regex/new/2 928s ok 17 /regex/new/3 928s ok 18 /regex/new/4 928s ok 19 /regex/new/5 928s ok 20 /regex/new/6 928s ok 21 /regex/new/7 928s ok 22 /regex/new/8 928s ok 23 /regex/new/9 928s ok 24 /regex/new/10 928s ok 25 /regex/new/11 928s ok 26 /regex/new/12 928s ok 27 /regex/new/13 928s ok 28 /regex/new/14 928s ok 29 /regex/new/15 928s ok 30 /regex/new/16 928s ok 31 /regex/new/17 928s ok 32 /regex/new/18 928s ok 33 /regex/new/19 928s ok 34 /regex/new/71 928s ok 35 /regex/new/80 928s ok 36 /regex/new/82 928s # End of new tests 928s # Start of new-check-flags tests 928s ok 37 /regex/new-check-flags/20 928s ok 38 /regex/new-check-flags/21 928s ok 39 /regex/new-check-flags/22 928s ok 40 /regex/new-check-flags/23 928s ok 41 /regex/new-check-flags/24 928s ok 42 /regex/new-check-flags/25 928s ok 43 /regex/new-check-flags/26 928s ok 44 /regex/new-check-flags/27 928s ok 45 /regex/new-check-flags/28 928s ok 46 /regex/new-check-flags/29 928s ok 47 /regex/new-check-flags/30 928s ok 48 /regex/new-check-flags/31 928s ok 49 /regex/new-check-flags/32 928s ok 50 /regex/new-check-flags/33 928s ok 51 /regex/new-check-flags/34 928s ok 52 /regex/new-check-flags/35 928s ok 53 /regex/new-check-flags/36 928s # End of new-check-flags tests 928s # Start of new-fail tests 928s ok 54 /regex/new-fail/37 928s ok 55 /regex/new-fail/38 928s ok 56 /regex/new-fail/39 928s ok 57 /regex/new-fail/40 928s ok 58 /regex/new-fail/41 928s ok 59 /regex/new-fail/42 928s ok 60 /regex/new-fail/43 928s ok 61 /regex/new-fail/44 928s ok 62 /regex/new-fail/45 928s ok 63 /regex/new-fail/46 928s ok 64 /regex/new-fail/47 928s ok 65 /regex/new-fail/48 928s ok 66 /regex/new-fail/49 928s ok 67 /regex/new-fail/50 928s ok 68 /regex/new-fail/51 928s ok 69 /regex/new-fail/52 928s ok 70 /regex/new-fail/53 928s ok 71 /regex/new-fail/54 928s ok 72 /regex/new-fail/55 928s ok 73 /regex/new-fail/56 928s ok 74 /regex/new-fail/57 928s ok 75 /regex/new-fail/58 928s ok 76 /regex/new-fail/59 928s ok 77 /regex/new-fail/60 928s ok 78 /regex/new-fail/61 928s ok 79 /regex/new-fail/62 928s ok 80 /regex/new-fail/63 928s ok 81 /regex/new-fail/64 928s ok 82 /regex/new-fail/65 928s ok 83 /regex/new-fail/66 928s ok 84 /regex/new-fail/67 928s ok 85 /regex/new-fail/68 928s ok 86 /regex/new-fail/69 928s ok 87 /regex/new-fail/70 928s ok 88 /regex/new-fail/72 928s ok 89 /regex/new-fail/73 928s ok 90 /regex/new-fail/74 928s ok 91 /regex/new-fail/75 928s ok 92 /regex/new-fail/76 928s ok 93 /regex/new-fail/77 928s ok 94 /regex/new-fail/78 928s ok 95 /regex/new-fail/79 928s ok 96 /regex/new-fail/81 928s ok 97 /regex/new-fail/83 928s ok 98 /regex/new-fail/84 928s ok 99 /regex/new-fail/85 928s ok 100 /regex/new-fail/86 928s ok 101 /regex/new-fail/87 928s ok 102 /regex/new-fail/88 928s ok 103 /regex/new-fail/89 928s ok 104 /regex/new-fail/90 928s ok 105 /regex/new-fail/91 928s # End of new-fail tests 928s # Start of match-simple tests 928s ok 106 /regex/match-simple/92 928s ok 107 /regex/match-simple/93 928s ok 108 /regex/match-simple/94 928s ok 109 /regex/match-simple/95 928s ok 110 /regex/match-simple/96 928s ok 111 /regex/match-simple/97 928s ok 112 /regex/match-simple/98 928s ok 113 /regex/match-simple/99 928s ok 114 /regex/match-simple/100 928s ok 115 /regex/match-simple/101 928s ok 116 /regex/match-simple/102 928s ok 117 /regex/match-simple/103 928s ok 118 /regex/match-simple/104 928s ok 119 /regex/match-simple/105 928s ok 120 /regex/match-simple/106 928s ok 121 /regex/match-simple/107 928s ok 122 /regex/match-simple/108 928s ok 123 /regex/match-simple/109 928s ok 124 /regex/match-simple/110 928s ok 125 /regex/match-simple/111 928s ok 126 /regex/match-simple/112 928s ok 127 /regex/match-simple/113 928s ok 128 /regex/match-simple/114 928s ok 129 /regex/match-simple/115 928s ok 130 /regex/match-simple/116 928s ok 131 /regex/match-simple/117 928s ok 132 /regex/match-simple/118 928s ok 133 /regex/match-simple/119 928s ok 134 /regex/match-simple/120 928s ok 135 /regex/match-simple/121 928s ok 136 /regex/match-simple/122 928s ok 137 /regex/match-simple/123 928s ok 138 /regex/match-simple/124 928s ok 139 /regex/match-simple/125 928s ok 140 /regex/match-simple/126 928s ok 141 /regex/match-simple/127 928s ok 142 /regex/match-simple/128 928s ok 143 /regex/match-simple/129 928s ok 144 /regex/match-simple/130 928s ok 145 /regex/match-simple/131 928s ok 146 /regex/match-simple/132 928s ok 147 /regex/match-simple/133 928s ok 148 /regex/match-simple/134 928s ok 149 /regex/match-simple/135 928s ok 150 /regex/match-simple/136 928s ok 151 /regex/match-simple/137 928s ok 152 /regex/match-simple/138 928s ok 153 /regex/match-simple/139 928s ok 154 /regex/match-simple/140 928s ok 155 /regex/match-simple/141 928s ok 156 /regex/match-simple/142 928s ok 157 /regex/match-simple/143 928s ok 158 /regex/match-simple/144 928s ok 159 /regex/match-simple/145 928s ok 160 /regex/match-simple/146 928s ok 161 /regex/match-simple/147 928s ok 162 /regex/match-simple/148 928s ok 163 /regex/match-simple/149 928s ok 164 /regex/match-simple/150 928s ok 165 /regex/match-simple/151 928s ok 166 /regex/match-simple/152 928s ok 167 /regex/match-simple/153 928s ok 168 /regex/match-simple/154 928s ok 169 /regex/match-simple/155 928s ok 170 /regex/match-simple/156 928s ok 171 /regex/match-simple/157 928s ok 172 /regex/match-simple/158 928s ok 173 /regex/match-simple/159 928s ok 174 /regex/match-simple/160 928s ok 175 /regex/match-simple/161 928s ok 176 /regex/match-simple/162 928s ok 177 /regex/match-simple/163 928s ok 178 /regex/match-simple/164 928s # End of match-simple tests 928s # Start of match-simple-optimized tests 928s ok 179 /regex/match-simple-optimized/92 928s ok 180 /regex/match-simple-optimized/93 928s ok 181 /regex/match-simple-optimized/94 928s ok 182 /regex/match-simple-optimized/95 928s ok 183 /regex/match-simple-optimized/96 928s ok 184 /regex/match-simple-optimized/97 928s ok 185 /regex/match-simple-optimized/98 928s ok 186 /regex/match-simple-optimized/99 928s ok 187 /regex/match-simple-optimized/100 928s ok 188 /regex/match-simple-optimized/101 928s ok 189 /regex/match-simple-optimized/102 928s ok 190 /regex/match-simple-optimized/103 928s ok 191 /regex/match-simple-optimized/104 928s ok 192 /regex/match-simple-optimized/105 928s ok 193 /regex/match-simple-optimized/106 928s ok 194 /regex/match-simple-optimized/107 928s ok 195 /regex/match-simple-optimized/108 928s ok 196 /regex/match-simple-optimized/109 928s ok 197 /regex/match-simple-optimized/110 928s ok 198 /regex/match-simple-optimized/111 928s ok 199 /regex/match-simple-optimized/112 928s ok 200 /regex/match-simple-optimized/113 928s ok 201 /regex/match-simple-optimized/114 928s ok 202 /regex/match-simple-optimized/115 928s ok 203 /regex/match-simple-optimized/116 928s ok 204 /regex/match-simple-optimized/117 928s ok 205 /regex/match-simple-optimized/118 928s ok 206 /regex/match-simple-optimized/119 928s ok 207 /regex/match-simple-optimized/120 928s ok 208 /regex/match-simple-optimized/121 928s ok 209 /regex/match-simple-optimized/122 928s ok 210 /regex/match-simple-optimized/123 928s ok 211 /regex/match-simple-optimized/124 928s ok 212 /regex/match-simple-optimized/125 928s ok 213 /regex/match-simple-optimized/126 928s ok 214 /regex/match-simple-optimized/127 928s ok 215 /regex/match-simple-optimized/128 928s ok 216 /regex/match-simple-optimized/129 928s ok 217 /regex/match-simple-optimized/130 928s ok 218 /regex/match-simple-optimized/131 928s ok 219 /regex/match-simple-optimized/132 928s ok 220 /regex/match-simple-optimized/133 928s ok 221 /regex/match-simple-optimized/134 928s ok 222 /regex/match-simple-optimized/135 928s ok 223 /regex/match-simple-optimized/136 928s ok 224 /regex/match-simple-optimized/137 928s ok 225 /regex/match-simple-optimized/138 928s ok 226 /regex/match-simple-optimized/139 928s ok 227 /regex/match-simple-optimized/140 928s ok 228 /regex/match-simple-optimized/141 928s ok 229 /regex/match-simple-optimized/142 928s ok 230 /regex/match-simple-optimized/143 928s ok 231 /regex/match-simple-optimized/144 928s ok 232 /regex/match-simple-optimized/145 928s ok 233 /regex/match-simple-optimized/146 928s ok 234 /regex/match-simple-optimized/147 928s ok 235 /regex/match-simple-optimized/148 928s ok 236 /regex/match-simple-optimized/149 928s ok 237 /regex/match-simple-optimized/150 928s ok 238 /regex/match-simple-optimized/151 928s ok 239 /regex/match-simple-optimized/152 928s ok 240 /regex/match-simple-optimized/153 928s ok 241 /regex/match-simple-optimized/154 928s ok 242 /regex/match-simple-optimized/155 928s ok 243 /regex/match-simple-optimized/156 928s ok 244 /regex/match-simple-optimized/157 928s ok 245 /regex/match-simple-optimized/158 928s ok 246 /regex/match-simple-optimized/159 928s ok 247 /regex/match-simple-optimized/160 928s ok 248 /regex/match-simple-optimized/161 928s ok 249 /regex/match-simple-optimized/162 928s ok 250 /regex/match-simple-optimized/163 928s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 928s ok 251 /regex/match-simple-optimized/164 928s # End of match-simple-optimized tests 928s # Start of match tests 928s ok 252 /regex/match/165 928s ok 253 /regex/match/166 928s ok 254 /regex/match/167 928s ok 255 /regex/match/168 928s ok 256 /regex/match/169 928s ok 257 /regex/match/170 928s ok 258 /regex/match/171 928s ok 259 /regex/match/172 928s ok 260 /regex/match/173 928s ok 261 /regex/match/174 928s ok 262 /regex/match/175 928s ok 263 /regex/match/176 928s ok 264 /regex/match/177 928s ok 265 /regex/match/178 928s ok 266 /regex/match/179 928s ok 267 /regex/match/180 928s ok 268 /regex/match/181 928s ok 269 /regex/match/182 928s ok 270 /regex/match/183 928s ok 271 /regex/match/184 928s ok 272 /regex/match/185 928s ok 273 /regex/match/186 928s ok 274 /regex/match/187 928s ok 275 /regex/match/188 928s ok 276 /regex/match/189 928s ok 277 /regex/match/190 928s ok 278 /regex/match/191 928s ok 279 /regex/match/192 928s ok 280 /regex/match/193 928s ok 281 /regex/match/194 928s ok 282 /regex/match/195 928s ok 283 /regex/match/196 928s ok 284 /regex/match/197 928s ok 285 /regex/match/198 928s ok 286 /regex/match/199 928s ok 287 /regex/match/200 928s ok 288 /regex/match/201 928s ok 289 /regex/match/202 928s ok 290 /regex/match/203 928s ok 291 /regex/match/204 928s ok 292 /regex/match/205 928s ok 293 /regex/match/206 928s ok 294 /regex/match/207 928s ok 295 /regex/match/208 928s ok 296 /regex/match/209 928s ok 297 /regex/match/210 928s ok 298 /regex/match/211 928s ok 299 /regex/match/212 928s ok 300 /regex/match/213 928s ok 301 /regex/match/214 928s ok 302 /regex/match/215 928s ok 303 /regex/match/216 928s ok 304 /regex/match/217 928s ok 305 /regex/match/218 928s ok 306 /regex/match/219 928s ok 307 /regex/match/220 928s ok 308 /regex/match/221 928s ok 309 /regex/match/222 928s ok 310 /regex/match/223 928s ok 311 /regex/match/224 928s ok 312 /regex/match/225 928s ok 313 /regex/match/226 928s ok 314 /regex/match/227 928s ok 315 /regex/match/228 928s ok 316 /regex/match/229 928s ok 317 /regex/match/230 928s ok 318 /regex/match/231 928s ok 319 /regex/match/232 928s ok 320 /regex/match/233 928s ok 321 /regex/match/234 928s ok 322 /regex/match/235 928s ok 323 /regex/match/236 928s ok 324 /regex/match/237 928s ok 325 /regex/match/238 928s ok 326 /regex/match/239 928s ok 327 /regex/match/240 928s ok 328 /regex/match/241 928s ok 329 /regex/match/242 928s ok 330 /regex/match/243 928s ok 331 /regex/match/244 928s ok 332 /regex/match/245 928s ok 333 /regex/match/246 928s ok 334 /regex/match/partial281 928s ok 335 /regex/match/partial282 928s ok 336 /regex/match/partial283 928s ok 337 /regex/match/partial284 928s ok 338 /regex/match/partial285 928s ok 339 /regex/match/partial286 928s ok 340 /regex/match/partial287 928s ok 341 /regex/match/partial288 928s ok 342 /regex/match/partial289 928s ok 343 /regex/match/partial290 928s ok 344 /regex/match/partial291 928s ok 345 /regex/match/partial292 928s ok 346 /regex/match/partial293 928s ok 347 /regex/match/partial294 928s ok 348 /regex/match/partial295 928s ok 349 /regex/match/partial296 928s ok 350 /regex/match/partial297 928s ok 351 /regex/match/partial298 928s ok 352 /regex/match/partial299 928s ok 353 /regex/match/partial300 928s ok 354 /regex/match/partial301 928s ok 355 /regex/match/partial302 928s # Start of next0 tests 928s ok 356 /regex/match/next0/247 928s ok 357 /regex/match/next0/248 928s ok 358 /regex/match/next0/249 928s ok 359 /regex/match/next0/250 928s # End of next0 tests 928s # Start of next1 tests 928s ok 360 /regex/match/next1/251 928s ok 361 /regex/match/next1/252 928s ok 362 /regex/match/next1/253 928s ok 363 /regex/match/next1/254 928s ok 364 /regex/match/next1/255 928s # End of next1 tests 928s # Start of next2 tests 928s ok 365 /regex/match/next2/256 928s ok 366 /regex/match/next2/257 928s ok 367 /regex/match/next2/258 928s ok 368 /regex/match/next2/259 928s ok 369 /regex/match/next2/260 928s ok 370 /regex/match/next2/261 928s ok 371 /regex/match/next2/262 928s ok 372 /regex/match/next2/263 928s # End of next2 tests 928s # Start of next3 tests 928s ok 373 /regex/match/next3/264 928s ok 374 /regex/match/next3/265 928s ok 375 /regex/match/next3/266 928s ok 376 /regex/match/next3/267 928s ok 377 /regex/match/next3/268 928s ok 378 /regex/match/next3/269 928s # End of next3 tests 928s # Start of next4 tests 928s ok 379 /regex/match/next4/270 928s # End of next4 tests 928s # Start of count tests 928s ok 380 /regex/match/count/271 928s ok 381 /regex/match/count/272 928s ok 382 /regex/match/count/273 928s ok 383 /regex/match/count/274 928s ok 384 /regex/match/count/275 928s ok 385 /regex/match/count/276 928s ok 386 /regex/match/count/277 928s ok 387 /regex/match/count/278 928s ok 388 /regex/match/count/279 928s ok 389 /regex/match/count/280 928s # End of count tests 928s # Start of count-optimized tests 928s ok 390 /regex/match/count-optimized/271 928s ok 391 /regex/match/count-optimized/272 928s ok 392 /regex/match/count-optimized/273 928s ok 393 /regex/match/count-optimized/274 928s ok 394 /regex/match/count-optimized/275 928s ok 395 /regex/match/count-optimized/276 928s ok 396 /regex/match/count-optimized/277 928s ok 397 /regex/match/count-optimized/278 928s ok 398 /regex/match/count-optimized/279 928s ok 399 /regex/match/count-optimized/280 928s # End of count-optimized tests 928s # Start of partial-optimized tests 928s ok 400 /regex/match/partial-optimized/281 928s ok 401 /regex/match/partial-optimized/282 928s ok 402 /regex/match/partial-optimized/283 928s ok 403 /regex/match/partial-optimized/284 928s ok 404 /regex/match/partial-optimized/285 928s ok 405 /regex/match/partial-optimized/286 928s ok 406 /regex/match/partial-optimized/287 928s ok 407 /regex/match/partial-optimized/288 928s ok 408 /regex/match/partial-optimized/289 928s ok 409 /regex/match/partial-optimized/290 928s ok 410 /regex/match/partial-optimized/291 928s ok 411 /regex/match/partial-optimized/292 928s ok 412 /regex/match/partial-optimized/293 928s ok 413 /regex/match/partial-optimized/294 928s ok 414 /regex/match/partial-optimized/295 928s ok 415 /regex/match/partial-optimized/296 928s ok 416 /regex/match/partial-optimized/297 928s ok 417 /regex/match/partial-optimized/298 928s ok 418 /regex/match/partial-optimized/299 928s ok 419 /regex/match/partial-optimized/300 928s ok 420 /regex/match/partial-optimized/301 928s ok 421 /regex/match/partial-optimized/302 928s # End of partial-optimized tests 928s # Start of subpattern tests 928s ok 422 /regex/match/subpattern/303 928s ok 423 /regex/match/subpattern/304 928s ok 424 /regex/match/subpattern/305 928s ok 425 /regex/match/subpattern/306 928s ok 426 /regex/match/subpattern/307 928s ok 427 /regex/match/subpattern/308 928s ok 428 /regex/match/subpattern/309 928s ok 429 /regex/match/subpattern/310 928s ok 430 /regex/match/subpattern/311 928s ok 431 /regex/match/subpattern/312 928s ok 432 /regex/match/subpattern/313 928s ok 433 /regex/match/subpattern/314 928s ok 434 /regex/match/subpattern/315 928s # Start of named tests 928s # Start of dupnames tests 928s ok 435 /regex/match/subpattern/named/dupnames/325 928s ok 436 /regex/match/subpattern/named/dupnames/326 928s ok 437 /regex/match/subpattern/named/dupnames/327 928s ok 438 /regex/match/subpattern/named/dupnames/328 928s ok 439 /regex/match/subpattern/named/dupnames/329 928s # End of dupnames tests 928s # End of named tests 928s # End of subpattern tests 928s # Start of subpattern-optimized tests 928s ok 440 /regex/match/subpattern-optimized/303 928s ok 441 /regex/match/subpattern-optimized/304 928s ok 442 /regex/match/subpattern-optimized/305 928s ok 443 /regex/match/subpattern-optimized/306 928s ok 444 /regex/match/subpattern-optimized/307 928s ok 445 /regex/match/subpattern-optimized/308 928s ok 446 /regex/match/subpattern-optimized/309 928s ok 447 /regex/match/subpattern-optimized/310 928s ok 448 /regex/match/subpattern-optimized/311 928s ok 449 /regex/match/subpattern-optimized/312 928s ok 450 /regex/match/subpattern-optimized/313 928s ok 451 /regex/match/subpattern-optimized/314 928s ok 452 /regex/match/subpattern-optimized/315 928s # End of subpattern-optimized tests 928s # Start of named tests 928s # Start of subpattern tests 928s ok 453 /regex/match/named/subpattern/316 928s ok 454 /regex/match/named/subpattern/317 928s ok 455 /regex/match/named/subpattern/318 928s ok 456 /regex/match/named/subpattern/319 928s ok 457 /regex/match/named/subpattern/320 928s ok 458 /regex/match/named/subpattern/321 928s ok 459 /regex/match/named/subpattern/322 928s ok 460 /regex/match/named/subpattern/323 928s ok 461 /regex/match/named/subpattern/324 928s ok 462 /regex/match/named/subpattern/330 928s ok 463 /regex/match/named/subpattern/331 928s ok 464 /regex/match/named/subpattern/332 928s ok 465 /regex/match/named/subpattern/333 928s ok 466 /regex/match/named/subpattern/334 928s # End of subpattern tests 928s # End of named tests 928s # End of match tests 928s # Start of match-optimized tests 928s ok 467 /regex/match-optimized/165 928s ok 468 /regex/match-optimized/166 928s ok 469 /regex/match-optimized/167 928s ok 470 /regex/match-optimized/168 928s ok 471 /regex/match-optimized/169 928s ok 472 /regex/match-optimized/170 928s ok 473 /regex/match-optimized/171 928s ok 474 /regex/match-optimized/172 928s ok 475 /regex/match-optimized/173 928s ok 476 /regex/match-optimized/174 928s ok 477 /regex/match-optimized/175 928s ok 478 /regex/match-optimized/176 928s ok 479 /regex/match-optimized/177 928s ok 480 /regex/match-optimized/178 928s ok 481 /regex/match-optimized/179 928s ok 482 /regex/match-optimized/180 928s ok 483 /regex/match-optimized/181 928s ok 484 /regex/match-optimized/182 928s ok 485 /regex/match-optimized/183 928s ok 486 /regex/match-optimized/184 928s ok 487 /regex/match-optimized/185 928s ok 488 /regex/match-optimized/186 928s ok 489 /regex/match-optimized/187 928s ok 490 /regex/match-optimized/188 928s ok 491 /regex/match-optimized/189 928s ok 492 /regex/match-optimized/190 928s ok 493 /regex/match-optimized/191 928s ok 494 /regex/match-optimized/192 928s ok 495 /regex/match-optimized/193 928s ok 496 /regex/match-optimized/194 928s ok 497 /regex/match-optimized/195 928s ok 498 /regex/match-optimized/196 928s ok 499 /regex/match-optimized/197 928s ok 500 /regex/match-optimized/198 928s ok 501 /regex/match-optimized/199 928s ok 502 /regex/match-optimized/200 928s ok 503 /regex/match-optimized/201 928s ok 504 /regex/match-optimized/202 928s ok 505 /regex/match-optimized/203 928s ok 506 /regex/match-optimized/204 928s ok 507 /regex/match-optimized/205 928s ok 508 /regex/match-optimized/206 928s ok 509 /regex/match-optimized/207 928s ok 510 /regex/match-optimized/208 928s ok 511 /regex/match-optimized/209 928s ok 512 /regex/match-optimized/210 928s ok 513 /regex/match-optimized/211 928s ok 514 /regex/match-optimized/212 928s ok 515 /regex/match-optimized/213 928s ok 516 /regex/match-optimized/214 928s ok 517 /regex/match-optimized/215 928s ok 518 /regex/match-optimized/216 928s ok 519 /regex/match-optimized/217 928s ok 520 /regex/match-optimized/218 928s ok 521 /regex/match-optimized/219 928s ok 522 /regex/match-optimized/220 928s ok 523 /regex/match-optimized/221 928s ok 524 /regex/match-optimized/222 928s ok 525 /regex/match-optimized/223 928s ok 526 /regex/match-optimized/224 928s ok 527 /regex/match-optimized/225 928s ok 528 /regex/match-optimized/226 928s ok 529 /regex/match-optimized/227 928s ok 530 /regex/match-optimized/228 928s ok 531 /regex/match-optimized/229 928s ok 532 /regex/match-optimized/230 928s ok 533 /regex/match-optimized/231 928s ok 534 /regex/match-optimized/232 928s ok 535 /regex/match-optimized/233 928s ok 536 /regex/match-optimized/234 928s ok 537 /regex/match-optimized/235 928s ok 538 /regex/match-optimized/236 928s ok 539 /regex/match-optimized/237 928s ok 540 /regex/match-optimized/238 928s ok 541 /regex/match-optimized/239 928s ok 542 /regex/match-optimized/240 928s ok 543 /regex/match-optimized/241 928s ok 544 /regex/match-optimized/242 928s ok 545 /regex/match-optimized/243 928s ok 546 /regex/match-optimized/244 928s ok 547 /regex/match-optimized/245 928s ok 548 /regex/match-optimized/246 928s # End of match-optimized tests 928s # Start of fetch-all0 tests 928s ok 549 /regex/fetch-all0/335 928s ok 550 /regex/fetch-all0/336 928s # End of fetch-all0 tests 928s # Start of fetch-all1 tests 928s ok 551 /regex/fetch-all1/337 928s ok 552 /regex/fetch-all1/338 928s ok 553 /regex/fetch-all1/339 928s # End of fetch-all1 tests 928s # Start of fetch-all2 tests 928s ok 554 /regex/fetch-all2/340 928s ok 555 /regex/fetch-all2/341 928s ok 556 /regex/fetch-all2/342 928s # End of fetch-all2 tests 928s # Start of fetch-all3 tests 928s ok 557 /regex/fetch-all3/343 928s ok 558 /regex/fetch-all3/344 928s ok 559 /regex/fetch-all3/345 928s ok 560 /regex/fetch-all3/346 928s ok 561 /regex/fetch-all3/347 928s # End of fetch-all3 tests 928s # Start of split tests 928s # Start of simple0 tests 928s ok 562 /regex/split/simple0/348 928s ok 563 /regex/split/simple0/349 928s ok 564 /regex/split/simple0/364 928s ok 565 /regex/split/simple0/365 928s # End of simple0 tests 928s # Start of simple1 tests 928s ok 566 /regex/split/simple1/350 928s ok 567 /regex/split/simple1/351 928s # End of simple1 tests 928s # Start of simple2 tests 928s ok 568 /regex/split/simple2/352 928s ok 569 /regex/split/simple2/358 928s ok 570 /regex/split/simple2/360 928s # End of simple2 tests 928s # Start of simple3 tests 928s ok 571 /regex/split/simple3/353 928s ok 572 /regex/split/simple3/354 928s ok 573 /regex/split/simple3/355 928s ok 574 /regex/split/simple3/356 928s ok 575 /regex/split/simple3/357 928s ok 576 /regex/split/simple3/359 928s ok 577 /regex/split/simple3/361 928s ok 578 /regex/split/simple3/362 928s ok 579 /regex/split/simple3/363 928s # End of simple3 tests 928s # End of split tests 928s # Start of split0 tests 928s ok 580 /regex/split0/366 928s ok 581 /regex/split0/368 928s # End of split0 tests 928s # Start of full-split0 tests 928s ok 582 /regex/full-split0/367 928s ok 583 /regex/full-split0/369 928s ok 584 /regex/full-split0/370 928s ok 585 /regex/full-split0/371 928s ok 586 /regex/full-split0/372 928s # End of full-split0 tests 928s # Start of split1 tests 928s ok 587 /regex/split1/373 928s ok 588 /regex/split1/376 928s # End of split1 tests 928s # Start of full-split1 tests 928s ok 589 /regex/full-split1/374 928s ok 590 /regex/full-split1/375 928s ok 591 /regex/full-split1/377 928s ok 592 /regex/full-split1/378 928s ok 593 /regex/full-split1/404 928s # End of full-split1 tests 928s # Start of split2 tests 928s ok 594 /regex/split2/379 928s ok 595 /regex/split2/383 928s ok 596 /regex/split2/395 928s # End of split2 tests 928s # Start of full-split2 tests 928s ok 597 /regex/full-split2/380 928s ok 598 /regex/full-split2/381 928s ok 599 /regex/full-split2/382 928s ok 600 /regex/full-split2/384 928s ok 601 /regex/full-split2/396 928s ok 602 /regex/full-split2/399 928s ok 603 /regex/full-split2/405 928s # End of full-split2 tests 928s # Start of split3 tests 928s ok 604 /regex/split3/385 928s ok 605 /regex/split3/387 928s ok 606 /regex/split3/389 928s ok 607 /regex/split3/391 928s ok 608 /regex/split3/393 928s ok 609 /regex/split3/397 928s ok 610 /regex/split3/400 928s ok 611 /regex/split3/402 928s # End of split3 tests 928s # Start of full-split3 tests 928s ok 612 /regex/full-split3/386 928s ok 613 /regex/full-split3/388 928s ok 614 /regex/full-split3/390 928s ok 615 /regex/full-split3/392 928s ok 616 /regex/full-split3/394 928s ok 617 /regex/full-split3/398 928s ok 618 /regex/full-split3/401 928s ok 619 /regex/full-split3/403 928s ok 620 /regex/full-split3/406 928s ok 621 /regex/full-split3/407 928s # End of full-split3 tests 928s # Start of check-repacement tests 928s ok 622 /regex/check-repacement/408 928s ok 623 /regex/check-repacement/409 928s ok 624 /regex/check-repacement/410 928s ok 625 /regex/check-repacement/411 928s ok 626 /regex/check-repacement/412 928s ok 627 /regex/check-repacement/413 928s ok 628 /regex/check-repacement/414 928s ok 629 /regex/check-repacement/415 928s # End of check-repacement tests 928s # Start of expand tests 928s ok 630 /regex/expand/416 928s ok 631 /regex/expand/417 928s ok 632 /regex/expand/418 928s ok 633 /regex/expand/419 928s ok 634 /regex/expand/420 928s ok 635 /regex/expand/421 928s ok 636 /regex/expand/422 928s ok 637 /regex/expand/423 928s ok 638 /regex/expand/424 928s ok 639 /regex/expand/425 928s ok 640 /regex/expand/426 928s ok 641 /regex/expand/427 928s ok 642 /regex/expand/428 928s ok 643 /regex/expand/429 928s ok 644 /regex/expand/430 928s ok 645 /regex/expand/431 928s ok 646 /regex/expand/432 928s ok 647 /regex/expand/433 928s ok 648 /regex/expand/434 928s ok 649 /regex/expand/435 928s ok 650 /regex/expand/436 928s ok 651 /regex/expand/437 928s ok 652 /regex/expand/438 928s ok 653 /regex/expand/439 928s ok 654 /regex/expand/440 928s ok 655 /regex/expand/441 928s ok 656 /regex/expand/442 928s ok 657 /regex/expand/443 928s ok 658 /regex/expand/444 928s ok 659 /regex/expand/445 928s ok 660 /regex/expand/446 928s ok 661 /regex/expand/447 928s ok 662 /regex/expand/448 928s ok 663 /regex/expand/449 928s ok 664 /regex/expand/450 928s ok 665 /regex/expand/451 928s ok 666 /regex/expand/452 928s ok 667 /regex/expand/453 928s ok 668 /regex/expand/454 928s ok 669 /regex/expand/455 928s ok 670 /regex/expand/456 928s ok 671 /regex/expand/457 928s ok 672 /regex/expand/458 928s ok 673 /regex/expand/459 928s ok 674 /regex/expand/460 928s ok 675 /regex/expand/461 928s ok 676 /regex/expand/462 928s ok 677 /regex/expand/463 928s ok 678 /regex/expand/464 928s ok 679 /regex/expand/465 928s ok 680 /regex/expand/466 928s ok 681 /regex/expand/467 928s ok 682 /regex/expand/468 928s ok 683 /regex/expand/469 928s ok 684 /regex/expand/470 928s ok 685 /regex/expand/471 928s ok 686 /regex/expand/472 928s ok 687 /regex/expand/473 928s ok 688 /regex/expand/474 928s ok 689 /regex/expand/475 928s ok 690 /regex/expand/476 928s ok 691 /regex/expand/477 928s ok 692 /regex/expand/478 928s ok 693 /regex/expand/479 928s ok 694 /regex/expand/480 928s ok 695 /regex/expand/481 928s # End of expand tests 928s # Start of replace tests 928s ok 696 /regex/replace/482 928s ok 697 /regex/replace/483 928s ok 698 /regex/replace/484 928s ok 699 /regex/replace/485 928s ok 700 /regex/replace/486 928s ok 701 /regex/replace/487 928s ok 702 /regex/replace/488 928s ok 703 /regex/replace/489 928s ok 704 /regex/replace/490 928s ok 705 /regex/replace/491 928s ok 706 /regex/replace/492 928s ok 707 /regex/replace/493 928s ok 708 /regex/replace/494 928s ok 709 /regex/replace/495 928s ok 710 /regex/replace/496 928s ok 711 /regex/replace/497 928s ok 712 /regex/replace/498 928s ok 713 /regex/replace/499 928s ok 714 /regex/replace/500 928s ok 715 /regex/replace/501 928s ok 716 /regex/replace/502 928s ok 717 /regex/replace/503 928s ok 718 /regex/replace/504 928s ok 719 /regex/replace/505 928s ok 720 /regex/replace/506 928s ok 721 /regex/replace/507 928s ok 722 /regex/replace/508 928s ok 723 /regex/replace/509 928s # End of replace tests 928s # Start of replace-optimized tests 928s ok 724 /regex/replace-optimized/482 928s ok 725 /regex/replace-optimized/483 928s ok 726 /regex/replace-optimized/484 928s ok 727 /regex/replace-optimized/485 928s ok 728 /regex/replace-optimized/486 928s ok 729 /regex/replace-optimized/487 928s ok 730 /regex/replace-optimized/488 928s ok 731 /regex/replace-optimized/489 928s ok 732 /regex/replace-optimized/490 928s ok 733 /regex/replace-optimized/491 928s ok 734 /regex/replace-optimized/492 928s ok 735 /regex/replace-optimized/493 928s ok 736 /regex/replace-optimized/494 928s ok 737 /regex/replace-optimized/495 928s ok 738 /regex/replace-optimized/496 928s ok 739 /regex/replace-optimized/497 928s ok 740 /regex/replace-optimized/498 928s ok 741 /regex/replace-optimized/499 928s ok 742 /regex/replace-optimized/500 928s ok 743 /regex/replace-optimized/501 928s ok 744 /regex/replace-optimized/502 928s ok 745 /regex/replace-optimized/503 928s ok 746 /regex/replace-optimized/504 928s ok 747 /regex/replace-optimized/505 928s ok 748 /regex/replace-optimized/506 928s ok 749 /regex/replace-optimized/507 928s ok 750 /regex/replace-optimized/508 928s ok 751 /regex/replace-optimized/509 928s # End of replace-optimized tests 928s # Start of replace-literally tests 928s ok 752 /regex/replace-literally/510 928s ok 753 /regex/replace-literally/511 928s ok 754 /regex/replace-literally/512 928s ok 755 /regex/replace-literally/513 928s ok 756 /regex/replace-literally/514 928s ok 757 /regex/replace-literally/515 928s ok 758 /regex/replace-literally/516 928s ok 759 /regex/replace-literally/517 928s ok 760 /regex/replace-literally/518 928s ok 761 /regex/replace-literally/519 928s ok 762 /regex/replace-literally/520 928s ok 763 /regex/replace-literally/521 928s ok 764 /regex/replace-literally/522 928s ok 765 /regex/replace-literally/523 928s ok 766 /regex/replace-literally/524 928s ok 767 /regex/replace-literally/525 928s ok 768 /regex/replace-literally/526 928s ok 769 /regex/replace-literally/527 928s ok 770 /regex/replace-literally/528 928s ok 771 /regex/replace-literally/529 928s # End of replace-literally tests 928s # Start of string-number tests 928s ok 772 /regex/string-number/530 928s ok 773 /regex/string-number/531 928s ok 774 /regex/string-number/532 928s ok 775 /regex/string-number/533 928s ok 776 /regex/string-number/534 928s ok 777 /regex/string-number/535 928s ok 778 /regex/string-number/536 928s ok 779 /regex/string-number/537 928s ok 780 /regex/string-number/538 928s ok 781 /regex/string-number/539 928s ok 782 /regex/string-number/540 928s ok 783 /regex/string-number/541 928s ok 784 /regex/string-number/542 928s ok 785 /regex/string-number/543 928s ok 786 /regex/string-number/544 928s # End of string-number tests 928s # Start of escape_nul tests 928s ok 787 /regex/escape_nul/545 928s ok 788 /regex/escape_nul/546 928s ok 789 /regex/escape_nul/547 928s ok 790 /regex/escape_nul/548 928s ok 791 /regex/escape_nul/549 928s ok 792 /regex/escape_nul/550 928s ok 793 /regex/escape_nul/551 928s ok 794 /regex/escape_nul/552 928s ok 795 /regex/escape_nul/553 928s ok 796 /regex/escape_nul/554 928s ok 797 /regex/escape_nul/555 928s ok 798 /regex/escape_nul/556 928s ok 799 /regex/escape_nul/557 928s ok 800 /regex/escape_nul/558 928s ok 801 /regex/escape_nul/559 928s # End of escape_nul tests 928s # Start of escape tests 928s ok 802 /regex/escape/560 928s ok 803 /regex/escape/561 928s ok 804 /regex/escape/562 928s ok 805 /regex/escape/563 928s ok 806 /regex/escape/564 928s ok 807 /regex/escape/565 928s ok 808 /regex/escape/566 928s ok 809 /regex/escape/567 928s ok 810 /regex/escape/568 928s ok 811 /regex/escape/569 928s ok 812 /regex/escape/570 928s ok 813 /regex/escape/571 928s ok 814 /regex/escape/572 928s ok 815 /regex/escape/573 928s ok 816 /regex/escape/574 928s ok 817 /regex/escape/575 928s ok 818 /regex/escape/576 928s ok 819 /regex/escape/577 928s # End of escape tests 928s # Start of match-all0 tests 928s ok 820 /regex/match-all0/578 928s ok 821 /regex/match-all0/580 928s # End of match-all0 tests 928s # Start of match-all-full0 tests 928s ok 822 /regex/match-all-full0/579 928s ok 823 /regex/match-all-full0/581 928s ok 824 /regex/match-all-full0/582 928s ok 825 /regex/match-all-full0/583 928s # End of match-all-full0 tests 928s # Start of match-all1 tests 928s ok 826 /regex/match-all1/584 928s ok 827 /regex/match-all1/586 928s ok 828 /regex/match-all1/591 928s # End of match-all1 tests 928s # Start of match-all-full1 tests 928s ok 829 /regex/match-all-full1/585 928s ok 830 /regex/match-all-full1/587 928s ok 831 /regex/match-all-full1/588 928s ok 832 /regex/match-all-full1/589 928s ok 833 /regex/match-all-full1/590 928s ok 834 /regex/match-all-full1/592 928s # End of match-all-full1 tests 928s # Start of match-all2 tests 928s ok 835 /regex/match-all2/593 928s ok 836 /regex/match-all2/595 928s ok 837 /regex/match-all2/597 928s # End of match-all2 tests 928s # Start of match-all-full2 tests 928s ok 838 /regex/match-all-full2/594 928s ok 839 /regex/match-all-full2/596 928s ok 840 /regex/match-all-full2/598 928s # End of match-all-full2 tests 928s # Start of match-all3 tests 928s ok 841 /regex/match-all3/599 928s ok 842 /regex/match-all3/601 928s # End of match-all3 tests 928s # Start of match-all-full3 tests 928s ok 843 /regex/match-all-full3/600 928s ok 844 /regex/match-all-full3/602 928s # End of match-all-full3 tests 928s # Start of match-notempty tests 928s ok 845 /regex/match-notempty/603 928s # End of match-notempty tests 928s # Start of match-notempty-optimized tests 928s ok 846 /regex/match-notempty-optimized/603 928s # End of match-notempty-optimized tests 928s # Start of match-notempty-atstart tests 928s ok 847 /regex/match-notempty-atstart/604 928s # End of match-notempty-atstart tests 928s # Start of match-notempty-atstart-optimized tests 928s ok 848 /regex/match-notempty-atstart-optimized/604 928s # End of match-notempty-atstart-optimized tests 928s # End of regex tests 928s ok - glib/regex.test 928s # Running test: glib/mutex.test 928s TAP version 13 928s # random seed: R02S3df94f2e648055bca1ea7741e49ad693 928s 1..17 928s # Start of thread tests 928s ok 1 /thread/mutex1 928s ok 2 /thread/mutex2 928s ok 3 /thread/mutex3 928s ok 4 /thread/mutex4 930s # Executing: glib/mutex.test 932s ok 5 /thread/mutex5 932s # slow test /thread/mutex5 executed in 4.23 secs 932s # Start of mutex tests 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # /thread/mutex/errno summary: Validates that errno is not touched upon return 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 933s ok 6 /thread/mutex/errno 933s # slow test /thread/mutex/errno executed in 0.91 secs 933s # Start of perf tests 933s # max perf: 0.500000 mips 933s ok 7 /thread/mutex/perf/uncontended 933s # Start of contended tests 933s # max perf: 2.000000 mips 933s ok 8 /thread/mutex/perf/contended/1 933s # max perf: 1.000000 mips 933s ok 9 /thread/mutex/perf/contended/2 933s # max perf: 0.666667 mips 933s ok 10 /thread/mutex/perf/contended/3 933s # max perf: 0.833333 mips 933s ok 11 /thread/mutex/perf/contended/4 933s # max perf: 1.200000 mips 933s ok 12 /thread/mutex/perf/contended/5 933s # max perf: 0.875000 mips 933s ok 13 /thread/mutex/perf/contended/6 933s # max perf: 1.600000 mips 933s ok 14 /thread/mutex/perf/contended/7 933s # max perf: 0.642857 mips 933s ok 15 /thread/mutex/perf/contended/8 933s # max perf: 0.909091 mips 933s ok 16 /thread/mutex/perf/contended/9 933s # max perf: 3.666667 mips 933s ok 17 /thread/mutex/perf/contended/10 933s # End of contended tests 933s # End of perf tests 933s # End of mutex tests 933s # End of thread tests 933s ok - glib/mutex.test 933s # Running test: glib/task.test 933s TAP version 13 933s # random seed: R02S9b7d23ff314ef306064927fa1e407f6d 933s 1..36 933s # Start of gtask tests 933s ok 1 /gtask/basic 933s ok 2 /gtask/error 933s ok 3 /gtask/error-literal 933s ok 4 /gtask/error-literal-from-variable 933s ok 5 /gtask/return-from-same-iteration 933s ok 6 /gtask/return-from-toplevel 933s ok 7 /gtask/return-from-anon-thread 933s ok 8 /gtask/return-from-wrong-thread 933s ok 9 /gtask/no-callback 933s ok 10 /gtask/report-error 933s ok 11 /gtask/priority 933s ok 12 /gtask/name 933s ok 13 /gtask/static-name 933s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 933s ok 14 /gtask/asynchronous-cancellation 933s ok 15 /gtask/check-cancellable 933s ok 16 /gtask/return-if-cancelled 933s ok 17 /gtask/run-in-thread 933s ok 18 /gtask/run-in-thread-sync 933s ok 19 /gtask/run-in-thread-priority 934s ok 20 /gtask/run-in-thread-nested 934s ok 21 /gtask/run-in-thread-overflow 934s # slow test /gtask/run-in-thread-overflow executed in 0.55 secs 934s # GLib-GIO-DEBUG: GTask 0x1f55a60 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 934s # GLib-GIO-DEBUG: GTask 0x1f55cc0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 934s ok 22 /gtask/return-on-cancel 934s # GLib-GIO-DEBUG: GTask 0x1f55f10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 934s ok 23 /gtask/return-on-cancel-sync 934s # GLib-GIO-DEBUG: GTask 0x1f55418 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 934s ok 24 /gtask/return-on-cancel-atomic 934s ok 25 /gtask/return-pointer 934s ok 26 /gtask/return-value 934s ok 27 /gtask/return-prefixed-error 934s ok 28 /gtask/object-keepalive 934s ok 29 /gtask/legacy-error 934s ok 30 /gtask/finalize-without-return 934s # Start of name tests 934s ok 31 /gtask/name/macro-wrapper 934s # End of name tests 934s # Start of return tests 934s ok 32 /gtask/return/error-first 934s ok 33 /gtask/return/value-first 934s # Start of in-idle tests 934s ok 34 /gtask/return/in-idle/error-first 934s ok 35 /gtask/return/in-idle/value-first 934s # End of in-idle tests 934s # End of return tests 934s # Start of attach-source tests 934s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 934s ok 36 /gtask/attach-source/set-name 934s # End of attach-source tests 934s # End of gtask tests 934s ok - glib/task.test 934s # Running test: glib/permission.test 934s TAP version 13 934s # random seed: R02S117c08b68da92a623370d2df76068ca5 934s 1..1 934s # Start of permission tests 934s ok 1 /permission/simple 934s # End of permission tests 934s ok - glib/permission.test 934s # Running test: glib/gdbus-peer-object-manager.test 934s TAP version 13 934s # random seed: R02Sa0b11d9cc16efad0031008050a172b0a 934s 1..2 934s # Start of gdbus tests 934s # Start of peer-object-manager tests 934s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/normal/.dirs/home 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/normal/.dirs/cache 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/normal/.dirs/system-config2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/normal/.dirs/config 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/normal/.dirs/system-data2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/normal/.dirs/data 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/normal/.dirs/state 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/normal/.dirs/runtime 934s ok 1 /gdbus/peer-object-manager/normal 934s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/root/.dirs/home 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/root/.dirs/cache 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/root/.dirs/system-config2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/root/.dirs/config 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/root/.dirs/system-data2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/root/.dirs/data 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/root/.dirs/state 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_8CQ2K2/gdbus/peer-object-manager/root/.dirs/runtime 934s ok 2 /gdbus/peer-object-manager/root 934s # End of peer-object-manager tests 934s # End of gdbus tests 934s ok - glib/gdbus-peer-object-manager.test 934s # Running test: glib/sandbox.test 934s TAP version 13 934s # random seed: R02S8f71a7584f317ac2f96a856fde199d0b 934s 1..4 934s # Start of sandbox tests 934s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_KGY2K2/sandbox/none/.dirs/home 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_KGY2K2/sandbox/none/.dirs/cache 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_KGY2K2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_KGY2K2/sandbox/none/.dirs/system-config2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_KGY2K2/sandbox/none/.dirs/config 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_KGY2K2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_KGY2K2/sandbox/none/.dirs/system-data2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_KGY2K2/sandbox/none/.dirs/data 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_KGY2K2/sandbox/none/.dirs/state 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_KGY2K2/sandbox/none/.dirs/runtime 934s ok 1 /sandbox/none 934s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_KGY2K2/sandbox/snap/.dirs/home 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_KGY2K2/sandbox/snap/.dirs/cache 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_KGY2K2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_KGY2K2/sandbox/snap/.dirs/system-config2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_KGY2K2/sandbox/snap/.dirs/config 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_KGY2K2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_KGY2K2/sandbox/snap/.dirs/system-data2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_KGY2K2/sandbox/snap/.dirs/data 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_KGY2K2/sandbox/snap/.dirs/state 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_KGY2K2/sandbox/snap/.dirs/runtime 934s # Created snap.yaml in /tmp/test_sandbox_KGY2K2/snap/current/meta/snap.yaml 934s ok 2 /sandbox/snap 934s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_KGY2K2/sandbox/classic-snap/.dirs/home 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_KGY2K2/sandbox/classic-snap/.dirs/cache 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_KGY2K2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_KGY2K2/sandbox/classic-snap/.dirs/system-config2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_KGY2K2/sandbox/classic-snap/.dirs/config 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_KGY2K2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_KGY2K2/sandbox/classic-snap/.dirs/system-data2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_KGY2K2/sandbox/classic-snap/.dirs/data 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_KGY2K2/sandbox/classic-snap/.dirs/state 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_KGY2K2/sandbox/classic-snap/.dirs/runtime 934s # Created snap.yaml in /tmp/test_sandbox_KGY2K2/snap/current/meta/snap.yaml 934s ok 3 /sandbox/classic-snap 934s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_KGY2K2/sandbox/flatpak/.dirs/home 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_KGY2K2/sandbox/flatpak/.dirs/cache 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_KGY2K2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_KGY2K2/sandbox/flatpak/.dirs/system-config2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_KGY2K2/sandbox/flatpak/.dirs/config 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_KGY2K2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_KGY2K2/sandbox/flatpak/.dirs/system-data2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_KGY2K2/sandbox/flatpak/.dirs/data 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_KGY2K2/sandbox/flatpak/.dirs/state 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_KGY2K2/sandbox/flatpak/.dirs/runtime 934s # Creating .flatpak-info in /tmp/test_sandbox_KGY2K2/sandbox/flatpak/.dirs/runtime/.flatpak-info 934s ok 4 /sandbox/flatpak 934s # End of sandbox tests 934s ok - glib/sandbox.test 934s # Running test: glib/memchunk.test 934s TAP version 13 934s # random seed: R02Sf92ecea970d1b781a5ab9eab12dc2bfe 934s 1..1 934s # Start of memchunk tests 934s ok 1 /memchunk/basic 934s # End of memchunk tests 934s ok - glib/memchunk.test 934s # Running test: glib/gutils-user-database.test 934s TAP version 13 934s # random seed: R02Sf5472d20aaa9ebe4d43d92facaab6e37 934s 1..1 934s # Start of gutils tests 934s ok 1 /gutils/get_user_database_entry 934s # End of gutils tests 934s ok - glib/gutils-user-database.test 934s # Running test: glib/binding.test 934s TAP version 13 934s # random seed: R02Sf046ca64222372605fd25b16612c905b 934s 1..19 934s # Start of binding tests 934s ok 1 /binding/default 934s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 934s ok 2 /binding/canonicalisation 934s ok 3 /binding/bidirectional 934s ok 4 /binding/transform 934s ok 5 /binding/transform-default 934s ok 6 /binding/transform-closure 934s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 934s ok 7 /binding/chain 934s ok 8 /binding/sync-create 934s ok 9 /binding/invert-boolean 934s ok 10 /binding/same-object 934s ok 11 /binding/unbind 934s ok 12 /binding/unbind-weak 934s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 934s ok 13 /binding/unbind-multiple 934s ok 14 /binding/fail 934s ok 15 /binding/interface 934s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 935s ok 16 /binding/concurrent-unbind 935s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 935s ok 17 /binding/concurrent-finalizing 935s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 935s ok 18 /binding/dispose-source 935s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 935s ok 19 /binding/dispose-target 935s # End of binding tests 935s ok - glib/binding.test 935s # Running test: glib/utils-c-90.test 935s TAP version 13 935s # random seed: R02S59b1c542abd86190d5d7f0a4b6f6d263 935s 1..40 935s # Start of utils tests 935s ok 1 /utils/language-names 935s ok 2 /utils/locale-variants 935s ok 3 /utils/version 935s ok 4 /utils/appname 935s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 935s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 935s ok 5 /utils/prgname-thread-safety 935s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 935s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 935s ok 6 /utils/tmpdir 935s ok 7 /utils/basic_bits 935s ok 8 /utils/bits 935s ok 9 /utils/swap 935s ok 10 /utils/find-program 935s ok 11 /utils/find-program-for-path 935s ok 12 /utils/debug 935s ok 13 /utils/codeset 935s ok 14 /utils/codeset2 935s ok 15 /utils/console-charset 935s ok 16 /utils/gettext 935s ok 17 /utils/username 935s ok 18 /utils/realname 935s ok 19 /utils/hostname 935s ok 20 /utils/xdgdirs 935s ok 21 /utils/specialdir 935s # NAME: Ubuntu 935s ok 22 /utils/os-info 935s ok 23 /utils/clear-pointer 935s ok 24 /utils/clear-pointer-cast 935s ok 25 /utils/take-pointer 935s ok 26 /utils/clear-source 935s ok 27 /utils/misc-mem 935s # /utils/aligned-mem summary: Aligned memory allocator 935s # Alignment must not be zero 935s # Executing: glib/utils-c-90.test 935s # Alignment must be a power of two 935s # Alignment must be a multiple of sizeof(void*) 935s ok 28 /utils/aligned-mem 935s # /utils/free-sized summary: Check that g_free_sized() works 935s ok 29 /utils/free-sized 935s ok 30 /utils/nullify 935s ok 31 /utils/atexit 935s ok 32 /utils/check-setuid 935s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 935s ok 33 /utils/int-limits 935s ok 34 /utils/clear-list 935s ok 35 /utils/clear-slist 935s # Start of specialdir tests 935s ok 36 /utils/specialdir/desktop 935s # End of specialdir tests 935s # Start of clear-pointer tests 935s ok 37 /utils/clear-pointer/side-effects 935s # End of clear-pointer tests 935s # Start of aligned-mem tests 935s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 935s ok 38 /utils/aligned-mem/alignment 935s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 935s ok 39 /utils/aligned-mem/zeroed 935s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 935s ok 40 /utils/aligned-mem/free-sized 935s # Start of subprocess tests 935s # End of subprocess tests 935s # End of aligned-mem tests 935s # End of utils tests 935s ok - glib/utils-c-90.test 935s # Running test: glib/cxx-17.test 935s TAP version 13 935s # random seed: R02S27e24573bac0120639c1b3557c726b08 935s 1..2 935s # Start of gtask tests 935s # 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. 935s ok 1 /gtask/name 935s # Start of name tests 935s # 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. 935s ok 2 /gtask/name/macro-wrapper 935s # End of name tests 935s # End of gtask tests 935s ok - glib/cxx-17.test 935s # Running test: glib/overflow-fallback.test 935s TAP version 13 935s # random seed: R02Se47c0195ad1622c3f67fb7db4cd8eaf8 935s 1..6 935s # Start of glib tests 935s # Start of checked-math tests 935s ok 1 /glib/checked-math/guint-add 935s ok 2 /glib/checked-math/guint-mul 935s ok 3 /glib/checked-math/guint64-add 935s ok 4 /glib/checked-math/guint64-mul 935s ok 5 /glib/checked-math/gsize-add 935s ok 6 /glib/checked-math/gsize-mul 935s # End of checked-math tests 935s # End of glib tests 935s ok - glib/overflow-fallback.test 935s # Running test: glib/pollable.test 935s TAP version 13 935s # random seed: R02Sa882fa4b12e2c437b1c8fad4083ed702 935s 1..6 935s # Start of pollable tests 935s ok 1 /pollable/converter 935s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 935s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1bc5ba8 and GSocketClientAsyncConnectData 0x1bbf0a8 935s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 935s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 935s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1bc6768 for GSocketClientAsyncConnectData 0x1bbf0a8 935s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 935s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 935s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 935s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 935s ok 2 /pollable/socket 935s # Start of unix tests 935s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 935s ok 3 /pollable/unix/pipe 935s # /pollable/unix/pty summary: Test that PTYs are considered pollable 935s ok 4 /pollable/unix/pty 935s # /pollable/unix/file summary: Test that regular files are not considered pollable 935s ok 5 /pollable/unix/file 935s # /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 935s ok 6 /pollable/unix/nulldev 935s # End of unix tests 935s # End of pollable tests 935s ok - glib/pollable.test 935s # Running test: glib/stream-rw_all.test 935s TAP version 13 935s # random seed: R02Sddc996808a64557093de6135935449e6 935s 1..3 935s # Start of stream tests 935s # Start of read_all_async tests 935s ok 1 /stream/read_all_async/memory 935s # End of read_all_async tests 935s # Start of write_all_async tests 935s ok 2 /stream/write_all_async/memory 935s # End of write_all_async tests 935s # Start of read_write_all_async tests 935s ok 3 /stream/read_write_all_async/pipe 935s # End of read_write_all_async tests 935s # End of stream tests 935s ok - glib/stream-rw_all.test 935s # Running test: glib/utils-c-11.test 935s TAP version 13 935s # random seed: R02S4e0a90a1c7ac672a1f2a63872beac55c 935s 1..40 935s # Start of utils tests 935s ok 1 /utils/language-names 935s ok 2 /utils/locale-variants 935s ok 3 /utils/version 935s ok 4 /utils/appname 935s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 935s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 935s ok 5 /utils/prgname-thread-safety 935s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 935s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 935s ok 6 /utils/tmpdir 935s ok 7 /utils/basic_bits 935s ok 8 /utils/bits 935s ok 9 /utils/swap 935s ok 10 /utils/find-program 935s ok 11 /utils/find-program-for-path 935s ok 12 /utils/debug 935s ok 13 /utils/codeset 935s ok 14 /utils/codeset2 935s ok 15 /utils/console-charset 935s ok 16 /utils/gettext 935s ok 17 /utils/username 935s ok 18 /utils/realname 935s ok 19 /utils/hostname 935s ok 20 /utils/xdgdirs 935s ok 21 /utils/specialdir 935s # NAME: Ubuntu 935s ok 22 /utils/os-info 935s ok 23 /utils/clear-pointer 935s ok 24 /utils/clear-pointer-cast 935s ok 25 /utils/take-pointer 935s ok 26 /utils/clear-source 935s ok 27 /utils/misc-mem 935s # /utils/aligned-mem summary: Aligned memory allocator 935s # Alignment must not be zero 935s # Alignment must be a power of two 935s # Alignment must be a multiple of sizeof(void*) 935s ok 28 /utils/aligned-mem 935s # /utils/free-sized summary: Check that g_free_sized() works 935s ok 29 /utils/free-sized 935s ok 30 /utils/nullify 935s ok 31 /utils/atexit 935s ok 32 /utils/check-setuid 935s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 935s ok 33 /utils/int-limits 935s ok 34 /utils/clear-list 935s ok 35 /utils/clear-slist 935s # Start of specialdir tests 935s ok 36 /utils/specialdir/desktop 935s # End of specialdir tests 935s # Start of clear-pointer tests 935s ok 37 /utils/clear-pointer/side-effects 935s # End of clear-pointer tests 935s # Start of aligned-mem tests 935s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 935s ok 38 /utils/aligned-mem/alignment 935s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 935s ok 39 /utils/aligned-mem/zeroed 935s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 935s ok 40 /utils/aligned-mem/free-sized 935s # Start of subprocess tests 935s # End of subprocess tests 935s # End of aligned-mem tests 935s # End of utils tests 935s ok - glib/utils-c-11.test 935s # Running test: glib/power-profile-monitor.test 935s TAP version 13 935s # random seed: R02S173f3738c999c9e934ed47578dba51d5 935s 1..1 935s # Start of power-profile-monitor tests 935s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 935s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 935s ok 1 /power-profile-monitor/default 935s # End of power-profile-monitor tests 935s ok - glib/power-profile-monitor.test 935s # Running test: glib/markup-escape.test 935s TAP version 13 935s # random seed: R02Sf23fd29a7ec8b4d9bb5481a5a7277b57 935s 1..41 935s # Start of markup tests 935s ok 1 /markup/format 935s # Start of escape-text tests 935s ok 2 /markup/escape-text/0 935s ok 3 /markup/escape-text/1 935s ok 4 /markup/escape-text/2 935s ok 5 /markup/escape-text/3 935s ok 6 /markup/escape-text/4 935s ok 7 /markup/escape-text/5 935s ok 8 /markup/escape-text/6 935s ok 9 /markup/escape-text/7 935s ok 10 /markup/escape-text/8 935s ok 11 /markup/escape-text/9 935s ok 12 /markup/escape-text/10 935s ok 13 /markup/escape-text/11 935s ok 14 /markup/escape-text/12 935s ok 15 /markup/escape-text/13 935s ok 16 /markup/escape-text/14 935s ok 17 /markup/escape-text/15 935s ok 18 /markup/escape-text/16 935s ok 19 /markup/escape-text/17 935s ok 20 /markup/escape-text/18 935s ok 21 /markup/escape-text/19 935s ok 22 /markup/escape-text/20 935s ok 23 /markup/escape-text/21 935s ok 24 /markup/escape-text/22 935s # End of escape-text tests 935s # Start of escape-unichar tests 935s ok 25 /markup/escape-unichar/0 935s ok 26 /markup/escape-unichar/1 935s ok 27 /markup/escape-unichar/2 935s ok 28 /markup/escape-unichar/3 935s ok 29 /markup/escape-unichar/4 935s ok 30 /markup/escape-unichar/5 935s ok 31 /markup/escape-unichar/6 935s ok 32 /markup/escape-unichar/7 935s ok 33 /markup/escape-unichar/8 935s ok 34 /markup/escape-unichar/9 935s ok 35 /markup/escape-unichar/10 935s ok 36 /markup/escape-unichar/11 935s ok 37 /markup/escape-unichar/12 935s ok 38 /markup/escape-unichar/13 935s ok 39 /markup/escape-unichar/14 935s ok 40 /markup/escape-unichar/15 935s ok 41 /markup/escape-unichar/16 935s # End of escape-unichar tests 935s # End of markup tests 935s ok - glib/markup-escape.test 935s # Running test: glib/performance.test 935s Running test simple-construction 940s # Executing: glib/performance.test 942s Millions of constructed objects per second: 3.158 942s Running test simple-construction1 945s # Executing: glib/performance.test 946s Millions of constructed objects per second: 26.146 946s Running test complex-construction 950s # Executing: glib/performance.test 950s Millions of constructed objects per second: 1.351 950s Running test complex-construction1 955s # Executing: glib/performance.test 956s Millions of constructed objects per second: 2.241 956s Running test complex-construction2 960s # Executing: glib/performance.test 962s Millions of constructed objects per second: 2.422 962s Running test finalization 965s Millions of finalized objects per second: 0.665 965s Running test type-check 965s # Executing: glib/performance.test 966s Million type checks per second: 15.65 966s Running test emit-unhandled 967s Emissions per second: 1017821 967s Running test emit-unhandled-empty 968s Emissions per second: 8461183 968s Running test emit-unhandled-generic 970s # Executing: glib/performance.test 970s Emissions per second: 1478087 970s Running test emit-unhandled-generic-empty 971s Emissions per second: 8465438 971s Running test emit-unhandled-args 973s Emissions per second: 819050 973s Running test emit-handled 974s Emissions per second: 694777 974s Running test emit-handled-empty 975s # Executing: glib/performance.test 976s Emissions per second: 719193 976s Running test emit-handled-generic 978s Emissions per second: 707326 978s Running test emit-handled-generic-empty 980s Emissions per second: 1238197 980s Running test emit-handled-args 980s # Executing: glib/performance.test 982s Emissions per second: 601244 982s Running test notify-unhandled 983s Notify (unhandled) per second: 4477027 983s Running test notify-by-pspec-unhandled 984s Notify (unhandled) per second: 14914072 984s Running test notify-handled 985s # Executing: glib/performance.test 987s Notify per second: 371943 987s Running test notify-by-pspec-handled 989s Notify per second: 407788 989s Running test property-set 990s # Executing: glib/performance.test 990s Property set per second: 1965077 990s Running test property-get 991s Property get per second: 1888404 991s Running test refcount 995s # Executing: glib/performance.test 998s Million refs+unref per second: 5.58 998s ok - glib/performance.test 998s # Running test: glib/basic-signals.test 998s TAP version 13 998s # random seed: R02Saefd1fb18e1783e4fa1cb4f0df1079f3 998s 1..1 998s # Start of gobject tests 998s ok 1 /gobject/basic-signals 998s # End of gobject tests 998s ok - glib/basic-signals.test 998s # Running test: glib/strvbuilder.test 998s TAP version 13 998s # random seed: R02S5a8cdda883ce1b830ee97775577c7ca9 998s 1..6 998s # Start of strvbuilder tests 998s ok 1 /strvbuilder/empty 998s ok 2 /strvbuilder/add 998s ok 3 /strvbuilder/addv 998s ok 4 /strvbuilder/add_many 998s ok 5 /strvbuilder/take 998s ok 6 /strvbuilder/ref 998s # End of strvbuilder tests 998s ok - glib/strvbuilder.test 998s # Running test: glib/date.test 998s TAP version 13 998s # random seed: R02Sc571cfb3d87043f224fa5dd7ad105664 998s 1..121 998s # Start of date tests 998s ok 1 /date/basic 998s ok 2 /date/empty 998s ok 3 /date/dmy 998s ok 4 /date/julian 998s ok 5 /date/compare 998s ok 6 /date/dates 998s ok 7 /date/strftime 998s ok 8 /date/two-digit-years 998s ok 9 /date/parse 998s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 998s ok 11 /date/month_substring 998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 998s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 998s ok 13 /date/clamp 998s ok 14 /date/order 998s ok 15 /date/copy 998s # Vector 0: 0000-00-00, invalid 998s # Vector 1: 0001-01-01, valid 998s # Vector 2: 0000-01-01, invalid 998s # Vector 3: 2000-02-30, invalid 998s # Vector 4: 2000-02-29, valid 998s # Vector 5: 2001-02-29, invalid 998s # Vector 6: 65535-01-01, valid 998s ok 16 /date/valid-dmy 998s # Start of parse tests 998s # Test 0 998s # Test 1 998s ok 17 /date/parse/invalid 998s # End of parse tests 998s # Start of year tests 998s ok 18 /date/year/1 998s ok 19 /date/year/2 998s ok 20 /date/year/3 998s ok 21 /date/year/4 998s ok 22 /date/year/5 998s ok 23 /date/year/6 998s ok 24 /date/year/7 998s ok 25 /date/year/8 998s ok 26 /date/year/9 998s ok 27 /date/year/10 998s ok 28 /date/year/11 998s ok 29 /date/year/12 998s ok 30 /date/year/13 998s ok 31 /date/year/14 998s ok 32 /date/year/98 998s ok 33 /date/year/99 998s ok 34 /date/year/100 998s ok 35 /date/year/101 998s ok 36 /date/year/102 998s ok 37 /date/year/103 998s ok 38 /date/year/397 998s ok 39 /date/year/398 998s ok 40 /date/year/399 998s ok 41 /date/year/400 998s ok 42 /date/year/401 998s ok 43 /date/year/402 998s ok 44 /date/year/403 998s ok 45 /date/year/404 998s ok 46 /date/year/405 998s ok 47 /date/year/406 998s ok 48 /date/year/1598 998s ok 49 /date/year/1599 998s ok 50 /date/year/1600 998s ok 51 /date/year/1601 998s ok 52 /date/year/1602 998s ok 53 /date/year/1650 998s ok 54 /date/year/1651 998s ok 55 /date/year/1897 998s ok 56 /date/year/1898 998s ok 57 /date/year/1899 998s ok 58 /date/year/1900 998s ok 59 /date/year/1901 998s ok 60 /date/year/1902 998s ok 61 /date/year/1903 998s ok 62 /date/year/1961 998s ok 63 /date/year/1962 998s ok 64 /date/year/1963 998s ok 65 /date/year/1964 998s ok 66 /date/year/1965 998s ok 67 /date/year/1967 998s ok 68 /date/year/1968 998s ok 69 /date/year/1969 998s ok 70 /date/year/1970 998s ok 71 /date/year/1971 998s ok 72 /date/year/1972 998s ok 73 /date/year/1973 998s ok 74 /date/year/1974 998s ok 75 /date/year/1975 998s ok 76 /date/year/1976 998s ok 77 /date/year/1977 998s ok 78 /date/year/1978 998s ok 79 /date/year/1979 998s ok 80 /date/year/1980 998s ok 81 /date/year/1981 998s ok 82 /date/year/1982 998s ok 83 /date/year/1983 998s ok 84 /date/year/1984 998s ok 85 /date/year/1985 998s ok 86 /date/year/1986 998s ok 87 /date/year/1987 998s ok 88 /date/year/1988 998s ok 89 /date/year/1989 998s ok 90 /date/year/1990 998s ok 91 /date/year/1991 998s ok 92 /date/year/1992 998s ok 93 /date/year/1993 998s ok 94 /date/year/1994 998s ok 95 /date/year/1995 998s ok 96 /date/year/1996 998s ok 97 /date/year/1997 998s ok 98 /date/year/1998 998s ok 99 /date/year/1999 998s ok 100 /date/year/2000 998s ok 101 /date/year/2001 998s ok 102 /date/year/2002 998s ok 103 /date/year/2003 998s ok 104 /date/year/2004 998s ok 105 /date/year/2005 998s ok 106 /date/year/2006 998s ok 107 /date/year/2007 998s ok 108 /date/year/2008 998s ok 109 /date/year/2009 998s ok 110 /date/year/2010 998s ok 111 /date/year/2011 998s ok 112 /date/year/2012 998s ok 113 /date/year/3000 998s ok 114 /date/year/3001 998s ok 115 /date/year/3002 998s ok 116 /date/year/3998 998s ok 117 /date/year/3999 998s ok 118 /date/year/4000 998s ok 119 /date/year/4001 998s ok 120 /date/year/4002 998s ok 121 /date/year/4003 998s # End of year tests 998s # End of date tests 998s ok - glib/date.test 998s # Running test: glib/cxx-03.test 998s TAP version 13 998s # random seed: R02S90dbb9935a531aaa7e3e8fd49acbec09 998s 1..2 998s # Start of gtask tests 998s # 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. 998s ok 1 /gtask/name 998s # Start of name tests 998s # 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. 998s ok 2 /gtask/name/macro-wrapper 998s # End of name tests 998s # End of gtask tests 998s ok - glib/cxx-03.test 998s # Running test: glib/spawn-path-search.test 998s TAP version 13 998s # random seed: R02Sc6fcf79fdb6df93943964be652ed2473 998s 1..7 998s # Start of spawn tests 998s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 998s # 998s # this is spawn-test-helper from glib/tests 998s # 998s ok 1 /spawn/do-not-search 998s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 998s # 998s # this is spawn-test-helper from path-test-subdir 998s # 998s ok 2 /spawn/search-path 998s # /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. 998s # 998s # this is spawn-test-helper from path-test-subdir 998s # 998s ok 3 /spawn/search-path-from-envp 998s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 998s # 998s # this is spawn-test-helper from path-test-subdir 998s # 998s ok 4 /spawn/search-path-ambiguous 998s # 998s # this is spawn-test-helper from path-test-subdir 998s # 998s ok 5 /spawn/search-path-heap-allocation 998s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 999s # 999s # this is spawn-test-helper from glib/tests 999s # 999s ok 6 /spawn/search-path-fallback-in-environ 999s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 999s # 999s # this is spawn-test-helper from glib/tests 999s # 999s ok 7 /spawn/search-path-fallback-in-envp 999s # End of spawn tests 999s ok - glib/spawn-path-search.test 999s # Running test: glib/gthash.test 999s TAP version 13 999s # random seed: R02S5972f901200b9f141a92ec42f4fce5e4 999s 1..1 999s # Start of gthash tests 999s ok 1 /gthash/build-retrieve 999s # End of gthash tests 999s ok - glib/gthash.test 999s # Running test: glib/portal-support-flatpak-none.test 999s TAP version 13 999s # random seed: R02Sa68deb5f3fd8ff22ad54bb09e07e2267 999s 1..1 999s # Start of portal-support tests 999s # Start of flatpak tests 999s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_YSRSK2/portal-support/flatpak/none/.dirs/home 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_YSRSK2/portal-support/flatpak/none/.dirs/cache 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_YSRSK2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_YSRSK2/portal-support/flatpak/none/.dirs/system-config2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_YSRSK2/portal-support/flatpak/none/.dirs/config 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_YSRSK2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_YSRSK2/portal-support/flatpak/none/.dirs/system-data2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_YSRSK2/portal-support/flatpak/none/.dirs/data 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_YSRSK2/portal-support/flatpak/none/.dirs/state 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_YSRSK2/portal-support/flatpak/none/.dirs/runtime 999s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_YSRSK2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 999s ok 1 /portal-support/flatpak/none 999s # End of flatpak tests 999s # End of portal-support tests 999s ok - glib/portal-support-flatpak-none.test 999s # Running test: glib/messages-low-memory.py.test 999s TAP version 13 999s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 999s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 999s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 999s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 999s # Return code: -6 999s # Output: 999s # Error: GLib-Message: 22:46:02.181: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 999s # GLib-Message: 22:46:02.181: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 999s # ../../../glib/gprintf.c:350: failed to allocate memory 999s 1..1 999s ok - glib/messages-low-memory.py.test 999s # Running test: glib/boxed.test 999s TAP version 13 999s # random seed: R02Sa863a013a8fd918b5fac8bf840f0fd9d 999s 1..27 999s # Start of boxed tests 999s ok 1 /boxed/define 999s ok 2 /boxed/ownership 999s ok 3 /boxed/closure 999s ok 4 /boxed/date 999s ok 5 /boxed/value 999s ok 6 /boxed/string 999s ok 7 /boxed/hashtable 999s ok 8 /boxed/array 999s ok 9 /boxed/ptrarray 999s ok 10 /boxed/regex 999s ok 11 /boxed/varianttype 999s ok 12 /boxed/error 999s ok 13 /boxed/datetime 999s ok 14 /boxed/matchinfo 999s ok 15 /boxed/keyfile 999s ok 16 /boxed/mainloop 999s ok 17 /boxed/maincontext 999s ok 18 /boxed/source 999s ok 19 /boxed/variantbuilder 999s ok 20 /boxed/timezone 999s ok 21 /boxed/pollfd 999s ok 22 /boxed/markup 999s ok 23 /boxed/thread 999s ok 24 /boxed/checksum 999s ok 25 /boxed/tree 999s ok 26 /boxed/patternspec 999s ok 27 /boxed/rand 999s # End of boxed tests 999s ok - glib/boxed.test 999s # Running test: glib/hostutils.test 999s TAP version 13 999s # random seed: R02S1639fbd106b680d66fa17b759bf00990 999s 1..3 999s # Start of hostutils tests 999s ok 1 /hostutils/to_ascii 999s ok 2 /hostutils/to_unicode 999s ok 3 /hostutils/is_ip_addr 999s # End of hostutils tests 999s ok - glib/hostutils.test 999s # Running test: glib/gdbus-test-codegen-old.test 999s TAP version 13 999s # random seed: R02Sbf6743254a56675c5c16ff7ccd6d3781 999s 1..8 999s # Start of gdbus tests 999s # Start of codegen tests 999s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/annotations/.dirs/home 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/annotations/.dirs/cache 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/annotations/.dirs/system-config2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/annotations/.dirs/config 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/annotations/.dirs/system-data2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/annotations/.dirs/data 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/annotations/.dirs/state 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/annotations/.dirs/runtime 999s ok 1 /gdbus/codegen/annotations 999s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/interface_stability/.dirs/home 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/interface_stability/.dirs/cache 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/interface_stability/.dirs/system-config2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/interface_stability/.dirs/config 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/interface_stability/.dirs/system-data2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/interface_stability/.dirs/data 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/interface_stability/.dirs/state 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/interface_stability/.dirs/runtime 999s ok 2 /gdbus/codegen/interface_stability 999s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/object-manager/.dirs/home 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/object-manager/.dirs/cache 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/object-manager/.dirs/system-config2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/object-manager/.dirs/config 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/object-manager/.dirs/system-data2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/object-manager/.dirs/data 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/object-manager/.dirs/state 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/object-manager/.dirs/runtime 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s ok 3 /gdbus/codegen/object-manager 999s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/property-naming/.dirs/home 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/property-naming/.dirs/cache 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/property-naming/.dirs/system-config2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/property-naming/.dirs/config 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/property-naming/.dirs/system-data2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/property-naming/.dirs/data 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/property-naming/.dirs/state 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/property-naming/.dirs/runtime 999s ok 4 /gdbus/codegen/property-naming 999s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/autocleanups/.dirs/home 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/autocleanups/.dirs/cache 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/autocleanups/.dirs/system-config2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/autocleanups/.dirs/config 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/autocleanups/.dirs/system-data2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/autocleanups/.dirs/data 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/autocleanups/.dirs/state 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/autocleanups/.dirs/runtime 999s ok 5 /gdbus/codegen/autocleanups 999s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/deprecations/.dirs/home 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/deprecations/.dirs/cache 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/deprecations/.dirs/system-config2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/deprecations/.dirs/config 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/deprecations/.dirs/system-data2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/deprecations/.dirs/data 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/deprecations/.dirs/state 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/deprecations/.dirs/runtime 999s ok 6 /gdbus/codegen/deprecations 999s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/standalone-interface-info/.dirs/home 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/standalone-interface-info/.dirs/cache 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/standalone-interface-info/.dirs/config 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/standalone-interface-info/.dirs/data 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/standalone-interface-info/.dirs/state 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 999s ok 7 /gdbus/codegen/standalone-interface-info 999s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/unix-fd-list/.dirs/home 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/unix-fd-list/.dirs/cache 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/unix-fd-list/.dirs/config 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/unix-fd-list/.dirs/data 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/unix-fd-list/.dirs/state 999s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_YQYOK2/gdbus/codegen/unix-fd-list/.dirs/runtime 999s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 999s ok 8 /gdbus/codegen/unix-fd-list 999s # End of codegen tests 999s # End of gdbus tests 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s ok - glib/gdbus-test-codegen-old.test 999s # Running test: glib/macros-c-99.test 999s TAP version 13 999s # random seed: R02S945f87bf5c42513a9f17c91998f0376f 999s 1..4 999s # Start of C tests 999s ok 1 /C/standard-99 999s # End of C tests 999s # Start of alignof tests 999s ok 2 /alignof/fallback 999s # End of alignof tests 999s # Start of assert tests 999s ok 3 /assert/static 999s # End of assert tests 999s # Start of struct tests 999s ok 4 /struct/sizeof_member 999s # End of struct tests 999s ok - glib/macros-c-99.test 999s # Running test: glib/gvariant.test 999s TAP version 13 999s # random seed: R02S193689b4f005c5cdcff5920e1e3d47d7 999s 1..64 999s # Start of gvariant tests 999s ok 1 /gvariant/type 1000s # Executing: glib/gvariant.test 1000s ok 2 /gvariant/typeinfo 1000s # slow test /gvariant/typeinfo executed in 0.70 secs 1000s ok 3 /gvariant/string 1000s ok 4 /gvariant/utf8 1003s ok 5 /gvariant/containers 1003s # slow test /gvariant/containers executed in 3.05 secs 1003s ok 6 /gvariant/format-strings 1003s ok 7 /gvariant/invalid-varargs 1003s ok 8 /gvariant/varargs 1003s ok 9 /gvariant/valist 1003s ok 10 /gvariant/builder-memory 1003s ok 11 /gvariant/hashing 1003s ok 12 /gvariant/byteswap 1004s ok 13 /gvariant/parser 1004s # slow test /gvariant/parser executed in 0.96 secs 1004s ok 14 /gvariant/parse-failures 1004s ok 15 /gvariant/parse-positional 1004s ok 16 /gvariant/floating 1004s ok 17 /gvariant/bytestring 1004s ok 18 /gvariant/lookup-value 1004s ok 19 /gvariant/lookup 1004s ok 20 /gvariant/compare 1004s ok 21 /gvariant/equal 1004s ok 22 /gvariant/fixed-array 1004s ok 23 /gvariant/check-format-string 1004s ok 24 /gvariant/checksum-basic 1004s ok 25 /gvariant/checksum-nested 1004s ok 26 /gvariant/gbytes 1004s ok 27 /gvariant/print-context 1004s ok 28 /gvariant/error-quark 1004s ok 29 /gvariant/stack-builder-init 1004s ok 30 /gvariant/stack-dict-init 1004s ok 31 /gvariant/unaligned-construction 1004s # Start of type tests 1004s # Start of string-scan tests 1004s # Start of recursion tests 1004s ok 32 /gvariant/type/string-scan/recursion/tuple 1004s ok 33 /gvariant/type/string-scan/recursion/array 1004s # End of recursion tests 1004s # End of string-scan tests 1004s # End of type tests 1004s # Start of serialiser tests 1005s ok 34 /gvariant/serialiser/maybe 1005s # Executing: glib/gvariant.test 1005s ok 35 /gvariant/serialiser/array 1005s # slow test /gvariant/serialiser/array executed in 0.60 secs 1006s ok 36 /gvariant/serialiser/tuple 1006s ok 37 /gvariant/serialiser/variant 1006s ok 38 /gvariant/serialiser/strings 1007s ok 39 /gvariant/serialiser/byteswap 1007s # slow test /gvariant/serialiser/byteswap executed in 1.90 secs 1007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1007s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1007s ok 40 /gvariant/serialiser/children 1007s # Start of fuzz tests 1009s ok 41 /gvariant/serialiser/fuzz/1% 1009s # slow test /gvariant/serialiser/fuzz/1% executed in 1.23 secs 1009s ok 42 /gvariant/serialiser/fuzz/5% 1009s # slow test /gvariant/serialiser/fuzz/5% executed in 0.65 secs 1010s # Executing: glib/gvariant.test 1010s ok 43 /gvariant/serialiser/fuzz/9% 1010s # slow test /gvariant/serialiser/fuzz/9% executed in 0.55 secs 1011s ok 44 /gvariant/serialiser/fuzz/13% 1011s # slow test /gvariant/serialiser/fuzz/13% executed in 0.59 secs 1013s ok 45 /gvariant/serialiser/fuzz/17% 1013s # slow test /gvariant/serialiser/fuzz/17% executed in 2.06 secs 1013s # End of fuzz tests 1013s # End of serialiser tests 1013s # Start of varargs tests 1013s # Start of subprocess tests 1013s # End of subprocess tests 1013s # End of varargs tests 1013s # Start of byteswap tests 1013s # /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. 1013s ok 46 /gvariant/byteswap/non-normal-non-aligned 1013s # End of byteswap tests 1013s # Start of parser tests 1013s ok 47 /gvariant/parser/integer-bounds 1013s ok 48 /gvariant/parser/recursion 1013s # Start of recursion tests 1013s ok 49 /gvariant/parser/recursion/typedecls 1013s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1013s # Text form 0: @mmmu 5 1013s # Text form 1: @mmmas ['hello'] 1013s # Text form 2: @mmmu just just nothing 1013s # Text form 3: @mmmas just just nothing 1013s # Text form 4: @mmmu just nothing 1013s # Text form 5: @mmmas just nothing 1013s # Text form 6: @mmmu nothing 1013s # Text form 7: @mmmas nothing 1013s ok 50 /gvariant/parser/recursion/maybes 1013s # End of recursion tests 1013s # End of parser tests 1013s # Start of parse tests 1013s # Start of subprocess tests 1013s # End of subprocess tests 1013s # End of parse tests 1013s # Start of normal-checking tests 1013s ok 51 /gvariant/normal-checking/tuples 1013s ok 52 /gvariant/normal-checking/array-offsets 1013s ok 53 /gvariant/normal-checking/array-offsets2 1013s ok 54 /gvariant/normal-checking/tuple-offsets 1013s ok 55 /gvariant/normal-checking/tuple-offsets2 1013s ok 56 /gvariant/normal-checking/tuple-offsets3 1013s ok 57 /gvariant/normal-checking/tuple-offsets4 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1013s ok 58 /gvariant/normal-checking/tuple-offsets5 1013s ok 59 /gvariant/normal-checking/empty-object-path 1013s # Start of array-offsets tests 1013s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1013s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1013s # End of array-offsets tests 1013s # Start of tuple-offsets tests 1013s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1013s # End of tuple-offsets tests 1013s # End of normal-checking tests 1013s # Start of recursion-limits tests 1013s ok 63 /gvariant/recursion-limits/variant-in-variant 1013s ok 64 /gvariant/recursion-limits/array-in-variant 1013s # End of recursion-limits tests 1013s # End of gvariant tests 1013s ok - glib/gvariant.test 1013s # Running test: glib/gapplication.test 1013s TAP version 13 1013s # random seed: R02S19225dca9f30b32ce55f191f94ff53e5 1013s 1..24 1013s # Start of gapplication tests 1013s ok 1 /gapplication/no-dbus 1013s ok 2 /gapplication/no-appid 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 3 /gapplication/properties 1013s ok 4 /gapplication/app-id 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 5 /gapplication/quit 1013s ok 6 /gapplication/registered 1013s ok 7 /gapplication/local-actions 1013s ok 8 /gapplication/local-command-line 1013s ok 9 /gapplication/resource-path 1013s ok 10 /gapplication/test-help 1013s ok 11 /gapplication/command-line-done 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 12 /gapplication/test-busy 1013s ok 13 /gapplication/test-handle-local-options1 1013s ok 14 /gapplication/test-handle-local-options2 1013s ok 15 /gapplication/test-handle-local-options3 1013s ok 16 /gapplication/api 1013s ok 17 /gapplication/version 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # launching subprocess 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 18 /gapplication/replace 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # launching subprocess 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 19 /gapplication/no-replace 1013s # slow test /gapplication/no-replace executed in 0.52 secs 1013s # Start of dbus tests 1013s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # Message 0 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # Message 1 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # Message 2 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 20 /gapplication/dbus/activate 1013s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # Message 0 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1013s # Message 1 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # Message 2 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # Message 3 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 21 /gapplication/dbus/open 1013s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # Message 0 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # Message 1 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # Message 2 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 22 /gapplication/dbus/command-line 1013s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 23 /gapplication/dbus/command-line-done 1013s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # Message 0 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # Message 1 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # Message 2 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # Message 3 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # Message 4 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # Message 5 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 24 /gapplication/dbus/activate-action 1013s # End of dbus tests 1013s # End of gapplication tests 1013s ok - glib/gapplication.test 1013s # Running test: glib/trash.test 1013s TAP version 13 1013s # random seed: R02Sd2cb37668f79a46071fc150ef4827bdd 1013s 1..2 1013s # Start of trash tests 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1013s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1013s # File: /tmp/test-trash7RYWK2 (parent st_dev: 59) 1013s # Home: /home/ubuntu (st_dev: 59) 1013s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1013s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1013s # End of trash tests 1013s ok - glib/trash.test 1013s # Running test: glib/thread-pool-slow.test 1013s TAP version 13 1013s # random seed: R02S2d71191a126e05a873bab0eca52f7158 1013s 1..7 1013s # Start of threadpool tests 1013s ok 1 /threadpool/functions 1014s ok 2 /threadpool/stop-unused 1014s # slow test /threadpool/stop-unused executed in 0.53 secs 1014s ok 3 /threadpool/pools 1014s # [unsorted] ===> pushed new thread with id:18, number of threads:1, unprocessed:1 1014s # [unsorted] ===> pushed new thread with id:53, number of threads:2, unprocessed:1 1014s # [unsorted] ===> pushed new thread with id:11, number of threads:3, unprocessed:2 1014s # [unsorted] ===> pushed new thread with id:60, number of threads:4, unprocessed:3 1014s # [unsorted] ===> pushed new thread with id:84, number of threads:5, unprocessed:3 1014s # [unsorted] ===> pushed new thread with id:94, number of threads:6, unprocessed:1 1014s # [unsorted] ===> pushed new thread with id:97, number of threads:7, unprocessed:1 1014s # [unsorted] ===> pushed new thread with id:62, number of threads:8, unprocessed:2 1014s # [unsorted] ===> pushed new thread with id:40, number of threads:9, unprocessed:2 1014s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:2 1014s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:3 1014s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:4 1014s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:5 1014s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:6 1014s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:7 1014s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:8 1014s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:9 1014s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:10 1014s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:11 1014s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:12 1014s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:13 1014s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:14 1014s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:15 1014s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:16 1014s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:17 1014s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:18 1014s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:18 1014s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:19 1014s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:20 1014s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:21 1014s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:22 1014s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:23 1014s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:24 1014s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:25 1014s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:26 1014s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:27 1014s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:28 1014s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:29 1014s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:30 1014s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:31 1014s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:32 1014s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:33 1014s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:34 1014s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:35 1014s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:36 1014s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:37 1014s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:38 1014s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:39 1014s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:40 1014s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:41 1014s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:42 1014s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:43 1014s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:44 1014s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:45 1014s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:46 1014s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:47 1014s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:48 1014s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:49 1014s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:50 1014s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:51 1014s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:52 1014s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:53 1014s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:54 1014s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:55 1014s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:56 1014s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:57 1014s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:58 1014s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:59 1014s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:60 1014s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:61 1014s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:62 1014s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:63 1014s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:64 1014s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:65 1014s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:66 1014s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:67 1014s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:68 1014s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:69 1014s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:70 1014s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:71 1014s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:72 1014s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:73 1014s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:74 1014s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:75 1014s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:76 1014s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:77 1014s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:78 1014s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:79 1014s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:80 1014s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:81 1014s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:82 1014s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:83 1014s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:84 1014s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:85 1014s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:86 1014s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:87 1014s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:88 1014s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:89 1014s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:90 1014s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:91 1014s ok 4 /threadpool/no-sort 1014s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:1 1014s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:2 1014s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:3 1014s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:4 1014s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:5 1014s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:6 1014s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:7 1014s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:8 1014s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:9 1014s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:10 1014s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:11 1014s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:12 1014s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:13 1014s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:14 1014s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:15 1014s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:16 1014s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:17 1014s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:18 1014s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:19 1014s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:20 1014s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:21 1014s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:22 1014s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:23 1014s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:24 1014s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:25 1014s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:26 1014s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:27 1014s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:28 1014s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:29 1014s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:30 1014s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:31 1014s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:32 1014s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:33 1014s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:34 1014s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:35 1014s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:36 1014s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:37 1014s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:38 1014s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:39 1014s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:40 1014s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:41 1014s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:42 1014s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:43 1014s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:44 1014s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:45 1014s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:46 1014s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:47 1014s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:48 1014s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:49 1014s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:50 1014s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:51 1014s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:52 1014s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:53 1014s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:54 1014s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:55 1014s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:56 1014s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:57 1014s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:58 1014s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:59 1014s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:60 1014s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:61 1014s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:62 1014s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:63 1014s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:64 1014s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:65 1014s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:66 1014s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:67 1014s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:68 1014s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:69 1014s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:70 1014s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:71 1014s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:72 1014s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:73 1014s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:74 1014s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:75 1014s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:76 1014s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:77 1014s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:78 1014s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:79 1014s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:80 1014s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:81 1014s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:82 1014s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:83 1014s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:84 1014s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:85 1014s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:86 1014s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:87 1014s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:88 1014s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:89 1014s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:90 1014s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:91 1014s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:92 1014s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:93 1014s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:94 1014s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:95 1014s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:96 1014s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:97 1014s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:98 1014s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:99 1014s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:100 1014s # Starting thread pool processing 1014s ok 5 /threadpool/sort 1015s ok 6 /threadpool/stop-unused-multiple 1015s # slow test /threadpool/stop-unused-multiple executed in 0.53 secs 1015s # Pool idle thread count: 0, unprocessed jobs: 45 1015s # Executing: glib/thread-pool-slow.test 1015s # Pool idle thread count: 0, unprocessed jobs: 0 1015s # Pool idle thread count: 0, unprocessed jobs: 0 1016s # Pool idle thread count: 10, unprocessed jobs: 0 1016s # Pool idle thread count: 10, unprocessed jobs: 0 1016s # Pool idle thread count: 10, unprocessed jobs: 0 1016s # Pool idle thread count: 10, unprocessed jobs: 0 1017s # Pool idle thread count: 10, unprocessed jobs: 0 1017s # Pool idle thread count: 10, unprocessed jobs: 0 1017s # Pool idle thread count: 10, unprocessed jobs: 0 1017s # Pool idle thread count: 10, unprocessed jobs: 0 1018s # Pool idle thread count: 10, unprocessed jobs: 0 1018s # Pool idle thread count: 10, unprocessed jobs: 0 1018s # Pool idle thread count: 10, unprocessed jobs: 0 1018s # Pool idle thread count: 10, unprocessed jobs: 0 1019s # Pool idle thread count: 10, unprocessed jobs: 0 1019s # Pool idle thread count: 10, unprocessed jobs: 0 1019s # Pool idle thread count: 10, unprocessed jobs: 0 1019s # Pool idle thread count: 10, unprocessed jobs: 0 1020s # Pool idle thread count: 10, unprocessed jobs: 0 1020s # Pool idle thread count: 10, unprocessed jobs: 0 1020s # Executing: glib/thread-pool-slow.test 1020s # Pool idle thread count: 10, unprocessed jobs: 0 1020s # Pool idle thread count: 10, unprocessed jobs: 0 1021s # Pool idle thread count: 10, unprocessed jobs: 0 1021s # Pool idle thread count: 10, unprocessed jobs: 0 1021s # Pool idle thread count: 10, unprocessed jobs: 0 1021s # Pool idle thread count: 10, unprocessed jobs: 0 1022s # Pool idle thread count: 10, unprocessed jobs: 0 1022s # Pool idle thread count: 10, unprocessed jobs: 0 1022s # Pool idle thread count: 10, unprocessed jobs: 0 1022s # Pool idle thread count: 10, unprocessed jobs: 0 1023s # Pool idle thread count: 10, unprocessed jobs: 0 1023s # Pool idle thread count: 10, unprocessed jobs: 0 1023s # Pool idle thread count: 10, unprocessed jobs: 0 1023s # Pool idle thread count: 10, unprocessed jobs: 0 1024s # Pool idle thread count: 9, unprocessed jobs: 1 1024s # Pool idle thread count: 8, unprocessed jobs: 0 1024s # Pool idle thread count: 8, unprocessed jobs: 0 1024s # Pool idle thread count: 8, unprocessed jobs: 0 1024s # Pool idle thread count: 10, unprocessed jobs: 0 1024s # Pool idle thread count: 10, unprocessed jobs: 0 1025s # Pool idle thread count: 10, unprocessed jobs: 0 1025s # Pool idle thread count: 10, unprocessed jobs: 0 1025s # Executing: glib/thread-pool-slow.test 1025s # Pool idle thread count: 10, unprocessed jobs: 0 1025s # Pool idle thread count: 10, unprocessed jobs: 0 1026s # Pool idle thread count: 2, unprocessed jobs: 0 1026s # Pool idle thread count: 2, unprocessed jobs: 0 1026s # Pool idle thread count: 2, unprocessed jobs: 0 1026s # Pool idle thread count: 2, unprocessed jobs: 0 1027s # Pool idle thread count: 2, unprocessed jobs: 0 1027s # Pool idle thread count: 2, unprocessed jobs: 0 1027s # Pool idle thread count: 2, unprocessed jobs: 0 1027s # Pool idle thread count: 2, unprocessed jobs: 0 1028s # Pool idle thread count: 2, unprocessed jobs: 0 1028s # Pool idle thread count: 2, unprocessed jobs: 0 1028s # Pool idle thread count: 2, unprocessed jobs: 0 1028s # Pool idle thread count: 2, unprocessed jobs: 0 1029s # Pool idle thread count: 2, unprocessed jobs: 0 1029s # Pool idle thread count: 2, unprocessed jobs: 0 1029s # Pool idle thread count: 2, unprocessed jobs: 0 1029s # Pool idle thread count: 2, unprocessed jobs: 0 1030s # Pool idle thread count: 2, unprocessed jobs: 0 1030s # Pool idle thread count: 2, unprocessed jobs: 0 1030s # Executing: glib/thread-pool-slow.test 1030s # Pool idle thread count: 2, unprocessed jobs: 0 1030s # Pool idle thread count: 2, unprocessed jobs: 0 1031s # Pool idle thread count: 2, unprocessed jobs: 0 1031s # Pool idle thread count: 2, unprocessed jobs: 0 1031s # Pool idle thread count: 2, unprocessed jobs: 0 1031s # Pool idle thread count: 2, unprocessed jobs: 0 1032s # Pool idle thread count: 2, unprocessed jobs: 0 1032s # Pool idle thread count: 2, unprocessed jobs: 0 1032s # Pool idle thread count: 2, unprocessed jobs: 0 1032s # Pool idle thread count: 2, unprocessed jobs: 0 1033s # Pool idle thread count: 2, unprocessed jobs: 0 1033s # Pool idle thread count: 2, unprocessed jobs: 0 1033s # Pool idle thread count: 2, unprocessed jobs: 0 1033s # Pool idle thread count: 2, unprocessed jobs: 0 1034s # Pool idle thread count: 2, unprocessed jobs: 0 1034s # Pool idle thread count: 2, unprocessed jobs: 0 1034s ok 7 /threadpool/idle-time 1034s # slow test /threadpool/idle-time executed in 19.54 secs 1034s # End of threadpool tests 1034s ok - glib/thread-pool-slow.test 1034s # Running test: glib/logging.test 1034s TAP version 13 1034s # random seed: R02Sebdf1bd756f0233c41b5895a19dee113 1034s 1..17 1034s # Start of logging tests 1034s ok 1 /logging/default-handler 1034s ok 2 /logging/warnings 1034s ok 3 /logging/fatal-log-mask 1034s # bu-DEBUG: message 1034s # ba-DEBUG: message 1034s # ba-INFO: message 1034s ok 4 /logging/set-handler 1034s ok 5 /logging/print-handler 1034s ok 6 /logging/printerr-handler 1034s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1034s # The Log Message Handler 1034s # 1034s # The Good Fail Message Handler 1034s # 1034s ok 7 /logging/653052 1034s ok 8 /logging/gibberish 1034s # Start of default-handler tests 1034s # Start of subprocess tests 1034s # End of subprocess tests 1034s # End of default-handler tests 1034s # End of logging tests 1034s # Start of structured-logging tests 1034s ok 9 /structured-logging/no-state 1034s ok 10 /structured-logging/some-state 1034s ok 11 /structured-logging/robustness 1034s ok 12 /structured-logging/roundtrip1 1034s ok 13 /structured-logging/roundtrip2 1034s ok 14 /structured-logging/roundtrip3 1034s ok 15 /structured-logging/variant1 1034s ok 16 /structured-logging/variant2 1034s ok 17 /structured-logging/set-writer-func-twice 1034s # End of structured-logging tests 1034s ok - glib/logging.test 1034s # Running test: glib/gdbus-server-auth.test 1034s TAP version 13 1034s # random seed: R02S7d777b6683d7406745306c6c284d05b2 1034s 1..9 1034s # Start of gdbus tests 1034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/.dirs/home 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/.dirs/cache 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/.dirs/system-config2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/.dirs/config 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/.dirs/system-data2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/.dirs/data 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/.dirs/state 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/.dirs/runtime 1034s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_TI1UK2/gdbus-server-auth-4I2UK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1034s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_TI1UK2/gdbus-server-auth-4I2UK2/dbus-tgkf0djf 1034s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1034s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1034s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1034s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1034s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1034s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5278 1034s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1034s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1034s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1034s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1034s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1034s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1034s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5278 1034s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1034s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1034s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1034s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1034s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1034s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1034s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5278 1034s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1034s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1034s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1034s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1034s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5278 1035s ok 1 /gdbus/server-auth 1035s # Start of server-auth tests 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/abstract/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/abstract/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/abstract/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/abstract/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/abstract/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/abstract/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/abstract/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/abstract/.dirs/runtime 1035s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_TI1UK2/gdbus-server-auth-G7PSK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1035s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_TI1UK2/gdbus-server-auth-G7PSK2/dbus-IVH9UNHl 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1035s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1035s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5278 1035s ok 2 /gdbus/server-auth/abstract 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/tcp/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/tcp/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/tcp/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/tcp/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/tcp/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/tcp/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/tcp/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/tcp/.dirs/runtime 1035s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1035s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/.dirs/runtime 1035s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_TI1UK2/gdbus-server-auth-3I2SK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1035s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_TI1UK2/gdbus-server-auth-3I2SK2/dbus-YtkhFcXJ 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # Executing: glib/gdbus-server-auth.test 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5278 1035s ok 4 /gdbus/server-auth/anonymous 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/.dirs/runtime 1035s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_TI1UK2/gdbus-server-auth-AWGPK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1035s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_TI1UK2/gdbus-server-auth-AWGPK2/dbus-yMgLnnVm 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5278 1035s ok 5 /gdbus/server-auth/external 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/.dirs/runtime 1035s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_TI1UK2/gdbus-server-auth-AGCOK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1035s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1035s # Start of anonymous tests 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/tcp/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/tcp/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/tcp/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/tcp/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1035s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1035s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1035s # End of anonymous tests 1035s # Start of external tests 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/require-same-user/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/require-same-user/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/require-same-user/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/require-same-user/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/require-same-user/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1035s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_TI1UK2/gdbus-server-auth-R38NK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1035s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_TI1UK2/gdbus-server-auth-R38NK2/dbus-v0hS43gi 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5278 1035s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1035s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1035s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1035s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5278,uid=1000,gid=1000 1035s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5278 1035s ok 8 /gdbus/server-auth/external/require-same-user 1035s # End of external tests 1035s # Start of sha1 tests 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/tcp/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/tcp/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/tcp/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/tcp/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/tcp/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_TI1UK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1035s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1035s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1035s # End of sha1 tests 1035s # End of server-auth tests 1035s # End of gdbus tests 1035s ok - glib/gdbus-server-auth.test 1035s # Running test: glib/completion.test 1035s TAP version 13 1035s # random seed: R02S33a63274aab1c41a00ec51891b7f67db 1035s 1..1 1035s # Start of completion tests 1035s ok 1 /completion/test-completion 1035s # End of completion tests 1035s ok - glib/completion.test 1035s # Running test: glib/memory-monitor.test 1035s TAP version 13 1035s # random seed: R02S77daf2e00188ec76ede0674f70bb229a 1035s 1..1 1035s # Start of memory-monitor tests 1035s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1035s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1035s ok 1 /memory-monitor/default 1035s # End of memory-monitor tests 1035s ok - glib/memory-monitor.test 1035s # Running test: glib/socket-listener.test 1035s TAP version 13 1035s # random seed: R02S1b472e38a78d4a0921487cd9f3ec8d7a 1035s 1..1 1035s # Start of socket-listener tests 1035s ok 1 /socket-listener/event-signal 1035s # End of socket-listener tests 1035s ok - glib/socket-listener.test 1035s # Running test: glib/atomic-c-17.test 1035s TAP version 13 1035s # random seed: R02S9a8a5fae366ce33e3092ac8bb72f773d 1035s 1..2 1035s # Start of atomic tests 1035s ok 1 /atomic/types 1035s ok 2 /atomic/threaded 1035s # End of atomic tests 1035s ok - glib/atomic-c-17.test 1035s # Running test: glib/resources.test 1035s TAP version 13 1035s # random seed: R02Sf99f0a1de4e8567b7a5540fad703af5b 1035s 1..17 1035s # Start of resource tests 1035s ok 1 /resource/file 1035s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1035s ok 2 /resource/file-path 1035s ok 3 /resource/data 1035s ok 4 /resource/data_unaligned 1035s ok 5 /resource/data-corrupt 1035s ok 6 /resource/data-empty 1035s ok 7 /resource/registered 1035s ok 8 /resource/manual 1035s ok 9 /resource/manual2 1035s ok 10 /resource/automatic 1035s ok 11 /resource/module 1035s ok 12 /resource/binary-linked 1035s ok 13 /resource/64k 1035s GLib-GIO-Message: 22:46:38.564: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1035s ok 14 /resource/overlay 1035s ok 15 /resource/digits 1035s # Start of uri tests 1035s ok 16 /resource/uri/query-info 1035s ok 17 /resource/uri/file 1035s # End of uri tests 1035s # End of resource tests 1035s ok - glib/resources.test 1035s # Running test: glib/once.test 1035s TAP version 13 1035s # random seed: R02S7b0d045eb8cc8a9283b2f059fb15b306 1035s 1..5 1035s # Start of once tests 1035s # /once/single-threaded summary: Test g_once() usage from a single thread 1035s ok 1 /once/single-threaded 1035s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1035s ok 2 /once/multi-threaded 1035s # End of once tests 1035s # Start of once-init tests 1035s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1035s ok 3 /once-init/single-threaded 1035s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1035s ok 4 /once-init/multi-threaded 1035s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1035s ok 5 /once-init/string 1035s # End of once-init tests 1035s ok - glib/once.test 1035s # Running test: glib/sequence.test 1035s TAP version 13 1035s # random seed: R02S589bdb2c6a9d047988b4825da36e570e 1035s 1..16 1035s # Start of sequence tests 1035s ok 1 /sequence/out-of-range-jump 1035s ok 2 /sequence/iter-move 1036s ok 3 /sequence/insert-sorted-non-pointer 1036s ok 4 /sequence/stable-sort 1036s ok 5 /sequence/is_empty 1036s # Start of random tests 1038s ok 6 /sequence/random/seed:825541564 1038s # slow test /sequence/random/seed:825541564 executed in 1.94 secs 1039s ok 7 /sequence/random/seed:801678400 1039s # slow test /sequence/random/seed:801678400 executed in 1.55 secs 1040s # Executing: glib/sequence.test 1041s ok 8 /sequence/random/seed:1477639090 1041s # slow test /sequence/random/seed:1477639090 executed in 1.54 secs 1042s ok 9 /sequence/random/seed:3369132895 1042s # slow test /sequence/random/seed:3369132895 executed in 1.44 secs 1044s ok 10 /sequence/random/seed:1192944867 1044s # slow test /sequence/random/seed:1192944867 executed in 1.52 secs 1045s # Executing: glib/sequence.test 1045s ok 11 /sequence/random/seed:770458294 1045s # slow test /sequence/random/seed:770458294 executed in 1.58 secs 1047s ok 12 /sequence/random/seed:1099575817 1047s # slow test /sequence/random/seed:1099575817 executed in 1.49 secs 1048s ok 13 /sequence/random/seed:590523467 1048s # slow test /sequence/random/seed:590523467 executed in 1.55 secs 1050s # Executing: glib/sequence.test 1050s ok 14 /sequence/random/seed:3583571454 1050s # slow test /sequence/random/seed:3583571454 executed in 1.57 secs 1051s ok 15 /sequence/random/seed:579241222 1051s # slow test /sequence/random/seed:579241222 executed in 1.50 secs 1053s ok 16 /sequence/random/seed:1749826959 1053s # slow test /sequence/random/seed:1749826959 executed in 1.42 secs 1053s # End of random tests 1053s # End of sequence tests 1053s ok - glib/sequence.test 1053s # Running test: glib/memory-input-stream.test 1053s TAP version 13 1053s # random seed: R02S12920f63afcd608865b9e51a8e288556 1053s 1..6 1053s # Start of memory-input-stream tests 1053s ok 1 /memory-input-stream/read-chunks 1053s ok 2 /memory-input-stream/async 1053s ok 3 /memory-input-stream/seek 1053s ok 4 /memory-input-stream/truncate 1053s ok 5 /memory-input-stream/read-bytes 1053s ok 6 /memory-input-stream/from-bytes 1053s # End of memory-input-stream tests 1053s ok - glib/memory-input-stream.test 1053s # Running test: glib/throws.test 1053s TAP version 13 1053s # random seed: R02Sab6d2d891f4b78412fe492d220a30be6 1053s 1..3 1053s # Start of throws tests 1053s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_7NPLK2/throws/invoke-gerror/.dirs/home 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_7NPLK2/throws/invoke-gerror/.dirs/cache 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_7NPLK2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_7NPLK2/throws/invoke-gerror/.dirs/system-config2 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_7NPLK2/throws/invoke-gerror/.dirs/config 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_7NPLK2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_7NPLK2/throws/invoke-gerror/.dirs/system-data2 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_7NPLK2/throws/invoke-gerror/.dirs/data 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_7NPLK2/throws/invoke-gerror/.dirs/state 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_7NPLK2/throws/invoke-gerror/.dirs/runtime 1053s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1053s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1053s ok 1 /throws/invoke-gerror 1053s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_7NPLK2/throws/vfunc-can-throw-gerror/.dirs/home 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_7NPLK2/throws/vfunc-can-throw-gerror/.dirs/cache 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_7NPLK2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_7NPLK2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_7NPLK2/throws/vfunc-can-throw-gerror/.dirs/config 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_7NPLK2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_7NPLK2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_7NPLK2/throws/vfunc-can-throw-gerror/.dirs/data 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_7NPLK2/throws/vfunc-can-throw-gerror/.dirs/state 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_7NPLK2/throws/vfunc-can-throw-gerror/.dirs/runtime 1053s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1053s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1053s ok 2 /throws/vfunc-can-throw-gerror 1053s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_7NPLK2/throws/callback-can-throw-gerror/.dirs/home 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_7NPLK2/throws/callback-can-throw-gerror/.dirs/cache 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_7NPLK2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_7NPLK2/throws/callback-can-throw-gerror/.dirs/system-config2 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_7NPLK2/throws/callback-can-throw-gerror/.dirs/config 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_7NPLK2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_7NPLK2/throws/callback-can-throw-gerror/.dirs/system-data2 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_7NPLK2/throws/callback-can-throw-gerror/.dirs/data 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_7NPLK2/throws/callback-can-throw-gerror/.dirs/state 1053s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_7NPLK2/throws/callback-can-throw-gerror/.dirs/runtime 1053s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1053s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1053s ok 3 /throws/callback-can-throw-gerror 1053s # End of throws tests 1053s ok - glib/throws.test 1053s # Running test: glib/spawn-test.test 1053s TAP version 13 1053s # random seed: R02S310662ee3450e6aaeee9f841d166f7c2 1053s 1..2 1053s # Start of spawn tests 1053s ok 1 /spawn/basics 1053s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1053s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1053s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1053s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1053s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1053s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1053s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1053s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1053s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1053s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1053s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1053s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1053s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1053s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1053s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1053s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1053s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1053s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1053s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1053s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1053s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1053s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1053s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1053s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1053s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1053s # Fetching GSpawn result with stdin open, stdout open, stderr open 1053s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1053s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1053s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1053s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1053s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1053s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1053s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1053s ok 2 /spawn/stdio-overwrite 1053s # End of spawn tests 1053s ok - glib/spawn-test.test 1053s # Running test: glib/dir.test 1053s TAP version 13 1053s # random seed: R02S71fcbd8ced266ed4376bcc30f4075cff 1053s 1..3 1053s # Start of dir tests 1053s ok 1 /dir/read 1053s ok 2 /dir/nonexisting 1053s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1053s ok 3 /dir/refcounting 1053s # End of dir tests 1053s ok - glib/dir.test 1053s # Running test: glib/actions.test 1053s TAP version 13 1053s # random seed: R02S3b0cc60ad5f884ec367c6f5267ef5c22 1053s 1..12 1053s # Start of actions tests 1053s ok 1 /actions/basic 1053s ok 2 /actions/name 1053s ok 3 /actions/simplegroup 1053s ok 4 /actions/stateful 1053s ok 5 /actions/default-activate 1053s ok 6 /actions/entries 1053s ok 7 /actions/parse-detailed 1053s ok 8 /actions/property 1053s ok 9 /actions/no-properties 1053s # Start of dbus tests 1053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1053s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1053s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1053s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1053s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1053s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1053s ok 10 /actions/dbus/export 1053s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1053s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1053s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1053s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1053s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1053s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1053s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1055s # Executing: glib/actions.test 1060s # Executing: glib/actions.test 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s ok 11 /actions/dbus/threaded 1060s # slow test /actions/dbus/threaded executed in 6.85 secs 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1060s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s ok 12 /actions/dbus/bug679509 1060s # End of dbus tests 1060s # End of actions tests 1060s ok - glib/actions.test 1060s # Running test: glib/mimeapps.test 1060s TAP version 13 1060s # random seed: R02Sb1de8bbd2da7fd4944b8e2bf3d3ffe0e 1060s 1..7 1060s # Start of appinfo tests 1060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/home 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/cache 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/system-config2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/config 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/system-data2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/data 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/state 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/runtime 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/system-data1/applications' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/data/applications' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/data/applications/myapp.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/data/applications/myapp2.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/data/applications/myapp3.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/data/applications/myapp4.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/data/applications/myapp5.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1060s # removing '/tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/data/applications/mimeapps.list' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1060s ok 1 /appinfo/all 1060s # Start of mime tests 1060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/home 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/cache 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/system-config2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/config 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/system-data2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/data 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/state 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/runtime 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/system-data1/applications' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/data/applications' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1060s # removing '/tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/config 1060s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_NEGIK2/appinfo/all/.dirs/config to /tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/config 1060s ok 2 /appinfo/mime/api 1060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/home 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/cache 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/system-config2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/config 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/system-data2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/data 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/state 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/runtime 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/system-data1/applications' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/data/applications' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1060s # removing '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/config 1060s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_NEGIK2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/config 1060s ok 3 /appinfo/mime/default 1060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/home 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/cache 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/system-config2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/config 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/system-data2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/data 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/state 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/runtime 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/system-data1/applications' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/data/applications' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1060s # removing '/tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/config 1060s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_NEGIK2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/config 1060s ok 4 /appinfo/mime/file 1060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/home 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/cache 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/system-config2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/config 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/system-data2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/data 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/state 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/runtime 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/data/applications' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1060s # removing '/tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1060s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_NEGIK2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/config 1060s ok 5 /appinfo/mime/scheme-handler 1060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/home 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/cache 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/system-config2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/config 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/system-data2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/data 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/state 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/runtime 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/data/applications' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1060s # removing '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/config 1060s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_NEGIK2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/config 1060s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/config 1060s ok 6 /appinfo/mime/default-last-used 1060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/home 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/cache 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/config 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/data 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/state 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/runtime 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1060s # removing '/tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1060s # creating '/tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1060s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_NEGIK2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_NEGIK2/appinfo/mime/ignore-nonexisting/.dirs/config 1060s ok 7 /appinfo/mime/ignore-nonexisting 1060s # End of mime tests 1060s # End of appinfo tests 1060s ok - glib/mimeapps.test 1060s # Running test: glib/closure-refcount.test 1060s TAP version 13 1060s # random seed: R02Sa20e58db97ea7ce28d4b83abc0cf6d94 1060s 1..1 1060s # Start of closure tests 1060s # Init 0x1fbe858 1061s # Yielding from main thread 1061s # Yielding from main thread 1061s # Yielding from thread2 1061s # Yielding from thread1 1061s # Yielding from main thread 1061s # Yielding from main thread 1061s # Yielding from main thread 1061s # Yielding from thread2 1061s # Yielding from thread1 1061s # Yielding from main thread 1061s # Yielding from main thread 1061s # Yielding from thread2 1061s # Yielding from main thread 1062s # Yielding from thread1 1062s # Yielding from main thread 1062s # Yielding from thread2 1062s # Stopping 1062s # Stopped 1062s ok 1 /closure/refcount 1062s # slow test /closure/refcount executed in 1.30 secs 1062s # End of closure tests 1062s ok - glib/closure-refcount.test 1062s # Running test: glib/fileutils.test 1062s TAP version 13 1062s # random seed: R02Sa9f7cd9cc9afd24206b2d6baa8127c80 1062s 1..27 1062s # Start of fileutils tests 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/paths/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/paths/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/paths/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/paths/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/paths/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/paths/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/paths/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/paths/.dirs/runtime 1062s ok 1 /fileutils/paths 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-path/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-path/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/build-path/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-path/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/build-path/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-path/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-path/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/build-path/.dirs/runtime 1062s ok 2 /fileutils/build-path 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-pathv/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-pathv/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/build-pathv/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-pathv/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/build-pathv/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-pathv/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-pathv/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/build-pathv/.dirs/runtime 1062s ok 3 /fileutils/build-pathv 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-filename/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-filename/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/build-filename/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-filename/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/build-filename/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-filename/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-filename/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/build-filename/.dirs/runtime 1062s ok 4 /fileutils/build-filename 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-filenamev/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-filenamev/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/build-filenamev/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-filenamev/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/build-filenamev/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-filenamev/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/build-filenamev/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/build-filenamev/.dirs/runtime 1062s ok 5 /fileutils/build-filenamev 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents/.dirs/runtime 1062s # We do not have CAP_DAC_OVERRIDE or equivalent 1062s ok 6 /fileutils/mkdir-with-parents 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents-permission/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents-permission/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents-permission/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents-permission/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents-permission/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1062s # We do not have CAP_DAC_OVERRIDE or equivalent 1062s ok 7 /fileutils/mkdir-with-parents-permission 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/format-size-for-display/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/format-size-for-display/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/format-size-for-display/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/format-size-for-display/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/format-size-for-display/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/format-size-for-display/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/format-size-for-display/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/format-size-for-display/.dirs/runtime 1062s ok 8 /fileutils/format-size-for-display 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/errors/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/errors/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/errors/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/errors/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/errors/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/errors/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/errors/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/errors/.dirs/runtime 1062s ok 9 /fileutils/errors 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/basename/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/basename/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/basename/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/basename/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/basename/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/basename/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/basename/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/basename/.dirs/runtime 1062s ok 10 /fileutils/basename 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/get-basename/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/get-basename/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/get-basename/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/get-basename/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/get-basename/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/get-basename/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/get-basename/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/get-basename/.dirs/runtime 1062s ok 11 /fileutils/get-basename 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/dirname/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/dirname/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/dirname/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/dirname/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/dirname/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/dirname/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/dirname/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/dirname/.dirs/runtime 1062s ok 12 /fileutils/dirname 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/dir-make-tmp/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/dir-make-tmp/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/dir-make-tmp/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/dir-make-tmp/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/dir-make-tmp/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/dir-make-tmp/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/dir-make-tmp/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/dir-make-tmp/.dirs/runtime 1062s ok 13 /fileutils/dir-make-tmp 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/file-open-tmp/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/file-open-tmp/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/file-open-tmp/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/file-open-tmp/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/file-open-tmp/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/file-open-tmp/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/file-open-tmp/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/file-open-tmp/.dirs/runtime 1062s ok 14 /fileutils/file-open-tmp 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/file-test/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/file-test/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/file-test/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/file-test/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/file-test/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/file-test/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/file-test/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/file-test/.dirs/runtime 1065s # Executing: glib/fileutils.test 1066s ok 15 /fileutils/file-test 1066s # slow test /fileutils/file-test executed in 4.56 secs 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkstemp/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkstemp/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/mkstemp/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkstemp/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/mkstemp/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkstemp/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkstemp/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/mkstemp/.dirs/runtime 1066s ok 16 /fileutils/mkstemp 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkdtemp/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkdtemp/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/mkdtemp/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkdtemp/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/mkdtemp/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkdtemp/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/mkdtemp/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/mkdtemp/.dirs/runtime 1066s ok 17 /fileutils/mkdtemp 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/get-contents/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/get-contents/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/get-contents/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/get-contents/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/get-contents/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/get-contents/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/get-contents/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/get-contents/.dirs/runtime 1066s ok 18 /fileutils/get-contents 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/get-contents-large-file/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/get-contents-large-file/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/get-contents-large-file/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/get-contents-large-file/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/get-contents-large-file/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/get-contents-large-file/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/get-contents-large-file/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/get-contents-large-file/.dirs/runtime 1066s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/set-contents/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/set-contents/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/set-contents/.dirs/runtime 1066s ok 20 /fileutils/set-contents 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/.dirs/runtime 1066s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1066s # Flags 0 and test 0 1066s # Flags 0 and test 1 1066s # Flags 0 and test 2 1066s # Flags 0 and test 3 1066s # Flags 0 and test 4 1066s # Flags 0 and test 5 1066s # Flags 1 and test 0 1066s # Flags 1 and test 1 1066s # Flags 1 and test 2 1066s # Flags 1 and test 3 1066s # Flags 1 and test 4 1066s # Flags 1 and test 5 1066s # Flags 2 and test 0 1066s # Flags 2 and test 1 1066s # Flags 2 and test 2 1066s # Flags 2 and test 3 1066s # Flags 2 and test 4 1066s # Flags 2 and test 5 1066s # Flags 3 and test 0 1066s # Flags 3 and test 1 1066s # Flags 3 and test 2 1067s # Flags 3 and test 3 1067s # Flags 3 and test 4 1067s # Flags 3 and test 5 1067s # Flags 4 and test 0 1067s # Flags 4 and test 1 1067s # Flags 4 and test 2 1067s # Flags 4 and test 3 1067s # Flags 4 and test 4 1067s # Flags 4 and test 5 1067s # Flags 5 and test 0 1067s # Flags 5 and test 1 1067s # Flags 5 and test 2 1067s # Flags 5 and test 3 1067s # Flags 5 and test 4 1067s # Flags 5 and test 5 1067s # Flags 6 and test 0 1067s # Flags 6 and test 1 1067s # Flags 6 and test 2 1067s # Flags 6 and test 3 1067s # Flags 6 and test 4 1067s # Flags 6 and test 5 1067s ok 21 /fileutils/set-contents-full 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/read-link/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/read-link/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/read-link/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/read-link/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/read-link/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/read-link/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/read-link/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/read-link/.dirs/runtime 1067s ok 22 /fileutils/read-link 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/stdio-wrappers/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/stdio-wrappers/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/stdio-wrappers/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/stdio-wrappers/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/stdio-wrappers/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/stdio-wrappers/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/stdio-wrappers/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/stdio-wrappers/.dirs/runtime 1067s # We do not have CAP_DAC_OVERRIDE or equivalent 1067s ok 23 /fileutils/stdio-wrappers 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/fopen-modes/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/fopen-modes/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/fopen-modes/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/fopen-modes/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/fopen-modes/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/fopen-modes/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/fopen-modes/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/fopen-modes/.dirs/runtime 1067s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1067s # Testing fopen() mode 'w' 1067s # Testing fopen() mode 'r' 1067s # Testing fopen() mode 'a' 1067s # Testing fopen() mode 'w+' 1067s # Testing fopen() mode 'r+' 1067s # Testing fopen() mode 'a+' 1067s # Testing fopen() mode 'wb' 1067s # Testing fopen() mode 'rb' 1067s # Testing fopen() mode 'ab' 1067s # Testing fopen() mode 'w+b' 1067s # Testing fopen() mode 'r+b' 1067s # Testing fopen() mode 'a+b' 1067s # Testing fopen() mode 'wb+' 1067s # Testing fopen() mode 'rb+' 1067s # Testing fopen() mode 'ab+' 1067s ok 24 /fileutils/fopen-modes 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/clear-fd/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/clear-fd/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/clear-fd/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/clear-fd/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/clear-fd/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/clear-fd/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/clear-fd/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/clear-fd/.dirs/runtime 1067s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1067s # Will be closed by autocleanup: 3, -42 1067s # Testing error handling 1067s ok 25 /fileutils/clear-fd 1067s # Start of set-contents-full tests 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-file/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-file/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-file/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-file/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-file/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1067s # We do not have CAP_DAC_OVERRIDE or equivalent 1067s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1067s ok 26 /fileutils/set-contents-full/read-only-file 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-directory/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-directory/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-directory/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-directory/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7JLOK2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1067s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1067s # Flags 0 1067s # We do not have CAP_DAC_OVERRIDE or equivalent 1067s # Flags 1 1067s # We do not have CAP_DAC_OVERRIDE or equivalent 1067s # Flags 2 1067s # We do not have CAP_DAC_OVERRIDE or equivalent 1067s # Flags 3 1067s # We do not have CAP_DAC_OVERRIDE or equivalent 1067s # Flags 4 1067s # We do not have CAP_DAC_OVERRIDE or equivalent 1067s # Flags 5 1067s # We do not have CAP_DAC_OVERRIDE or equivalent 1067s # Flags 6 1067s # We do not have CAP_DAC_OVERRIDE or equivalent 1067s ok 27 /fileutils/set-contents-full/read-only-directory 1067s # End of set-contents-full tests 1067s # Start of clear-fd tests 1067s # Start of subprocess tests 1067s # End of subprocess tests 1067s # End of clear-fd tests 1067s # End of fileutils tests 1067s ok - glib/fileutils.test 1067s # Running test: glib/threadtests.test 1067s TAP version 13 1067s # random seed: R02Sb98a75c7ca3a04e96063e8be39e26a06 1067s 1..5 1067s # Start of GObject tests 1067s ok 1 /GObject/threaded-object-init 1069s ok 2 /GObject/threaded-weak-ref 1069s # slow test /GObject/threaded-weak-ref executed in 2.10 secs 1069s ok 3 /GObject/threaded-toggle-notify # SKIP Not reliable on 32-bit ARM 1069s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1069s # Start of threaded-weak-ref tests 1069s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1069s # /GObject/threaded-weak-ref/on-finalization summary: Test that a weak ref added by another thread during dispose of a GObject is cleared during finalisation. Use on_weak_ref_disposed() to synchronize the other thread with the dispose vfunc. 1069s ok 5 /GObject/threaded-weak-ref/on-finalization 1069s # End of threaded-weak-ref tests 1069s # End of GObject tests 1069s ok - glib/threadtests.test 1069s # Running test: glib/utf8-validate.test 1069s TAP version 13 1069s # random seed: R02S582f9352c959680228c986f59036a52d 1069s 1..216 1069s # Start of utf8 tests 1069s # Vector 0 1069s # Vector 1 1069s # Vector 2 1069s # Vector 3 1069s # Vector 4 1069s # Vector 5 1069s # Vector 6 1069s # Vector 7 1069s # Vector 8 1069s # Vector 9 1069s # Vector 10 1069s # Vector 11 1069s # Vector 12 1069s # Vector 13 1069s # Vector 14 1069s # Vector 15 1069s # Vector 16 1069s # Vector 17 1069s # Vector 18 1069s # Vector 19 1069s # Vector 20 1069s # Vector 21 1069s # Vector 22 1069s # Vector 23 1069s # Vector 24 1069s # Vector 25 1069s # Vector 26 1069s # Vector 27 1069s ok 1 /utf8/get-char-validated 1069s # Start of validate tests 1069s ok 2 /utf8/validate/0 1069s ok 3 /utf8/validate/1 1069s ok 4 /utf8/validate/2 1069s ok 5 /utf8/validate/3 1069s ok 6 /utf8/validate/4 1069s ok 7 /utf8/validate/5 1069s ok 8 /utf8/validate/6 1069s ok 9 /utf8/validate/7 1069s ok 10 /utf8/validate/8 1069s ok 11 /utf8/validate/9 1069s ok 12 /utf8/validate/10 1069s ok 13 /utf8/validate/11 1069s ok 14 /utf8/validate/12 1069s ok 15 /utf8/validate/13 1069s ok 16 /utf8/validate/14 1069s ok 17 /utf8/validate/15 1069s ok 18 /utf8/validate/16 1069s ok 19 /utf8/validate/17 1069s ok 20 /utf8/validate/18 1069s ok 21 /utf8/validate/19 1069s ok 22 /utf8/validate/20 1069s ok 23 /utf8/validate/21 1069s ok 24 /utf8/validate/22 1069s ok 25 /utf8/validate/23 1069s ok 26 /utf8/validate/24 1069s ok 27 /utf8/validate/25 1069s ok 28 /utf8/validate/26 1069s ok 29 /utf8/validate/27 1069s ok 30 /utf8/validate/28 1069s ok 31 /utf8/validate/29 1069s ok 32 /utf8/validate/30 1069s ok 33 /utf8/validate/31 1069s ok 34 /utf8/validate/32 1069s ok 35 /utf8/validate/33 1069s ok 36 /utf8/validate/34 1069s ok 37 /utf8/validate/35 1069s ok 38 /utf8/validate/36 1069s ok 39 /utf8/validate/37 1069s ok 40 /utf8/validate/38 1069s ok 41 /utf8/validate/39 1069s ok 42 /utf8/validate/40 1069s ok 43 /utf8/validate/41 1069s ok 44 /utf8/validate/42 1069s ok 45 /utf8/validate/43 1069s ok 46 /utf8/validate/44 1069s ok 47 /utf8/validate/45 1069s ok 48 /utf8/validate/46 1069s ok 49 /utf8/validate/47 1069s ok 50 /utf8/validate/48 1069s ok 51 /utf8/validate/49 1069s ok 52 /utf8/validate/50 1069s ok 53 /utf8/validate/51 1069s ok 54 /utf8/validate/52 1069s ok 55 /utf8/validate/53 1069s ok 56 /utf8/validate/54 1069s ok 57 /utf8/validate/55 1069s ok 58 /utf8/validate/56 1069s ok 59 /utf8/validate/57 1069s ok 60 /utf8/validate/58 1069s ok 61 /utf8/validate/59 1069s ok 62 /utf8/validate/60 1069s ok 63 /utf8/validate/61 1069s ok 64 /utf8/validate/62 1069s ok 65 /utf8/validate/63 1069s ok 66 /utf8/validate/64 1069s ok 67 /utf8/validate/65 1069s ok 68 /utf8/validate/66 1069s ok 69 /utf8/validate/67 1069s ok 70 /utf8/validate/68 1069s ok 71 /utf8/validate/69 1069s ok 72 /utf8/validate/70 1069s ok 73 /utf8/validate/71 1069s ok 74 /utf8/validate/72 1069s ok 75 /utf8/validate/73 1069s ok 76 /utf8/validate/74 1069s ok 77 /utf8/validate/75 1069s ok 78 /utf8/validate/76 1069s ok 79 /utf8/validate/77 1069s ok 80 /utf8/validate/78 1069s ok 81 /utf8/validate/79 1069s ok 82 /utf8/validate/80 1069s ok 83 /utf8/validate/81 1069s ok 84 /utf8/validate/82 1069s ok 85 /utf8/validate/83 1069s ok 86 /utf8/validate/84 1069s ok 87 /utf8/validate/85 1069s ok 88 /utf8/validate/86 1069s ok 89 /utf8/validate/87 1069s ok 90 /utf8/validate/88 1069s ok 91 /utf8/validate/89 1069s ok 92 /utf8/validate/90 1069s ok 93 /utf8/validate/91 1069s ok 94 /utf8/validate/92 1069s ok 95 /utf8/validate/93 1069s ok 96 /utf8/validate/94 1069s ok 97 /utf8/validate/95 1069s ok 98 /utf8/validate/96 1069s ok 99 /utf8/validate/97 1069s ok 100 /utf8/validate/98 1069s ok 101 /utf8/validate/99 1069s ok 102 /utf8/validate/100 1069s ok 103 /utf8/validate/101 1069s ok 104 /utf8/validate/102 1069s ok 105 /utf8/validate/103 1069s ok 106 /utf8/validate/104 1069s ok 107 /utf8/validate/105 1069s ok 108 /utf8/validate/106 1069s ok 109 /utf8/validate/107 1069s ok 110 /utf8/validate/108 1069s ok 111 /utf8/validate/109 1069s ok 112 /utf8/validate/110 1069s ok 113 /utf8/validate/111 1069s ok 114 /utf8/validate/112 1069s ok 115 /utf8/validate/113 1069s ok 116 /utf8/validate/114 1069s ok 117 /utf8/validate/115 1069s ok 118 /utf8/validate/116 1069s ok 119 /utf8/validate/117 1069s ok 120 /utf8/validate/118 1069s ok 121 /utf8/validate/119 1069s ok 122 /utf8/validate/120 1069s ok 123 /utf8/validate/121 1069s ok 124 /utf8/validate/122 1069s ok 125 /utf8/validate/123 1069s ok 126 /utf8/validate/124 1069s ok 127 /utf8/validate/125 1069s ok 128 /utf8/validate/126 1069s ok 129 /utf8/validate/127 1069s ok 130 /utf8/validate/128 1069s ok 131 /utf8/validate/129 1069s ok 132 /utf8/validate/130 1069s ok 133 /utf8/validate/131 1069s ok 134 /utf8/validate/132 1069s ok 135 /utf8/validate/133 1069s ok 136 /utf8/validate/134 1069s ok 137 /utf8/validate/135 1069s ok 138 /utf8/validate/136 1069s ok 139 /utf8/validate/137 1069s ok 140 /utf8/validate/138 1069s ok 141 /utf8/validate/139 1069s ok 142 /utf8/validate/140 1069s ok 143 /utf8/validate/141 1069s ok 144 /utf8/validate/142 1069s ok 145 /utf8/validate/143 1069s ok 146 /utf8/validate/144 1069s ok 147 /utf8/validate/145 1069s ok 148 /utf8/validate/146 1069s ok 149 /utf8/validate/147 1069s ok 150 /utf8/validate/148 1069s ok 151 /utf8/validate/149 1069s ok 152 /utf8/validate/150 1069s ok 153 /utf8/validate/151 1069s ok 154 /utf8/validate/152 1069s ok 155 /utf8/validate/153 1069s ok 156 /utf8/validate/154 1069s ok 157 /utf8/validate/155 1069s ok 158 /utf8/validate/156 1069s ok 159 /utf8/validate/157 1069s ok 160 /utf8/validate/158 1069s ok 161 /utf8/validate/159 1069s ok 162 /utf8/validate/160 1069s ok 163 /utf8/validate/161 1069s ok 164 /utf8/validate/162 1069s ok 165 /utf8/validate/163 1069s ok 166 /utf8/validate/164 1069s ok 167 /utf8/validate/165 1069s ok 168 /utf8/validate/166 1069s ok 169 /utf8/validate/167 1069s ok 170 /utf8/validate/168 1069s ok 171 /utf8/validate/169 1069s ok 172 /utf8/validate/170 1069s ok 173 /utf8/validate/171 1069s ok 174 /utf8/validate/172 1069s ok 175 /utf8/validate/173 1069s ok 176 /utf8/validate/174 1069s ok 177 /utf8/validate/175 1069s ok 178 /utf8/validate/176 1069s ok 179 /utf8/validate/177 1069s ok 180 /utf8/validate/178 1069s ok 181 /utf8/validate/179 1069s ok 182 /utf8/validate/180 1069s ok 183 /utf8/validate/181 1069s ok 184 /utf8/validate/182 1069s ok 185 /utf8/validate/183 1069s ok 186 /utf8/validate/184 1069s ok 187 /utf8/validate/185 1069s ok 188 /utf8/validate/186 1069s ok 189 /utf8/validate/187 1069s ok 190 /utf8/validate/188 1069s ok 191 /utf8/validate/189 1069s ok 192 /utf8/validate/190 1069s ok 193 /utf8/validate/191 1069s ok 194 /utf8/validate/192 1069s ok 195 /utf8/validate/193 1069s ok 196 /utf8/validate/194 1069s ok 197 /utf8/validate/195 1069s ok 198 /utf8/validate/196 1069s ok 199 /utf8/validate/197 1069s ok 200 /utf8/validate/198 1069s ok 201 /utf8/validate/199 1069s ok 202 /utf8/validate/200 1069s ok 203 /utf8/validate/201 1069s ok 204 /utf8/validate/202 1069s ok 205 /utf8/validate/203 1069s ok 206 /utf8/validate/204 1069s ok 207 /utf8/validate/205 1069s ok 208 /utf8/validate/206 1069s ok 209 /utf8/validate/207 1069s ok 210 /utf8/validate/208 1069s ok 211 /utf8/validate/209 1069s ok 212 /utf8/validate/210 1069s ok 213 /utf8/validate/211 1069s ok 214 /utf8/validate/212 1069s ok 215 /utf8/validate/213 1069s ok 216 /utf8/validate/214 1069s # End of validate tests 1069s # End of utf8 tests 1069s ok - glib/utf8-validate.test 1069s # Running test: glib/unicode-normalize.test 1069s TAP version 13 1069s # random seed: R02Scd99d1175d640a77507a057731d54343 1069s 1..3 1069s # Start of unicode tests 1069s # Processing Part0 # Specific cases 1069s # Processing Part1 # Character by character test 1069s # Processing Part2 # Canonical Order Test 1070s # Processing Part3 # PRI #29 Test 1070s ok 1 /unicode/normalize 1070s # slow test /unicode/normalize executed in 0.53 secs 1070s # Invalid UTF-8 vector 0 1070s # Invalid UTF-8 vector 1 1070s # Invalid UTF-8 vector 2 1070s # Invalid UTF-8 vector 3 1070s # Invalid UTF-8 vector 4 1070s # Invalid UTF-8 vector 5 1070s # Invalid UTF-8 vector 6 1070s # Invalid UTF-8 vector 7 1070s # Invalid UTF-8 vector 8 1070s # Invalid UTF-8 vector 9 1070s # Invalid UTF-8 vector 10 1070s # Invalid UTF-8 vector 11 1070s # Invalid UTF-8 vector 12 1070s ok 2 /unicode/normalize-invalid 1070s # Start of normalize tests 1070s ok 3 /unicode/normalize/bad-length 1070s # End of normalize tests 1070s # End of unicode tests 1070s ok - glib/unicode-normalize.test 1070s # Running test: glib/gsocketclient-slow.test 1070s TAP version 13 1070s # random seed: R02S8cc6019257c8306d01cf8ae461e5799c 1070s 1..3 1070s # Start of socket-client tests 1070s # Start of happy-eyeballs tests 1070s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1070s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x202b2d0 and GSocketClientAsyncConnectData 0x2027fa8 1070s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1070s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1070s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x202c270 for GSocketClientAsyncConnectData 0x2027fa8 1070s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1070s # Executing: glib/gsocketclient-slow.test 1070s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1070s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1070s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1070s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1070s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1070s ok 1 /socket-client/happy-eyeballs/slow 1070s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1070s # Start of cancellation tests 1070s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x202df90 and GSocketClientAsyncConnectData 0x202bda0 1070s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1070s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1070s ok 2 /socket-client/happy-eyeballs/cancellation/instant 1070s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x202e338 and GSocketClientAsyncConnectData 0x202e200 1070s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1070s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1070s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x202ea00 for GSocketClientAsyncConnectData 0x202e200 1070s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1071s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1071s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1071s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1071s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1071s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1071s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 1071s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1071s # End of cancellation tests 1071s # End of happy-eyeballs tests 1071s # End of socket-client tests 1071s ok - glib/gsocketclient-slow.test 1071s # Running test: glib/keyfile.test 1071s TAP version 13 1071s # random seed: R02S28a71097fccfdd0779917f345b5f562f 1071s 1..36 1071s # Start of keyfile tests 1071s ok 1 /keyfile/line-ends 1071s ok 2 /keyfile/whitespace 1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1071s ok 3 /keyfile/comments 1071s ok 4 /keyfile/listing 1071s ok 5 /keyfile/string 1071s ok 6 /keyfile/boolean 1071s ok 7 /keyfile/number 1071s ok 8 /keyfile/locale-string 1071s ok 9 /keyfile/lists 1071s ok 10 /keyfile/lists-set-get 1071s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1071s ok 11 /keyfile/group-remove 1071s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1071s ok 12 /keyfile/key-remove 1071s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1071s ok 13 /keyfile/groups 1071s ok 14 /keyfile/duplicate-keys 1071s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1071s ok 15 /keyfile/duplicate-groups 1071s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1071s ok 16 /keyfile/duplicate-groups2 1071s ok 17 /keyfile/group-names 1071s ok 18 /keyfile/key-names 1071s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1071s ok 19 /keyfile/reload 1071s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1071s ok 20 /keyfile/int64 1071s ok 21 /keyfile/load 1071s ok 22 /keyfile/save 1071s ok 23 /keyfile/load-fail 1071s ok 24 /keyfile/non-utf8 1071s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1071s ok 25 /keyfile/page-boundary 1071s ok 26 /keyfile/ref 1071s ok 27 /keyfile/replace-value 1071s ok 28 /keyfile/list-separator 1071s ok 29 /keyfile/empty-string 1071s ok 30 /keyfile/limbo 1071s # Testing invalid encoding ?non-UTF-8? 1071s # Testing invalid encoding ?UTF? 1071s # Testing invalid encoding ?UTF-9? 1071s ok 31 /keyfile/utf8 1071s ok 32 /keyfile/roundtrip 1071s ok 33 /keyfile/bytes 1071s ok 34 /keyfile/get-locale 1071s ok 35 /keyfile/free-when-not-last-ref 1071s # Start of locale-string tests 1071s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1071s ok 36 /keyfile/locale-string/multiple-loads 1071s # End of locale-string tests 1071s # End of keyfile tests 1071s ok - glib/keyfile.test 1071s # Running test: glib/atomic-c-90.test 1071s TAP version 13 1071s # random seed: R02S7f8490b726cb9126443180cab482bef5 1071s 1..2 1071s # Start of atomic tests 1071s ok 1 /atomic/types 1071s ok 2 /atomic/threaded 1071s # End of atomic tests 1071s ok - glib/atomic-c-90.test 1071s # Running test: glib/gdbus-error.test 1071s TAP version 13 1071s # random seed: R02S571811a39c0aa939a957da0a0d197704 1071s 1..4 1071s # Start of gdbus tests 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_810JK2/gdbus/registered-errors/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_810JK2/gdbus/registered-errors/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_810JK2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_810JK2/gdbus/registered-errors/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_810JK2/gdbus/registered-errors/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_810JK2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_810JK2/gdbus/registered-errors/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_810JK2/gdbus/registered-errors/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_810JK2/gdbus/registered-errors/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_810JK2/gdbus/registered-errors/.dirs/runtime 1071s ok 1 /gdbus/registered-errors 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_810JK2/gdbus/unregistered-errors/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_810JK2/gdbus/unregistered-errors/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_810JK2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_810JK2/gdbus/unregistered-errors/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_810JK2/gdbus/unregistered-errors/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_810JK2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_810JK2/gdbus/unregistered-errors/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_810JK2/gdbus/unregistered-errors/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_810JK2/gdbus/unregistered-errors/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_810JK2/gdbus/unregistered-errors/.dirs/runtime 1071s ok 2 /gdbus/unregistered-errors 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_810JK2/gdbus/transparent-gerror/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_810JK2/gdbus/transparent-gerror/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_810JK2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_810JK2/gdbus/transparent-gerror/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_810JK2/gdbus/transparent-gerror/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_810JK2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_810JK2/gdbus/transparent-gerror/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_810JK2/gdbus/transparent-gerror/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_810JK2/gdbus/transparent-gerror/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_810JK2/gdbus/transparent-gerror/.dirs/runtime 1071s ok 3 /gdbus/transparent-gerror 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_810JK2/gdbus/register-error/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_810JK2/gdbus/register-error/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_810JK2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_810JK2/gdbus/register-error/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_810JK2/gdbus/register-error/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_810JK2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_810JK2/gdbus/register-error/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_810JK2/gdbus/register-error/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_810JK2/gdbus/register-error/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_810JK2/gdbus/register-error/.dirs/runtime 1071s ok 4 /gdbus/register-error 1071s # End of gdbus tests 1071s ok - glib/gdbus-error.test 1071s # Running test: glib/closure.test 1071s TAP version 13 1071s # random seed: R02S0d11ab25f1fc82ab0cfaf9efc934ddb1 1071s 1..6 1071s # Start of closure tests 1071s ok 1 /closure/idle 1071s ok 2 /closure/timeout 1071s ok 3 /closure/iochannel 1071s ok 4 /closure/child 1071s ok 5 /closure/fd 1071s ok 6 /closure/signal 1071s # End of closure tests 1071s ok - glib/closure.test 1071s # Running test: glib/custom-dispatch.test 1071s TAP version 13 1071s # random seed: R02S647ad4f13bc8a9817ce02ca5bb8c2424 1071s 1..2 1071s # Start of properties tests 1071s # Start of custom-dispatch tests 1071s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1071s ok 1 /properties/custom-dispatch/init 1071s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1071s ok 2 /properties/custom-dispatch/set 1071s # End of custom-dispatch tests 1071s # End of properties tests 1071s ok - glib/custom-dispatch.test 1071s # Running test: glib/private.test 1071s TAP version 13 1071s # random seed: R02S3eff9074a8a61a6dbee3f57d3234a367 1071s 1..8 1071s # Start of thread tests 1071s ok 1 /thread/private1 1072s ok 2 /thread/private2 1072s # slow test /thread/private2 executed in 1.12 secs 1072s ok 3 /thread/private3 1072s ok 4 /thread/staticprivate1 1072s ok 5 /thread/staticprivate2 1072s ok 6 /thread/staticprivate3 1073s ok 7 /thread/staticprivate4 1073s # slow test /thread/staticprivate4 executed in 1.23 secs 1073s ok 8 /thread/staticprivate5 1073s # End of thread tests 1073s ok - glib/private.test 1073s # Running test: glib/gdbus-peer.test 1073s TAP version 13 1073s # random seed: R02Sa7cc0732a3c08a46cb346df7d19bc38b 1073s 1..12 1073s # Start of gdbus tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/.dirs/runtime 1073s # Testing with unix:dir address 1073s # Testing with unix:tmpdir address 1073s # Testing with unix:path address 1073s ok 1 /gdbus/peer-to-peer 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/delayed-message-processing/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/delayed-message-processing/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_PTTYK2/gdbus/delayed-message-processing/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/delayed-message-processing/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_PTTYK2/gdbus/delayed-message-processing/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/delayed-message-processing/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/delayed-message-processing/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PTTYK2/gdbus/delayed-message-processing/.dirs/runtime 1073s # Testing with unix:dir address 1074s ok 2 /gdbus/delayed-message-processing 1074s # slow test /gdbus/delayed-message-processing executed in 0.52 secs 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/nonce-tcp/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/nonce-tcp/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_PTTYK2/gdbus/nonce-tcp/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/nonce-tcp/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_PTTYK2/gdbus/nonce-tcp/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/nonce-tcp/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/nonce-tcp/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PTTYK2/gdbus/nonce-tcp/.dirs/runtime 1075s # Executing: glib/gdbus-peer.test 1077s ok 3 /gdbus/nonce-tcp 1077s # slow test /gdbus/nonce-tcp executed in 2.71 secs 1077s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/tcp-anonymous/.dirs/home 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/tcp-anonymous/.dirs/cache 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_PTTYK2/gdbus/tcp-anonymous/.dirs/system-config2 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/tcp-anonymous/.dirs/config 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_PTTYK2/gdbus/tcp-anonymous/.dirs/system-data2 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/tcp-anonymous/.dirs/data 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/tcp-anonymous/.dirs/state 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PTTYK2/gdbus/tcp-anonymous/.dirs/runtime 1077s ok 4 /gdbus/tcp-anonymous 1077s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/credentials/.dirs/home 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/credentials/.dirs/cache 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_PTTYK2/gdbus/credentials/.dirs/system-config2 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/credentials/.dirs/config 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_PTTYK2/gdbus/credentials/.dirs/system-data2 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/credentials/.dirs/data 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/credentials/.dirs/state 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PTTYK2/gdbus/credentials/.dirs/runtime 1077s ok 5 /gdbus/credentials 1077s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/codegen-peer-to-peer/.dirs/home 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/codegen-peer-to-peer/.dirs/cache 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_PTTYK2/gdbus/codegen-peer-to-peer/.dirs/system-config2 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/codegen-peer-to-peer/.dirs/config 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_PTTYK2/gdbus/codegen-peer-to-peer/.dirs/system-data2 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/codegen-peer-to-peer/.dirs/data 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/codegen-peer-to-peer/.dirs/state 1077s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PTTYK2/gdbus/codegen-peer-to-peer/.dirs/runtime 1077s # Testing with unix:dir address 1077s # Machine ID: a9ca5777f49e483585f8bdc31af9b114 1078s ok 6 /gdbus/codegen-peer-to-peer 1078s # slow test /gdbus/codegen-peer-to-peer executed in 1.14 secs 1078s # Start of peer-to-peer tests 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/signals/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/signals/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/signals/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/signals/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/signals/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/signals/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/signals/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/signals/.dirs/runtime 1078s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1078s # Testing with unix:dir address 1078s ok 7 /gdbus/peer-to-peer/signals 1078s # Start of invalid tests 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/server/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/server/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/server/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/server/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/server/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1078s ok 8 /gdbus/peer-to-peer/invalid/server 1078s # Start of conn tests 1078s # Start of stream tests 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1078s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1078s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1078s # End of stream tests 1078s # Start of addr tests 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1078s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PTTYK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1078s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1078s # End of addr tests 1078s # End of conn tests 1078s # End of invalid tests 1078s # End of peer-to-peer tests 1078s # End of gdbus tests 1078s ok - glib/gdbus-peer.test 1078s # Running test: glib/environment.test 1078s TAP version 13 1078s # random seed: R02S4b795e7a42a61ccf761376c7e76e7d8a 1078s 1..6 1078s # Start of environ tests 1078s # /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. 1078s ok 1 /environ/listenv 1078s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1078s ok 2 /environ/getenv 1078s ok 3 /environ/setenv 1078s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1078s ok 4 /environ/array 1078s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1078s ok 5 /environ/null 1078s # /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. 1078s ok 6 /environ/case 1078s # End of environ tests 1078s ok - glib/environment.test 1078s # Running test: glib/gdbus-proxy-well-known-name.test 1078s TAP version 13 1078s # random seed: R02Sc8f1a83a66792552a6a3b88b34df9d9e 1078s 1..1 1078s # Start of gdbus tests 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_NJOKK2/gdbus/proxy-well-known-name/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_NJOKK2/gdbus/proxy-well-known-name/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_NJOKK2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_NJOKK2/gdbus/proxy-well-known-name/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_NJOKK2/gdbus/proxy-well-known-name/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_NJOKK2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_NJOKK2/gdbus/proxy-well-known-name/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_NJOKK2/gdbus/proxy-well-known-name/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_NJOKK2/gdbus/proxy-well-known-name/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_NJOKK2/gdbus/proxy-well-known-name/.dirs/runtime 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 1 /gdbus/proxy-well-known-name 1078s # End of gdbus tests 1078s ok - glib/gdbus-proxy-well-known-name.test 1078s # Running test: glib/portal-support-none.test 1078s TAP version 13 1078s # random seed: R02Sad143544fc5f424b2e237c76d19a77ef 1078s 1..1 1078s # Start of portal-support tests 1078s ok 1 /portal-support/none 1078s # End of portal-support tests 1078s ok - glib/portal-support-none.test 1078s # Running test: glib/notify-init.test 1078s TAP version 13 1078s # random seed: R02S406d3d3760913bc8763d70c681070036 1078s 1..1 1078s # Start of properties tests 1078s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1078s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1078s ok 1 /properties/notify-in-init 1078s # End of properties tests 1078s ok - glib/notify-init.test 1078s # Running test: glib/gdbus-connection.test 1078s TAP version 13 1078s # random seed: R02Saf3309053785088fbff44c54c5cbef23 1078s 1..9 1078s # Start of gdbus tests 1078s # Start of connection tests 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/bus-failure/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/bus-failure/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/bus-failure/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/bus-failure/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/bus-failure/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/bus-failure/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/bus-failure/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/bus-failure/.dirs/runtime 1078s ok 1 /gdbus/connection/bus-failure 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/basic/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/basic/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/basic/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/basic/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/basic/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/basic/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/basic/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/basic/.dirs/runtime 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 2 /gdbus/connection/basic 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/life-cycle/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/life-cycle/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/life-cycle/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/life-cycle/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/life-cycle/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/life-cycle/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/life-cycle/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/life-cycle/.dirs/runtime 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 3 /gdbus/connection/life-cycle 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/send/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/send/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/send/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/send/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/send/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/send/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/send/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/send/.dirs/runtime 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 4 /gdbus/connection/send 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signals/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signals/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signals/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signals/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signals/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signals/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signals/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signals/.dirs/runtime 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 5 /gdbus/connection/signals 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signal-match-rules/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signal-match-rules/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signal-match-rules/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signal-match-rules/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signal-match-rules/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signal-match-rules/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signal-match-rules/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/signal-match-rules/.dirs/runtime 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 6 /gdbus/connection/signal-match-rules 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/filter/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/filter/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/filter/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/filter/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/filter/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/filter/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/filter/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/filter/.dirs/runtime 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 7 /gdbus/connection/filter 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/serials/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/serials/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/serials/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/serials/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/serials/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/serials/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/serials/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/serials/.dirs/runtime 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 8 /gdbus/connection/serials 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/cancel/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/cancel/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/cancel/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/cancel/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_TWC4K2/gdbus/connection/cancel/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/cancel/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/cancel/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TWC4K2/gdbus/connection/cancel/.dirs/runtime 1078s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 9 /gdbus/connection/cancel 1078s # End of connection tests 1078s # End of gdbus tests 1078s ok - glib/gdbus-connection.test 1078s # Running test: glib/memory-output-stream.test 1078s TAP version 13 1078s # random seed: R02S0209bc970ac7e119431aed7a24dac39f 1078s 1..10 1078s # Start of memory-output-stream tests 1078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1078s ok 1 /memory-output-stream/truncate 1078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1078s ok 2 /memory-output-stream/get-data-size 1078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1078s ok 3 /memory-output-stream/properties 1078s ok 4 /memory-output-stream/write-bytes 1078s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1078s ok 5 /memory-output-stream/write-null 1078s ok 6 /memory-output-stream/writev 1078s ok 7 /memory-output-stream/writev_nonblocking 1078s ok 8 /memory-output-stream/steal_as_bytes 1078s # Start of seek tests 1078s ok 9 /memory-output-stream/seek/fixed 1078s ok 10 /memory-output-stream/seek/resizable 1078s # End of seek tests 1078s # End of memory-output-stream tests 1078s ok - glib/memory-output-stream.test 1078s # Running test: glib/option-context.test 1078s TAP version 13 1078s # random seed: R02S896ed0d2cfe04635cfeaf801029140e5 1078s 1..57 1078s # Start of option tests 1078s ok 1 /option/basic 1078s ok 2 /option/translate 1078s ok 3 /option/strict-posix 1078s # Start of help tests 1078s ok 4 /option/help/options 1078s ok 5 /option/help/no-options 1078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1078s ok 6 /option/help/no-help-options 1078s # End of help tests 1078s # Start of group tests 1078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1078s ok 7 /option/group/captions 1078s ok 8 /option/group/main 1078s ok 9 /option/group/error-hook 1078s ok 10 /option/group/parse 1078s # Start of captions tests 1078s # Start of subprocess tests 1078s # End of subprocess tests 1078s # End of captions tests 1078s # End of group tests 1078s # Start of restoration tests 1078s ok 11 /option/restoration/int 1078s ok 12 /option/restoration/string 1078s ok 13 /option/restoration/boolean 1078s # End of restoration tests 1078s # Start of arg tests 1078s ok 14 /option/arg/reverse-string 1078s ok 15 /option/arg/optional-int 1078s # Start of repetition tests 1078s ok 16 /option/arg/repetition/int 1078s ok 17 /option/arg/repetition/string 1078s ok 18 /option/arg/repetition/filename 1078s ok 19 /option/arg/repetition/double 1078s ok 20 /option/arg/repetition/locale 1078s ok 21 /option/arg/repetition/int64 1078s # End of repetition tests 1078s # Start of array tests 1078s ok 22 /option/arg/array/string 1078s # End of array tests 1078s # Start of callback tests 1078s ok 23 /option/arg/callback/string 1078s ok 24 /option/arg/callback/count 1078s ok 25 /option/arg/callback/optional1 1078s ok 26 /option/arg/callback/optional2 1078s ok 27 /option/arg/callback/optional3 1078s ok 28 /option/arg/callback/optional4 1078s ok 29 /option/arg/callback/optional5 1078s ok 30 /option/arg/callback/optional6 1078s ok 31 /option/arg/callback/optional7 1078s ok 32 /option/arg/callback/optional8 1078s # End of callback tests 1078s # Start of remaining tests 1078s ok 33 /option/arg/remaining/callback 1078s ok 34 /option/arg/remaining/callback-false 1078s ok 35 /option/arg/remaining/non-option 1078s ok 36 /option/arg/remaining/separator 1078s ok 37 /option/arg/remaining/array 1078s # End of remaining tests 1078s # Start of ignore tests 1078s ok 38 /option/arg/ignore/long 1078s ok 39 /option/arg/ignore/short 1078s ok 40 /option/arg/ignore/arg 1078s # End of ignore tests 1078s # Start of rest tests 1078s ok 41 /option/arg/rest/non-option 1078s ok 42 /option/arg/rest/separator1 1078s ok 43 /option/arg/rest/separator2 1078s ok 44 /option/arg/rest/separator3 1078s ok 45 /option/arg/rest/separator4 1078s ok 46 /option/arg/rest/separator5 1078s # End of rest tests 1078s # End of arg tests 1078s # Start of context tests 1078s ok 47 /option/context/add 1078s ok 48 /option/context/empty2 1078s ok 49 /option/context/empty3 1078s # End of context tests 1078s # Start of bug tests 1078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1078s ok 50 /option/bug/unknown-short 1078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1078s ok 51 /option/bug/lonely-dash 1078s ok 52 /option/bug/triple-dash 1078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1078s ok 53 /option/bug/missing-arg 1078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1078s ok 54 /option/bug/dash-arg 1078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1078s ok 55 /option/bug/short-remaining 1078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1078s ok 56 /option/bug/double-free 1078s ok 57 /option/bug/double-zero 1078s # End of bug tests 1078s # End of option tests 1078s ok - glib/option-context.test 1078s # Running test: glib/dynamictype.test 1079s TAP version 13 1079s # random seed: R02Sc1156e08ddc1c80e7e3ce7207eb3ffa5 1079s 1..2 1079s # Start of gobject tests 1079s ok 1 /gobject/dynamic-type 1079s # Start of dynamic-type tests 1079s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1079s ok 2 /gobject/dynamic-type/query 1079s # End of dynamic-type tests 1079s # End of gobject tests 1079s ok - glib/dynamictype.test 1079s # Running test: glib/gsubprocess.test 1079s TAP version 13 1079s # random seed: R02S8466688df37087f9d72a9c25caf37647 1079s 1..83 1079s # Start of gsubprocess tests 1079s ok 1 /gsubprocess/noop 1079s ok 2 /gsubprocess/noop-all-to-null 1079s ok 3 /gsubprocess/noop-no-wait 1079s ok 4 /gsubprocess/noop-stdin-inherit 1079s ok 5 /gsubprocess/search-path 1079s ok 6 /gsubprocess/search-path-from-envp 1080s # Executing: glib/gsubprocess.test 1082s ok 7 /gsubprocess/signal 1082s # slow test /gsubprocess/signal executed in 3.09 secs 1082s ok 8 /gsubprocess/exit1 1082s ok 9 /gsubprocess/echo1 1082s ok 10 /gsubprocess/echo-merged 1082s ok 11 /gsubprocess/cat-utf8 1083s ok 12 /gsubprocess/cat-eof 1083s # slow test /gsubprocess/cat-eof executed in 1.01 secs 1085s # Executing: glib/gsubprocess.test 1086s ok 13 /gsubprocess/multi1 1086s # slow test /gsubprocess/multi1 executed in 3.02 secs 1086s ok 14 /gsubprocess/communicate 1089s ok 15 /gsubprocess/terminate 1089s # slow test /gsubprocess/terminate executed in 2.86 secs 1089s ok 16 /gsubprocess/env 1089s ok 17 /gsubprocess/cwd 1089s ok 18 /gsubprocess/launcher-close 1089s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1089s ok 19 /gsubprocess/stdout-file 1089s ok 20 /gsubprocess/stdout-fd 1089s ok 21 /gsubprocess/child-setup 1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s ok 22 /gsubprocess/launcher-environment 1089s # Start of exit1 tests 1089s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1089s ok 23 /gsubprocess/exit1/cancel 1089s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1089s ok 24 /gsubprocess/exit1/cancel_in_cb 1089s # End of exit1 tests 1089s # Start of communicate tests 1089s ok 25 /gsubprocess/communicate/cancelled 1089s ok 26 /gsubprocess/communicate/async 1089s ok 27 /gsubprocess/communicate/utf8 1089s # hello world 1089s ok 28 /gsubprocess/communicate/no-pipes 1089s ok 29 /gsubprocess/communicate/separate-stderr 1089s ok 30 /gsubprocess/communicate/stdout-only 1089s # hello world 1089s ok 31 /gsubprocess/communicate/stderr-only 1089s ok 32 /gsubprocess/communicate/stdout-silence 1089s ok 33 /gsubprocess/communicate/nothing 1089s # Start of async tests 1089s ok 34 /gsubprocess/communicate/async/cancelled 1089s # hello world 1089s ok 35 /gsubprocess/communicate/async/no-pipes 1089s ok 36 /gsubprocess/communicate/async/separate-stderr 1089s ok 37 /gsubprocess/communicate/async/stdout-only 1089s # hello world 1089s ok 38 /gsubprocess/communicate/async/stderr-only 1089s ok 39 /gsubprocess/communicate/async/stdout-silence 1089s # Start of cancelled tests 1089s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1089s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1089s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1089s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1089s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1089s # End of cancelled tests 1089s # End of async tests 1089s # Start of utf8 tests 1089s ok 45 /gsubprocess/communicate/utf8/cancelled 1089s ok 46 /gsubprocess/communicate/utf8/async 1089s # hello world 1089s ok 47 /gsubprocess/communicate/utf8/no-pipes 1089s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1089s ok 49 /gsubprocess/communicate/utf8/stdout-only 1089s # hello world 1089s ok 50 /gsubprocess/communicate/utf8/stderr-only 1089s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1089s ok 52 /gsubprocess/communicate/utf8/invalid 1089s # Start of async tests 1089s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1089s # hello world 1089s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1089s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1089s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1089s # hello world 1089s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1089s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1089s ok 59 /gsubprocess/communicate/utf8/async/invalid 1089s # Start of cancelled tests 1089s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1089s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1089s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1089s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1089s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1089s # End of cancelled tests 1089s # End of async tests 1089s # Start of cancelled tests 1089s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1089s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1089s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1089s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1089s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1089s # End of cancelled tests 1089s # End of utf8 tests 1089s # Start of cancelled tests 1089s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1089s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1089s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1089s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1089s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1089s # End of cancelled tests 1089s # End of communicate tests 1089s # Start of env tests 1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s ok 75 /gsubprocess/env/inherit 1089s # End of env tests 1089s # Start of pass-fd tests 1089s ok 76 /gsubprocess/pass-fd/basic 1089s ok 77 /gsubprocess/pass-fd/empty-child-setup 1089s ok 78 /gsubprocess/pass-fd/inherit-fds 1089s # End of pass-fd tests 1089s # Start of fd-conflation tests 1089s ok 79 /gsubprocess/fd-conflation/basic 1089s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1089s ok 81 /gsubprocess/fd-conflation/inherit-fds 1089s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1089s # End of fd-conflation tests 1089s # Start of exit-status tests 1089s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1089s ok 83 /gsubprocess/exit-status/trapped 1089s # End of exit-status tests 1089s # End of gsubprocess tests 1089s ok - glib/gsubprocess.test 1089s # Running test: glib/properties-refcount2.test 1089s TAP version 13 1089s # random seed: R02S7932f3781c0b1643a44a2e5bc4f14cc5 1089s 1..1 1089s # Start of gobject tests 1089s # Start of refcount tests 1089s # init 0x16d1230 1089s # 1089s # . 1089s # . 1089s # . 1089s # . 1089s # . 1090s # . 1090s # . 1090s # Executing: glib/properties-refcount2.test 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 # . 1092s # . 1092s # . 1092s # . 1092s # . 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 # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # dispose 0x16d1230! 1094s # 1094s ok 1 /gobject/refcount/properties-2 1094s # slow test /gobject/refcount/properties-2 executed in 5.00 secs 1094s # End of refcount tests 1094s # End of gobject tests 1094s ok - glib/properties-refcount2.test 1094s # Running test: glib/utf8-pointer.test 1094s TAP version 13 1094s # random seed: R02S975b9335c29732588245bc338cba4254 1094s 1..3 1094s # Start of utf8 tests 1095s # Executing: glib/utf8-pointer.test 1096s ok 1 /utf8/offsets 1096s # slow test /utf8/offsets executed in 1.54 secs 1096s ok 2 /utf8/lengths 1096s ok 3 /utf8/find 1096s # End of utf8 tests 1096s ok - glib/utf8-pointer.test 1096s # Running test: glib/ifaceproperties.test 1096s TAP version 13 1096s # random seed: R02Sbf5000dba1a944aa04b73f7e0f625c2c 1096s 1..7 1096s # Start of interface tests 1096s # Start of properties tests 1096s ok 1 /interface/properties/set 1096s ok 2 /interface/properties/notify 1096s ok 3 /interface/properties/find-overridden 1096s ok 4 /interface/properties/list-overridden 1096s ok 5 /interface/properties/find-interface 1096s ok 6 /interface/properties/list-interface 1096s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1096s ok 7 /interface/properties/not-overridden 1096s # End of properties tests 1096s # End of interface tests 1096s ok - glib/ifaceproperties.test 1096s # Running test: glib/tls-certificate.test 1096s TAP version 13 1096s # random seed: R02S69e4898bba8df5f72593289f8dd9c88b 1096s 1..19 1096s # Start of tls-certificate tests 1096s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1096s ok 1 /tls-certificate/pem-parser 1096s ok 2 /tls-certificate/pem-parser-handles-chain 1096s ok 3 /tls-certificate/from_file 1096s ok 4 /tls-certificate/from_files 1096s ok 5 /tls-certificate/from_files_crlf 1096s ok 6 /tls-certificate/from_files_pkcs8 1096s ok 7 /tls-certificate/from_files_pkcs8enc 1096s ok 8 /tls-certificate/list_from_file 1096s ok 9 /tls-certificate/pkcs11-uri 1096s ok 10 /tls-certificate/pkcs11-uri-unsupported 1096s ok 11 /tls-certificate/from_pkcs12 1096s ok 12 /tls-certificate/from_pkcs12_file 1096s ok 13 /tls-certificate/not-valid-before 1096s ok 14 /tls-certificate/not-valid-after 1096s ok 15 /tls-certificate/subject-name 1096s ok 16 /tls-certificate/issuer-name 1096s ok 17 /tls-certificate/dns-names 1096s ok 18 /tls-certificate/ip-addresses 1096s ok 19 /tls-certificate/pem-parser-no-sentinel 1096s # End of tls-certificate tests 1096s ok - glib/tls-certificate.test 1096s # Running test: glib/memory-monitor-portal.test 1097s TAP version 13 1097s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1097s 1..1 1097s ok - glib/memory-monitor-portal.test 1097s # Running test: glib/value.test 1097s TAP version 13 1097s # random seed: R02Sd075dc7db7b6e121660e49c2b0afab1d 1097s 1..8 1097s # Start of value tests 1097s ok 1 /value/basic 1097s ok 2 /value/collection 1097s ok 3 /value/copying 1097s ok 4 /value/enum-transformation 1097s ok 5 /value/gtype 1097s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1097s ok 6 /value/string 1097s # Next: GObject object in GValue of GObject to GValue of GObject 1097s # Next: GObject object in GValue of GObject to GValue of TestInterface 1097s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1097s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1097s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1097s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1097s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1097s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1097s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1097s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1097s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1097s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1097s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1097s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1097s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1097s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1097s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1097s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1097s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1097s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1097s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1097s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1097s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1097s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1097s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1097s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1097s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1097s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1097s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1097s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1097s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1097s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1097s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1097s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1097s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1097s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1097s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1097s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1097s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1097s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1097s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1097s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1097s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1097s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1097s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1097s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1097s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1097s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1097s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1097s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1097s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1097s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1097s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1097s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1097s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1097s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1097s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1097s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1097s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1097s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1097s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1097s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1097s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1097s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1097s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1097s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1097s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1097s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1097s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1097s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1097s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1097s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1097s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1097s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1097s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1097s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1097s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1097s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1097s ok 7 /value/transform-object 1097s # Start of array tests 1097s ok 8 /value/array/basic 1097s # End of array tests 1097s # End of value tests 1097s ok - glib/value.test 1097s # Running test: glib/gdbus-sasl.test 1097s TAP version 13 1097s # random seed: R02S4d1da6dfab1f8fba9fcfdb193a812cff 1097s 1..1 1097s # Start of gdbus tests 1097s # Start of sasl tests 1097s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_CNVKK2/gdbus/sasl/server/.dirs/home 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_CNVKK2/gdbus/sasl/server/.dirs/cache 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_CNVKK2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_CNVKK2/gdbus/sasl/server/.dirs/system-config2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_CNVKK2/gdbus/sasl/server/.dirs/config 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_CNVKK2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_CNVKK2/gdbus/sasl/server/.dirs/system-data2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_CNVKK2/gdbus/sasl/server/.dirs/data 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_CNVKK2/gdbus/sasl/server/.dirs/state 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_CNVKK2/gdbus/sasl/server/.dirs/runtime 1097s # New handshake: EXTERNAL with incorrect initial response 1097s # C:“AUTH EXTERNAL 30” 1097s # Expect: /^REJECTED.*$/ 1097s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1097s # New handshake: EXTERNAL without initial response, failing to authenticate 1097s # C:“AUTH EXTERNAL” 1097s # Expect: /^DATA$/ 1097s # S:“DATA” 1097s # C:“DATA 30” 1097s # Expect: /^REJECTED.*$/ 1097s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1097s # New handshake: EXTERNAL with initial response 1097s # C:“AUTH EXTERNAL 31303030” 1097s # Expect: /^OK [0-9a-f]+$/ 1097s # S:“OK 544e672a285b8fa8cec9788565f7730c” 1097s # New handshake: EXTERNAL without initial response 1097s # C:“AUTH EXTERNAL” 1097s # Expect: /^DATA$/ 1097s # S:“DATA” 1097s # C:“DATA 31303030” 1097s # Expect: /^OK [0-9a-f]+$/ 1097s # S:“OK 544e672a285b8fa8cec9788565f7730c” 1097s # New handshake: EXTERNAL with empty authorization identity 1097s # C:“AUTH EXTERNAL” 1097s # Expect: /^DATA$/ 1097s # S:“DATA” 1097s # C:“DATA” 1097s # Expect: /^OK [0-9a-f]+$/ 1097s # S:“OK 544e672a285b8fa8cec9788565f7730c” 1097s # New handshake: EXTERNAL with empty authorization identity and whitespace 1097s # C:“AUTH EXTERNAL” 1097s # Expect: /^DATA$/ 1097s # S:“DATA” 1097s # C:“DATA ” 1097s # Expect: /^OK [0-9a-f]+$/ 1097s # S:“OK 544e672a285b8fa8cec9788565f7730c” 1097s ok 1 /gdbus/sasl/server 1097s # End of sasl tests 1097s # End of gdbus tests 1097s ok - glib/gdbus-sasl.test 1097s # Running test: glib/module-test-plugin.test 1097s TAP version 13 1097s # random seed: R02S5c9cab57140ae60a9e3b48e1555c64a7 1097s 1..2 1097s # Start of module tests 1097s ok 1 /module/basics 1097s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1097s ok 2 /module/invalid-libtool-archive 1097s # End of module tests 1097s ok - glib/module-test-plugin.test 1097s # Running test: glib/cache.test 1097s TAP version 13 1097s # random seed: R02Sd2d2e72eeea406043f8bffd72205fe84 1097s 1..1 1097s # Start of cache tests 1097s ok 1 /cache/basic 1097s # End of cache tests 1097s ok - glib/cache.test 1097s # Running test: glib/guuid.test 1097s TAP version 13 1097s # random seed: R02S0e0ef713019b99eed36f0fbc914ede31 1097s 1..2 1097s # Start of uuid tests 1097s ok 1 /uuid/string 1097s ok 2 /uuid/random 1097s # End of uuid tests 1097s ok - glib/guuid.test 1097s # Running test: glib/references.test 1097s TAP version 13 1097s # random seed: R02S72a402ff858cc309e25febbbd3bf1a44 1097s 1..1 1097s # Start of gobject tests 1097s ok 1 /gobject/references 1097s # End of gobject tests 1097s ok - glib/references.test 1097s # Running test: glib/mainloop.test 1097s TAP version 13 1097s # random seed: R02Sb94d5bc533b7c21c0dbd3f2bb55d8002 1097s 1..45 1097s # Start of maincontext tests 1097s ok 1 /maincontext/basic 1097s # Add same-priority sources: 55 1097s # Find each source: 9 1097s # Remove in random order: 89 1097s ok 2 /maincontext/nsources_same_priority 1097s # Add different-priority sources: 57 1097s # Find each source: 9 1098s # Remove in random order: 103 1098s ok 3 /maincontext/nsources_different_priority 1099s # Add sources from threads: 1605 1100s # Executing: glib/mainloop.test 1101s # Remove sources from threads: 1912 1101s ok 4 /maincontext/nsources_threadpool 1101s # slow test /maincontext/nsources_threadpool executed in 3.57 secs 1101s ok 5 /maincontext/source_finalization 1101s # /maincontext/idle-once summary: Test g_idle_add_once() works 1101s ok 6 /maincontext/idle-once 1101s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1101s ok 7 /maincontext/timeout-once 1101s # Start of source_finalization_from_source tests 1101s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1101s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1101s ok 8 /maincontext/source_finalization_from_source/0 1101s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1101s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1101s ok 9 /maincontext/source_finalization_from_source/1 1101s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1101s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1101s ok 10 /maincontext/source_finalization_from_source/2 1101s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1101s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1101s ok 11 /maincontext/source_finalization_from_source/3 1101s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1101s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1101s ok 12 /maincontext/source_finalization_from_source/4 1101s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1101s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1101s ok 13 /maincontext/source_finalization_from_source/5 1101s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1101s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1101s ok 14 /maincontext/source_finalization_from_source/6 1101s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1101s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1101s ok 15 /maincontext/source_finalization_from_source/7 1101s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1101s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1101s ok 16 /maincontext/source_finalization_from_source/8 1101s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1101s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1101s ok 17 /maincontext/source_finalization_from_source/9 1101s # End of source_finalization_from_source tests 1101s # Start of source_finalization_from_dispatch tests 1101s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1101s ok 18 /maincontext/source_finalization_from_dispatch/0 1101s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1101s ok 19 /maincontext/source_finalization_from_dispatch/1 1101s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1101s ok 20 /maincontext/source_finalization_from_dispatch/2 1101s # End of source_finalization_from_dispatch tests 1101s # End of maincontext tests 1101s # Start of mainloop tests 1101s ok 21 /mainloop/basic 1101s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1101s ok 23 /mainloop/priorities 1102s ok 24 /mainloop/invoke 1102s # slow test /mainloop/invoke executed in 0.50 secs 1102s ok 25 /mainloop/child_sources # SKIP Not reliable on older ARM hardware 1102s ok 26 /mainloop/recursive_child_sources # SKIP Not reliable on older ARM hardware 1102s ok 27 /mainloop/recursive_loop_child_sources 1102s ok 28 /mainloop/swapping_child_sources 1102s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1102s ok 29 /mainloop/blocked_child_sources 1103s ok 30 /mainloop/source_time 1103s # slow test /mainloop/source_time executed in 1.00 secs 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1103s ok 31 /mainloop/overflow 1103s ok 32 /mainloop/ready-time 1103s # slow test /mainloop/ready-time executed in 0.50 secs 1103s ok 33 /mainloop/wakeup 1103s ok 34 /mainloop/remove-invalid 1103s ok 35 /mainloop/unref-while-pending 1105s # Executing: glib/mainloop.test 1107s ok 36 /mainloop/unix-fd 1107s # slow test /mainloop/unix-fd executed in 3.54 secs 1107s ok 37 /mainloop/unix-fd-source 1107s ok 38 /mainloop/source-unix-fd-api 1107s ok 39 /mainloop/wait 1107s ok 40 /mainloop/unix-file-poll 1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1107s ok 41 /mainloop/unix-fd-priority 1107s ok 42 /mainloop/nfds 1107s ok 43 /mainloop/steal-fd 1107s # Start of ownerless-polling tests 1107s ok 44 /mainloop/ownerless-polling/attach-first 1107s ok 45 /mainloop/ownerless-polling/pop-first 1107s # End of ownerless-polling tests 1107s # End of mainloop tests 1107s ok - glib/mainloop.test 1107s # Running test: glib/pattern.test 1107s TAP version 13 1107s # random seed: R02Se17518711d16109921488b57c8d290d0 1107s 1..90 1107s # Start of pattern tests 1107s # Start of compile tests 1107s ok 1 /pattern/compile/0 1107s ok 2 /pattern/compile/1 1107s ok 3 /pattern/compile/2 1107s ok 4 /pattern/compile/3 1107s ok 5 /pattern/compile/4 1107s ok 6 /pattern/compile/5 1107s ok 7 /pattern/compile/6 1107s ok 8 /pattern/compile/7 1107s ok 9 /pattern/compile/8 1107s ok 10 /pattern/compile/9 1107s ok 11 /pattern/compile/10 1107s ok 12 /pattern/compile/11 1107s ok 13 /pattern/compile/12 1107s ok 14 /pattern/compile/13 1107s # End of compile tests 1107s # Start of copy tests 1107s ok 15 /pattern/copy/0 1107s ok 16 /pattern/copy/1 1107s ok 17 /pattern/copy/2 1107s ok 18 /pattern/copy/3 1107s ok 19 /pattern/copy/4 1107s ok 20 /pattern/copy/5 1107s ok 21 /pattern/copy/6 1107s ok 22 /pattern/copy/7 1107s ok 23 /pattern/copy/8 1107s ok 24 /pattern/copy/9 1107s ok 25 /pattern/copy/10 1107s ok 26 /pattern/copy/11 1107s ok 27 /pattern/copy/12 1107s ok 28 /pattern/copy/13 1107s # End of copy tests 1107s # Start of match tests 1107s ok 29 /pattern/match/0 1107s ok 30 /pattern/match/1 1107s ok 31 /pattern/match/2 1107s ok 32 /pattern/match/3 1107s ok 33 /pattern/match/4 1107s ok 34 /pattern/match/5 1107s ok 35 /pattern/match/6 1107s ok 36 /pattern/match/7 1107s ok 37 /pattern/match/8 1107s ok 38 /pattern/match/9 1107s ok 39 /pattern/match/10 1107s ok 40 /pattern/match/11 1107s ok 41 /pattern/match/12 1107s ok 42 /pattern/match/13 1107s ok 43 /pattern/match/14 1107s ok 44 /pattern/match/15 1107s ok 45 /pattern/match/16 1107s ok 46 /pattern/match/17 1107s ok 47 /pattern/match/18 1107s ok 48 /pattern/match/19 1107s ok 49 /pattern/match/20 1107s ok 50 /pattern/match/21 1107s ok 51 /pattern/match/22 1107s ok 52 /pattern/match/23 1107s ok 53 /pattern/match/24 1107s ok 54 /pattern/match/25 1107s ok 55 /pattern/match/26 1107s ok 56 /pattern/match/27 1107s ok 57 /pattern/match/28 1107s ok 58 /pattern/match/29 1107s ok 59 /pattern/match/30 1107s ok 60 /pattern/match/31 1107s ok 61 /pattern/match/32 1107s ok 62 /pattern/match/33 1107s ok 63 /pattern/match/34 1107s ok 64 /pattern/match/35 1107s ok 65 /pattern/match/36 1107s ok 66 /pattern/match/37 1107s ok 67 /pattern/match/38 1107s ok 68 /pattern/match/39 1107s ok 69 /pattern/match/40 1107s ok 70 /pattern/match/41 1107s ok 71 /pattern/match/42 1107s ok 72 /pattern/match/43 1107s ok 73 /pattern/match/44 1107s ok 74 /pattern/match/45 1107s ok 75 /pattern/match/46 1107s ok 76 /pattern/match/47 1107s ok 77 /pattern/match/48 1107s ok 78 /pattern/match/49 1107s ok 79 /pattern/match/50 1107s # End of match tests 1107s # Start of equal tests 1107s ok 80 /pattern/equal/0 1107s ok 81 /pattern/equal/1 1107s ok 82 /pattern/equal/2 1107s ok 83 /pattern/equal/3 1107s ok 84 /pattern/equal/4 1107s ok 85 /pattern/equal/5 1107s ok 86 /pattern/equal/6 1107s ok 87 /pattern/equal/7 1107s ok 88 /pattern/equal/8 1107s ok 89 /pattern/equal/9 1107s ok 90 /pattern/equal/10 1107s # End of equal tests 1107s # End of pattern tests 1107s ok - glib/pattern.test 1107s # Running test: glib/mem-overflow.test 1107s TAP version 13 1107s # random seed: R02S50618d195af692c923673fe930b9b6af 1107s 1..2 1107s # Start of mem tests 1107s ok 1 /mem/overflow 1107s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1107s ok 2 /mem/empty-alloc 1107s # Start of overflow tests 1107s # Start of subprocess tests 1107s # End of subprocess tests 1107s # End of overflow tests 1107s # Start of empty-alloc tests 1107s # End of empty-alloc tests 1107s # End of mem tests 1107s ok - glib/mem-overflow.test 1107s # Running test: glib/gdbus-connection-loss.test 1107s TAP version 13 1107s # random seed: R02Sd5b1f8bbd39cd4a690883fbfa0a02bf0 1107s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1107s 1..1 1107s # Start of gdbus tests 1107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_Z8IXK2/gdbus/connection-loss/.dirs/home 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_Z8IXK2/gdbus/connection-loss/.dirs/cache 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_Z8IXK2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_Z8IXK2/gdbus/connection-loss/.dirs/system-config2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_Z8IXK2/gdbus/connection-loss/.dirs/config 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_Z8IXK2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_Z8IXK2/gdbus/connection-loss/.dirs/system-data2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_Z8IXK2/gdbus/connection-loss/.dirs/data 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_Z8IXK2/gdbus/connection-loss/.dirs/state 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_Z8IXK2/gdbus/connection-loss/.dirs/runtime 1108s ok 1 /gdbus/connection-loss 1108s # End of gdbus tests 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s ok - glib/gdbus-connection-loss.test 1108s # Running test: glib/onceinit.test 1108s TAP version 13 1108s # random seed: R02Sff1dacd481d519eb27d950b13a7446e4 1108s 1..1 1108s # Start of thread tests 1108s ok 1 /thread/onceinit 1108s # End of thread tests 1108s ok - glib/onceinit.test 1108s # Running test: glib/debugcontroller.test 1108s TAP version 13 1108s # random seed: R02S8eeebcd44034c1e7a6b8afe6ccfdaab0 1108s 1..3 1108s # Start of debug-controller tests 1108s # Start of dbus tests 1108s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1108s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1108s # GLib-GIO-DEBUG: Debug output enabled 1108s # GLib-GIO-DEBUG: Debug output disabled 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s ok 1 /debug-controller/dbus/basic 1108s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1108s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1108s ok 2 /debug-controller/dbus/duplicate 1108s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1108s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1108s # End of dbus tests 1108s # End of debug-controller tests 1108s ok - glib/debugcontroller.test 1108s # Running test: glib/sort.test 1108s TAP version 13 1108s # random seed: R02Sc57afb018710a44df6ad04ecbd76603c 1108s 1..4 1108s # Start of sort tests 1108s ok 1 /sort/basic 1108s ok 2 /sort/zero-elements 1108s ok 3 /sort/stable 1108s ok 4 /sort/big 1108s # End of sort tests 1108s ok - glib/sort.test 1108s # Running test: glib/gdbus-connection-flush.test 1108s TAP version 13 1108s # random seed: R02S61691b7b18ec7b44827f5ad20435cabc 1108s 1..2 1108s # Start of gdbus tests 1108s # Start of connection tests 1108s # Start of flush tests 1108s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/busy/.dirs/home 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/busy/.dirs/cache 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/busy/.dirs/system-config2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/busy/.dirs/config 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/busy/.dirs/system-data2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/busy/.dirs/data 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/busy/.dirs/state 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/busy/.dirs/runtime 1108s ok 1 /gdbus/connection/flush/busy 1108s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/idle/.dirs/home 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/idle/.dirs/cache 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/idle/.dirs/system-config2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/idle/.dirs/config 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/idle/.dirs/system-data2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/idle/.dirs/data 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/idle/.dirs/state 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_CQTNK2/gdbus/connection/flush/idle/.dirs/runtime 1108s ok 2 /gdbus/connection/flush/idle 1108s # End of flush tests 1108s # End of connection tests 1108s # End of gdbus tests 1108s ok - glib/gdbus-connection-flush.test 1108s # Running test: glib/signals-refcount2.test 1108s TAP version 13 1108s # random seed: R02Sf9e83ffc8af3cd33a86b622126a78d4e 1108s 1..1 1108s # Start of gobject tests 1108s # Start of refcount tests 1108s # init 0x19e2a50 1108s # 1108s # init 0x19e2ba8 1108s # 1110s # Executing: glib/signals-refcount2.test 1113s # dispose 0x19e2a50! 1113s # 1113s # dispose 0x19e2ba8! 1113s # 1113s ok 1 /gobject/refcount/signals 1113s # slow test /gobject/refcount/signals executed in 5.01 secs 1113s # End of refcount tests 1113s # End of gobject tests 1113s ok - glib/signals-refcount2.test 1113s # Running test: glib/642026.test 1113s TAP version 13 1113s # random seed: R02S2ca40f9c25586204c67827061c88d641 1113s 1..1 1113s # Start of glib tests 1113s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1114s ok 1 /glib/642026 1114s # End of glib tests 1114s ok - glib/642026.test 1114s # Running test: glib/unicode-encoding.test 1114s TAP version 13 1114s # random seed: R02S54337ee256f882d5ab0920e80c3eb72c 1114s 1..1 1114s # Start of unicode tests 1114s ok 1 /unicode/encoding 1114s # End of unicode tests 1114s ok - glib/unicode-encoding.test 1114s # Running test: glib/bytes.test 1114s TAP version 13 1114s # random seed: R02S558492ecd00feef40b72127a9d451654 1114s 1..21 1114s # Start of bytes tests 1114s ok 1 /bytes/new 1114s ok 2 /bytes/new-take 1114s ok 3 /bytes/new-static 1114s ok 4 /bytes/new-with-free-func 1114s ok 5 /bytes/new-from-bytes 1114s ok 6 /bytes/new-from-bytes-slice 1114s ok 7 /bytes/new-from-bytes-shared-ref 1114s ok 8 /bytes/hash 1114s ok 9 /bytes/equal 1114s ok 10 /bytes/compare 1114s ok 11 /bytes/null 1114s ok 12 /bytes/get-region 1114s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1114s ok 13 /bytes/unref-null 1114s # Start of to-data tests 1114s ok 14 /bytes/to-data/transferred 1114s ok 15 /bytes/to-data/two-refs 1114s ok 16 /bytes/to-data/non-malloc 1114s ok 17 /bytes/to-data/different-free-func 1114s # End of to-data tests 1114s # Start of to-array tests 1114s ok 18 /bytes/to-array/transferred 1114s ok 19 /bytes/to-array/two-refs 1114s ok 20 /bytes/to-array/non-malloc 1114s # Start of transferred tests 1114s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1114s ok 21 /bytes/to-array/transferred/oversize # SKIP Skipping test as guint is not smaller than gsize 1114s # End of transferred tests 1114s # End of to-array tests 1114s # End of bytes tests 1114s ok - glib/bytes.test 1114s # Running test: glib/markup.test 1114s TAP version 13 1114s # random seed: R02Sfde6618acdecbecf634aa2ee72168e46 1114s 1..1 1114s # Start of markup tests 1114s ok 1 /markup/stack 1114s # End of markup tests 1114s ok - glib/markup.test 1114s # Running test: glib/type-flags.test 1114s TAP version 13 1114s # random seed: R02S8a7efba94082c9563eb1170de908ecf7 1114s 1..4 1114s # Start of type tests 1114s # Start of flags tests 1114s ok 1 /type/flags/interface 1114s ok 2 /type/flags/final 1114s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1114s ok 3 /type/flags/deprecated 1114s # Start of final tests 1114s ok 4 /type/flags/final/instance-check 1114s # End of final tests 1114s # End of flags tests 1114s # End of type tests 1114s ok - glib/type-flags.test 1114s # Running test: glib/atomic-c-11.test 1114s TAP version 13 1114s # random seed: R02S22c36a568bd7934ff31a3b87e03b46a8 1114s 1..2 1114s # Start of atomic tests 1114s ok 1 /atomic/types 1114s ok 2 /atomic/threaded 1114s # End of atomic tests 1114s ok - glib/atomic-c-11.test 1114s # Running test: glib/hook.test 1114s TAP version 13 1114s # random seed: R02Sc97c86f0785ba35d09ecbc7de95fc2e7 1114s 1..2 1114s # Start of hook tests 1114s ok 1 /hook/basics 1114s ok 2 /hook/corner-cases 1114s # End of hook tests 1114s ok - glib/hook.test 1114s # Running test: glib/tls-database.test 1114s TAP version 13 1114s # random seed: R02S35eb0b1dd3e080f6b43b793767cec01e 1114s 1..1 1114s # Start of tls-backend tests 1114s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1114s ok 1 /tls-backend/set-default-database 1114s # End of tls-backend tests 1114s ok - glib/tls-database.test 1114s # Running test: glib/srvtarget.test 1114s TAP version 13 1114s # random seed: R02S1969cd735174dbf4a4c088859e28b148 1114s 1..1 1114s # Start of srvtarget tests 1115s # Executing: glib/srvtarget.test 1116s ok 1 /srvtarget/srv-target-ordering 1116s # slow test /srvtarget/srv-target-ordering executed in 1.76 secs 1116s # End of srvtarget tests 1116s ok - glib/srvtarget.test 1116s # Running test: glib/macros-c-11.test 1116s TAP version 13 1116s # random seed: R02Scbd11a65a15064c3c718ec57bfdf5771 1116s 1..4 1116s # Start of C tests 1116s ok 1 /C/standard-11 1116s # End of C tests 1116s # Start of alignof tests 1116s ok 2 /alignof/fallback 1116s # End of alignof tests 1116s # Start of assert tests 1116s ok 3 /assert/static 1116s # End of assert tests 1116s # Start of struct tests 1116s ok 4 /struct/sizeof_member 1116s # End of struct tests 1116s ok - glib/macros-c-11.test 1116s # Running test: glib/tree.test 1116s TAP version 13 1116s # random seed: R02S954f5168d51f48e1b29f5ba775fc3033 1116s 1..7 1116s # Start of tree tests 1116s ok 1 /tree/search 1116s ok 2 /tree/remove 1116s ok 3 /tree/destroy 1116s ok 4 /tree/traverse 1116s ok 5 /tree/insert 1116s ok 6 /tree/bounds 1116s ok 7 /tree/remove-all 1116s # End of tree tests 1116s ok - glib/tree.test 1116s # Running test: glib/properties-refcount1.test 1116s TAP version 13 1116s # random seed: R02S75c8e151d008d9347b9b9adb342998af 1116s 1..1 1116s # Start of gobject tests 1116s # Start of refcount tests 1116s # .c 1116s # .e 1116s # .b 1116s # .f 1116s # .d 1116s # .c 1116s # .f 1116s # .e 1116s # .b 1116s # .d 1117s # .c 1117s # .f 1117s # .e 1117s # .d 1117s # .b 1117s # .f 1117s # .d 1117s # .c 1117s # .e 1117s # .b 1117s # .e 1117s # .d 1117s # .b 1117s # .f 1117s # .c 1117s # .e 1117s # .b 1118s # .d 1118s # .f 1118s # .c 1118s # .e 1118s # .b 1118s # .c 1118s # .d 1118s # .b 1118s # .e 1118s # .f 1118s # .f 1118s # .e 1118s # .c 1118s # .d 1118s # .b 1118s # .f 1119s # .c 1119s # .d 1119s # .e 1119s # .b 1119s # .f 1119s # .d 1119s # .e 1119s # .c 1119s # .b 1119s ok 1 /gobject/refcount/properties-1 1119s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1119s # End of refcount tests 1119s # End of gobject tests 1119s ok - glib/properties-refcount1.test 1119s # Running test: glib/struct-info.test 1119s TAP version 13 1119s # random seed: R02S7ad22a7ac5ab1963db7e41a08ec2abdd 1119s 1..4 1119s # Start of struct-info tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_YE7JK2/struct-info/field-iterators/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_YE7JK2/struct-info/field-iterators/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_YE7JK2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_YE7JK2/struct-info/field-iterators/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_YE7JK2/struct-info/field-iterators/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_YE7JK2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_YE7JK2/struct-info/field-iterators/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_YE7JK2/struct-info/field-iterators/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_YE7JK2/struct-info/field-iterators/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_YE7JK2/struct-info/field-iterators/.dirs/runtime 1119s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1119s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1119s ok 1 /struct-info/field-iterators 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_YE7JK2/struct-info/sizeof-gvalue/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_YE7JK2/struct-info/sizeof-gvalue/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_YE7JK2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_YE7JK2/struct-info/sizeof-gvalue/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_YE7JK2/struct-info/sizeof-gvalue/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_YE7JK2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_YE7JK2/struct-info/sizeof-gvalue/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_YE7JK2/struct-info/sizeof-gvalue/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_YE7JK2/struct-info/sizeof-gvalue/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_YE7JK2/struct-info/sizeof-gvalue/.dirs/runtime 1119s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1119s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1119s ok 2 /struct-info/sizeof-gvalue 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_YE7JK2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_YE7JK2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_YE7JK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_YE7JK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_YE7JK2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_YE7JK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_YE7JK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_YE7JK2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_YE7JK2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_YE7JK2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1119s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1119s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1119s ok 3 /struct-info/is-pointer-for-struct-method-arg 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_YE7JK2/struct-info/boxed/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_YE7JK2/struct-info/boxed/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_YE7JK2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_YE7JK2/struct-info/boxed/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_YE7JK2/struct-info/boxed/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_YE7JK2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_YE7JK2/struct-info/boxed/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_YE7JK2/struct-info/boxed/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_YE7JK2/struct-info/boxed/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_YE7JK2/struct-info/boxed/.dirs/runtime 1119s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1119s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1119s ok 4 /struct-info/boxed 1119s # End of struct-info tests 1119s ok - glib/struct-info.test 1119s # Running test: glib/node.test 1119s TAP version 13 1119s # random seed: R02S4dcc8cd6adc8c8f4964294788ad58278 1119s 1..6 1119s # Start of node tests 1119s ok 1 /node/allocation 1119s ok 2 /node/construction 1119s ok 3 /node/traversal 1119s ok 4 /node/misc 1119s ok 5 /node/unlink 1119s ok 6 /node/copy 1119s # End of node tests 1119s ok - glib/node.test 1119s # Running test: glib/sleepy-stream.test 1119s TAP version 13 1119s # random seed: R02S6e9a11943d8195f9d21e14ffd18e2ecf 1119s 1..2 1119s # Start of filter-stream tests 1119s ok 1 /filter-stream/input 1119s ok 2 /filter-stream/async 1119s # End of filter-stream tests 1119s ok - glib/sleepy-stream.test 1119s # Running test: glib/dataset.test 1119s TAP version 13 1119s # random seed: R02S9e2ac6f18ed0163ddd9e1da47130bc91 1119s 1..14 1119s # Start of quark tests 1119s ok 1 /quark/basic 1119s ok 2 /quark/string 1119s # End of quark tests 1119s # Start of dataset tests 1119s ok 3 /dataset/basic 1119s ok 4 /dataset/id 1119s ok 5 /dataset/full 1119s ok 6 /dataset/foreach 1119s ok 7 /dataset/destroy 1119s # End of dataset tests 1119s # Start of datalist tests 1119s ok 8 /datalist/basic 1119s ok 9 /datalist/id 1119s ok 10 /datalist/recursive-clear 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1119s ok 11 /datalist/id-remove-multiple 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1119s ok 12 /datalist/id-remove-multiple-destroy-order 1119s ok 13 /datalist/update-atomic 1119s # Start of id-remove-multiple tests 1119s ok 14 /datalist/id-remove-multiple/resize 1119s # End of id-remove-multiple tests 1119s # End of datalist tests 1119s ok - glib/dataset.test 1119s # Running test: glib/gdbus-bz627724.test 1119s TAP version 13 1119s # random seed: R02S6937e0baea03081d1420aae6f1a2efa9 1119s 1..1 1119s # Start of gdbus tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_8D43K2/gdbus/bz627724/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_8D43K2/gdbus/bz627724/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_8D43K2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_8D43K2/gdbus/bz627724/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_8D43K2/gdbus/bz627724/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_8D43K2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_8D43K2/gdbus/bz627724/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_8D43K2/gdbus/bz627724/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_8D43K2/gdbus/bz627724/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_8D43K2/gdbus/bz627724/.dirs/runtime 1119s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1119s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1119s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1119s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1119s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1119s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1119s ok 1 /gdbus/bz627724 1119s # End of gdbus tests 1119s ok - glib/gdbus-bz627724.test 1119s # Running test: glib/portal-support-flatpak-gsettings-only.test 1119s TAP version 13 1119s # random seed: R02S313168e689827040b9769516cb08b989 1119s 1..1 1119s # Start of portal-support tests 1119s # Start of flatpak tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_SJN2K2/portal-support/flatpak/gsettings/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_SJN2K2/portal-support/flatpak/gsettings/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_SJN2K2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_SJN2K2/portal-support/flatpak/gsettings/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_SJN2K2/portal-support/flatpak/gsettings/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_SJN2K2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_SJN2K2/portal-support/flatpak/gsettings/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_SJN2K2/portal-support/flatpak/gsettings/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_SJN2K2/portal-support/flatpak/gsettings/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_SJN2K2/portal-support/flatpak/gsettings/.dirs/runtime 1119s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_SJN2K2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1119s ok 1 /portal-support/flatpak/gsettings 1119s # End of flatpak tests 1119s # End of portal-support tests 1119s ok - glib/portal-support-flatpak-gsettings-only.test 1119s # Running test: glib/collate.test 1119s TAP version 13 1119s # random seed: R02S3f56c762669ec2ff6a485213788aa4f4 1119s 1..9 1119s # Start of unicode tests 1119s # Start of collate tests 1119s ok 1 /unicode/collate/0 1119s ok 2 /unicode/collate/1 1119s ok 3 /unicode/collate/2 1119s # End of collate tests 1119s # Start of collate-key tests 1119s ok 4 /unicode/collate-key/0 1119s ok 5 /unicode/collate-key/1 1119s ok 6 /unicode/collate-key/2 1119s # End of collate-key tests 1119s # Start of collate-filename tests 1119s ok 7 /unicode/collate-filename/0 1119s ok 8 /unicode/collate-filename/1 1119s ok 9 /unicode/collate-filename/2 1119s # End of collate-filename tests 1119s # End of unicode tests 1119s ok - glib/collate.test 1119s # Running test: glib/refstring.test 1119s TAP version 13 1119s # random seed: R02S42c04162c25ef76845d0f1cac9561d96 1119s 1..5 1119s # Start of refstring tests 1119s # s = 'hello, world' (0x22cceb0) 1119s ok 1 /refstring/base 1119s ok 2 /refstring/length 1119s ok 3 /refstring/length-auto 1119s ok 4 /refstring/length-nuls 1119s # s = 'hello, world' (0x22c4fb0) 1119s # p = s = 'hello, world' (0x22c4fb0) 1119s # releasing p[0x22c4fb0] ('hello, world') 1119s # p = 'goodbye, world' (0x22c4fd8) 1119s # releasing p[0x22c4fd8] ('goodbye, world') 1119s # releasing s[0x22c4fb0] ('hello, world') 1119s ok 5 /refstring/intern 1119s # End of refstring tests 1119s ok - glib/refstring.test 1119s # Running test: glib/signals-refcount4.test 1119s TAP version 13 1119s # random seed: R02Se3dcc061ce7fed0e5bc076a66b03b8f3 1119s 1..1 1119s # Start of gobject tests 1119s # Start of refcount tests 1119s # init 0x189ea50 1119s # 1119s # init 0x189eba8 1119s # 1120s # Executing: glib/signals-refcount4.test 1124s # dispose 0x189ea50! 1124s # 1124s # dispose 0x189eba8! 1124s # 1124s ok 1 /gobject/refcount/signals 1124s # slow test /gobject/refcount/signals executed in 5.01 secs 1124s # End of refcount tests 1124s # End of gobject tests 1124s ok - glib/signals-refcount4.test 1124s # Running test: glib/charset.test 1124s TAP version 13 1124s # random seed: R02Scf8eaf7731b0c656111d1fcbf4902dde 1124s 1..2 1124s # Start of charset tests 1124s # Test 0 1124s # Test 1 1124s # Test 2 1124s # Test 3 1124s ok 1 /charset/language_names_with_category 1124s ok 2 /charset/language_names_with_category_async 1124s # End of charset tests 1124s ok - glib/charset.test 1124s # Running test: glib/file.test 1124s TAP version 13 1124s # random seed: R02S40643a843d02bf7e4d30d9ea5ca6e9d3 1124s 1..50 1124s # Start of file tests 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/basic/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/basic/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/basic/.dirs/system-config1:/tmp/test_file_BFO1K2/file/basic/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/basic/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/basic/.dirs/system-data1:/tmp/test_file_BFO1K2/file/basic/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/basic/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/basic/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/basic/.dirs/runtime 1124s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1124s ok 1 /file/basic 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/build-filename/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/build-filename/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/build-filename/.dirs/system-config1:/tmp/test_file_BFO1K2/file/build-filename/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/build-filename/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/build-filename/.dirs/system-data1:/tmp/test_file_BFO1K2/file/build-filename/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/build-filename/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/build-filename/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/build-filename/.dirs/runtime 1124s ok 2 /file/build-filename 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/build-filenamev/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/build-filenamev/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_BFO1K2/file/build-filenamev/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/build-filenamev/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_BFO1K2/file/build-filenamev/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/build-filenamev/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/build-filenamev/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/build-filenamev/.dirs/runtime 1124s ok 3 /file/build-filenamev 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/parent/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/parent/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/parent/.dirs/system-config1:/tmp/test_file_BFO1K2/file/parent/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/parent/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/parent/.dirs/system-data1:/tmp/test_file_BFO1K2/file/parent/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/parent/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/parent/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/parent/.dirs/runtime 1124s ok 4 /file/parent 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/child/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/child/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/child/.dirs/system-config1:/tmp/test_file_BFO1K2/file/child/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/child/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/child/.dirs/system-data1:/tmp/test_file_BFO1K2/file/child/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/child/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/child/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/child/.dirs/runtime 1124s ok 5 /file/child 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/empty-path/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/empty-path/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/empty-path/.dirs/system-config1:/tmp/test_file_BFO1K2/file/empty-path/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/empty-path/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/empty-path/.dirs/system-data1:/tmp/test_file_BFO1K2/file/empty-path/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/empty-path/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/empty-path/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/empty-path/.dirs/runtime 1124s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1124s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1124s ok 6 /file/empty-path 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/type/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/type/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/type/.dirs/system-config1:/tmp/test_file_BFO1K2/file/type/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/type/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/type/.dirs/system-data1:/tmp/test_file_BFO1K2/file/type/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/type/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/type/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/type/.dirs/runtime 1124s ok 7 /file/type 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/parse-name/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/parse-name/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/parse-name/.dirs/system-config1:/tmp/test_file_BFO1K2/file/parse-name/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/parse-name/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/parse-name/.dirs/system-data1:/tmp/test_file_BFO1K2/file/parse-name/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/parse-name/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/parse-name/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/parse-name/.dirs/runtime 1124s ok 8 /file/parse-name 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/replace-load/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/replace-load/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/replace-load/.dirs/system-config1:/tmp/test_file_BFO1K2/file/replace-load/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/replace-load/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/replace-load/.dirs/system-data1:/tmp/test_file_BFO1K2/file/replace-load/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/replace-load/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/replace-load/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/replace-load/.dirs/runtime 1124s ok 9 /file/replace-load 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/replace-cancel/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/replace-cancel/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_BFO1K2/file/replace-cancel/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/replace-cancel/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_BFO1K2/file/replace-cancel/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/replace-cancel/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/replace-cancel/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/replace-cancel/.dirs/runtime 1124s # Bug Reference: https://bugzilla.gnome.org/629301 1124s ok 10 /file/replace-cancel 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/replace-symlink/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/replace-symlink/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_BFO1K2/file/replace-symlink/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/replace-symlink/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_BFO1K2/file/replace-symlink/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/replace-symlink/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/replace-symlink/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/replace-symlink/.dirs/runtime 1124s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1124s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1124s # Using temporary directory /tmp/test_file_BFO1K2/g_file_replace_symlink_FO5ZK2 1124s ok 11 /file/replace-symlink 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/async-new-tmp/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/async-new-tmp/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_BFO1K2/file/async-new-tmp/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/async-new-tmp/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_BFO1K2/file/async-new-tmp/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/async-new-tmp/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/async-new-tmp/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/async-new-tmp/.dirs/runtime 1124s ok 12 /file/async-new-tmp 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/async-new-tmp-dir/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/async-new-tmp-dir/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_BFO1K2/file/async-new-tmp-dir/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/async-new-tmp-dir/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_BFO1K2/file/async-new-tmp-dir/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/async-new-tmp-dir/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/async-new-tmp-dir/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/async-new-tmp-dir/.dirs/runtime 1124s ok 13 /file/async-new-tmp-dir 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/async-delete/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/async-delete/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/async-delete/.dirs/system-config1:/tmp/test_file_BFO1K2/file/async-delete/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/async-delete/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/async-delete/.dirs/system-data1:/tmp/test_file_BFO1K2/file/async-delete/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/async-delete/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/async-delete/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/async-delete/.dirs/runtime 1124s ok 14 /file/async-delete 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/async-make-symlink/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/async-make-symlink/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_BFO1K2/file/async-make-symlink/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/async-make-symlink/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_BFO1K2/file/async-make-symlink/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/async-make-symlink/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/async-make-symlink/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/async-make-symlink/.dirs/runtime 1124s ok 15 /file/async-make-symlink 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/copy-preserve-mode/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/copy-preserve-mode/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_BFO1K2/file/copy-preserve-mode/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/copy-preserve-mode/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_BFO1K2/file/copy-preserve-mode/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/copy-preserve-mode/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/copy-preserve-mode/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/copy-preserve-mode/.dirs/runtime 1124s # Current umask: 2 1124s # Vector 0 1124s # Vector 1 1124s # Vector 2 1124s # Vector 3 1124s # Vector 4 1124s # Vector 5 1124s # Vector 6 1124s # Vector 7 1124s # Vector 8 1124s # Vector 9 1124s # Vector 10 1124s ok 16 /file/copy-preserve-mode 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/measure/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/measure/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/measure/.dirs/system-config1:/tmp/test_file_BFO1K2/file/measure/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/measure/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/measure/.dirs/system-data1:/tmp/test_file_BFO1K2/file/measure/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/measure/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/measure/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/measure/.dirs/runtime 1124s ok 17 /file/measure 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/measure-async/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/measure-async/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/measure-async/.dirs/system-config1:/tmp/test_file_BFO1K2/file/measure-async/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/measure-async/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/measure-async/.dirs/system-data1:/tmp/test_file_BFO1K2/file/measure-async/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/measure-async/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/measure-async/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/measure-async/.dirs/runtime 1124s ok 18 /file/measure-async 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/load-bytes/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/load-bytes/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/load-bytes/.dirs/system-config1:/tmp/test_file_BFO1K2/file/load-bytes/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/load-bytes/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/load-bytes/.dirs/system-data1:/tmp/test_file_BFO1K2/file/load-bytes/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/load-bytes/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/load-bytes/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/load-bytes/.dirs/runtime 1124s ok 19 /file/load-bytes 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/load-bytes-async/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/load-bytes-async/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_BFO1K2/file/load-bytes-async/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/load-bytes-async/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_BFO1K2/file/load-bytes-async/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/load-bytes-async/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/load-bytes-async/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/load-bytes-async/.dirs/runtime 1124s ok 20 /file/load-bytes-async 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/writev/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/writev/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/writev/.dirs/system-config1:/tmp/test_file_BFO1K2/file/writev/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/writev/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/writev/.dirs/system-data1:/tmp/test_file_BFO1K2/file/writev/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/writev/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/writev/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/writev/.dirs/runtime 1124s ok 21 /file/writev 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/build-attribute-list-for-copy/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/build-attribute-list-for-copy/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_BFO1K2/file/build-attribute-list-for-copy/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/build-attribute-list-for-copy/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_BFO1K2/file/build-attribute-list-for-copy/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/build-attribute-list-for-copy/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/build-attribute-list-for-copy/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/build-attribute-list-for-copy/.dirs/runtime 1124s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1124s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1124s # 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::* 1124s # 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::* 1124s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1124s # Attributes for copy: standard::size,xattr::* 1124s # Attributes for copy: standard::size,unix::mode,xattr::* 1124s ok 22 /file/build-attribute-list-for-copy 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/move_async/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/move_async/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/move_async/.dirs/system-config1:/tmp/test_file_BFO1K2/file/move_async/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/move_async/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/move_async/.dirs/system-data1:/tmp/test_file_BFO1K2/file/move_async/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/move_async/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/move_async/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/move_async/.dirs/runtime 1124s ok 23 /file/move_async 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/query-zero-length-content-type/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/query-zero-length-content-type/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_BFO1K2/file/query-zero-length-content-type/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/query-zero-length-content-type/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_BFO1K2/file/query-zero-length-content-type/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/query-zero-length-content-type/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/query-zero-length-content-type/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/query-zero-length-content-type/.dirs/runtime 1124s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1124s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1124s ok 24 /file/query-zero-length-content-type 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/query-default-handler-file/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/query-default-handler-file/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_BFO1K2/file/query-default-handler-file/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/query-default-handler-file/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_BFO1K2/file/query-default-handler-file/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/query-default-handler-file/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/query-default-handler-file/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/query-default-handler-file/.dirs/runtime 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BFO1K2/file/query-default-handler-file/.dirs/data/applications 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BFO1K2/file/query-default-handler-file/.dirs/config 1124s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BFO1K2/file/query-default-handler-file/.dirs/config 1125s # Executing: glib/file.test 1125s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BFO1K2/file/query-default-handler-file/.dirs/config 1125s ok 25 /file/query-default-handler-file 1125s # slow test /file/query-default-handler-file executed in 0.55 secs 1125s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/query-default-handler-file-async/.dirs/home 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/query-default-handler-file-async/.dirs/cache 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_BFO1K2/file/query-default-handler-file-async/.dirs/system-config2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/query-default-handler-file-async/.dirs/config 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_BFO1K2/file/query-default-handler-file-async/.dirs/system-data2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/query-default-handler-file-async/.dirs/data 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/query-default-handler-file-async/.dirs/state 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/query-default-handler-file-async/.dirs/runtime 1125s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BFO1K2/file/query-default-handler-file-async/.dirs/data/applications 1125s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BFO1K2/file/query-default-handler-file-async/.dirs/config 1125s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_BFO1K2/file/query-default-handler-file/.dirs/config to /tmp/test_file_BFO1K2/file/query-default-handler-file-async/.dirs/config 1125s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BFO1K2/file/query-default-handler-file-async/.dirs/config 1125s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BFO1K2/file/query-default-handler-file-async/.dirs/config 1125s ok 26 /file/query-default-handler-file-async 1125s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/query-default-handler-uri/.dirs/home 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/query-default-handler-uri/.dirs/cache 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_BFO1K2/file/query-default-handler-uri/.dirs/system-config2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/query-default-handler-uri/.dirs/config 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_BFO1K2/file/query-default-handler-uri/.dirs/system-data2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/query-default-handler-uri/.dirs/data 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/query-default-handler-uri/.dirs/state 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/query-default-handler-uri/.dirs/runtime 1125s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BFO1K2/file/query-default-handler-uri/.dirs/data/applications 1125s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BFO1K2/file/query-default-handler-uri/.dirs/config 1125s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_BFO1K2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_BFO1K2/file/query-default-handler-uri/.dirs/config 1125s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BFO1K2/file/query-default-handler-uri/.dirs/config 1125s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BFO1K2/file/query-default-handler-uri/.dirs/config 1125s ok 27 /file/query-default-handler-uri 1125s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/query-default-handler-uri-async/.dirs/home 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/query-default-handler-uri-async/.dirs/cache 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_BFO1K2/file/query-default-handler-uri-async/.dirs/system-config2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/query-default-handler-uri-async/.dirs/config 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_BFO1K2/file/query-default-handler-uri-async/.dirs/system-data2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/query-default-handler-uri-async/.dirs/data 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/query-default-handler-uri-async/.dirs/state 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/query-default-handler-uri-async/.dirs/runtime 1125s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BFO1K2/file/query-default-handler-uri-async/.dirs/data/applications 1125s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BFO1K2/file/query-default-handler-uri-async/.dirs/config 1125s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_BFO1K2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_BFO1K2/file/query-default-handler-uri-async/.dirs/config 1125s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BFO1K2/file/query-default-handler-uri-async/.dirs/config 1125s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BFO1K2/file/query-default-handler-uri-async/.dirs/config 1125s ok 28 /file/query-default-handler-uri-async 1125s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/enumerator-cancellation/.dirs/home 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/enumerator-cancellation/.dirs/cache 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_BFO1K2/file/enumerator-cancellation/.dirs/system-config2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/enumerator-cancellation/.dirs/config 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_BFO1K2/file/enumerator-cancellation/.dirs/system-data2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/enumerator-cancellation/.dirs/data 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/enumerator-cancellation/.dirs/state 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/enumerator-cancellation/.dirs/runtime 1125s ok 29 /file/enumerator-cancellation 1125s # Start of async-create-delete tests 1125s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/async-create-delete/0/.dirs/home 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/0/.dirs/cache 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_BFO1K2/file/async-create-delete/0/.dirs/system-config2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/0/.dirs/config 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_BFO1K2/file/async-create-delete/0/.dirs/system-data2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/0/.dirs/data 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/0/.dirs/state 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/async-create-delete/0/.dirs/runtime 1125s ok 30 /file/async-create-delete/0 1125s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/async-create-delete/1/.dirs/home 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/1/.dirs/cache 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_BFO1K2/file/async-create-delete/1/.dirs/system-config2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/1/.dirs/config 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_BFO1K2/file/async-create-delete/1/.dirs/system-data2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/1/.dirs/data 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/1/.dirs/state 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/async-create-delete/1/.dirs/runtime 1125s ok 31 /file/async-create-delete/1 1125s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/async-create-delete/10/.dirs/home 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/10/.dirs/cache 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_BFO1K2/file/async-create-delete/10/.dirs/system-config2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/10/.dirs/config 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_BFO1K2/file/async-create-delete/10/.dirs/system-data2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/10/.dirs/data 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/10/.dirs/state 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/async-create-delete/10/.dirs/runtime 1125s ok 32 /file/async-create-delete/10 1125s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/async-create-delete/25/.dirs/home 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/25/.dirs/cache 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_BFO1K2/file/async-create-delete/25/.dirs/system-config2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/25/.dirs/config 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_BFO1K2/file/async-create-delete/25/.dirs/system-data2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/25/.dirs/data 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/25/.dirs/state 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/async-create-delete/25/.dirs/runtime 1125s ok 33 /file/async-create-delete/25 1125s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/async-create-delete/4096/.dirs/home 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/4096/.dirs/cache 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_BFO1K2/file/async-create-delete/4096/.dirs/system-config2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/4096/.dirs/config 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_BFO1K2/file/async-create-delete/4096/.dirs/system-data2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/4096/.dirs/data 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/async-create-delete/4096/.dirs/state 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/async-create-delete/4096/.dirs/runtime 1125s ok 34 /file/async-create-delete/4096 1125s # End of async-create-delete tests 1125s # Start of replace-symlink tests 1125s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/replace-symlink/using-etag/.dirs/home 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/replace-symlink/using-etag/.dirs/cache 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_BFO1K2/file/replace-symlink/using-etag/.dirs/system-config2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/replace-symlink/using-etag/.dirs/config 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_BFO1K2/file/replace-symlink/using-etag/.dirs/system-data2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/replace-symlink/using-etag/.dirs/data 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/replace-symlink/using-etag/.dirs/state 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/replace-symlink/using-etag/.dirs/runtime 1125s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1125s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1125s # Using temporary directory /tmp/test_file_BFO1K2/g_file_replace_symlink_using_etag_AN5WK2 1127s ok 35 /file/replace-symlink/using-etag 1127s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1127s # End of replace-symlink tests 1127s # Start of replace tests 1127s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/replace/write-only/.dirs/home 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/replace/write-only/.dirs/cache 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_BFO1K2/file/replace/write-only/.dirs/system-config2 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/replace/write-only/.dirs/config 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_BFO1K2/file/replace/write-only/.dirs/system-data2 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/replace/write-only/.dirs/data 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/replace/write-only/.dirs/state 1127s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/replace/write-only/.dirs/runtime 1127s # /file/replace/write-only summary: Test various situations for g_file_replace() 1127s # Current umask: 2 1127s # Test 0, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_SEPVK2 1127s # Test 1, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_Y8PVK2 1127s # Test 2, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_JYMVK2 1127s # Test 3, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_22JVK2 1127s # Test 4, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_21DVK2 1127s # Test 5, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_F4FVK2 1127s # Test 6, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_7PBVK2 1128s # Test 7, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_N08UK2 1128s # Test 8, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_5VAVK2 1128s # Test 9, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_L84UK2 1128s # Test 10, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_116UK2 1128s # Test 11, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_QX3UK2 1128s # Test 12, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_B5DWK2 1128s # Test 13, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_4FEWK2 1128s # Test 14, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_5OBWK2 1128s # Test 15, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_RT8VK2 1128s # Test 16, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_AH4VK2 1128s # Test 17, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_570VK2 1128s # Test 18, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_E4XVK2 1128s # Test 19, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_HYTVK2 1128s # Test 20, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_SARVK2 1128s # Test 21, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_7M9TK2 1128s # Test 22, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_B95TK2 1128s # Test 23, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_R26TK2 1128s # Test 24, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_OV2TK2 1128s # Test 25, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_2VZTK2 1128s # Test 26, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_UT1TK2 1128s # Test 27, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_B41TK2 1128s # Test 28, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_70VSK2 1128s # Test 29, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_94TSK2 1128s # Test 30, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_EGPSK2 1128s # Test 31, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_O4PSK2 1128s # Test 32, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_PUMSK2 1128s # Test 33, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_7PKSK2 1128s # Test 34, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_BTESK2 1128s # Test 35, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_4SGSK2 1128s # Test 36, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_XXDSK2 1128s # Test 37, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_4RJTK2 1128s # Test 38, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_EXGTK2 1128s # Test 39, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_ILDTK2 1128s # Test 40, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_FFBTK2 1128s # Test 41, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_FA8SK2 1128s # Test 42, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_Q75SK2 1128s # Test 43, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_KY2SK2 1128s # Test 44, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_AD0SK2 1128s # Test 45, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_OZFRK2 1128s # Test 46, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_5ODRK2 1128s # Test 47, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_SUFRK2 1128s # Test 48, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_NW7QK2 1128s # We do not have CAP_DAC_OVERRIDE or equivalent 1128s ok 36 /file/replace/write-only 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/replace/read-write/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/replace/read-write/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_BFO1K2/file/replace/read-write/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/replace/read-write/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_BFO1K2/file/replace/read-write/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/replace/read-write/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/replace/read-write/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/replace/read-write/.dirs/runtime 1128s # /file/replace/read-write summary: Test various situations for g_file_replace() 1128s # Current umask: 2 1128s # Test 0, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_NA3QK2 1128s # Test 1, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_YH5QK2 1128s # Test 2, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_602QK2 1128s # Test 3, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_LKUQK2 1128s # Test 4, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_WUVQK2 1128s # Test 5, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_MW5RK2 1128s # Test 6, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_RD2RK2 1128s # Test 7, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_HSZRK2 1128s # Test 8, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_Y0VRK2 1128s # Test 9, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_ZVWRK2 1128s # Test 10, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_MDSPK2 1128s # Test 11, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_O1PPK2 1128s # Test 12, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_MKRPK2 1128s # Test 13, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_C5MPK2 1128s # Test 14, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_RIJPK2 1128s # Test 15, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_5YGPK2 1128s # Test 16, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_UJTQK2 1128s # Test 17, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_6ALQK2 1128s # Test 18, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_QMAQK2 1128s # Test 19, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_G46PK2 1128s # Test 20, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_14JOK2 1128s # Test 21, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_HRGOK2 1128s # Test 22, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_5DEOK2 1128s # Test 23, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_3BFOK2 1128s # Test 24, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_WBDOK2 1128s # Test 25, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_FP9NK2 1128s # Test 26, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_XG5NK2 1128s # Test 27, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_906NK2 1128s # Test 28, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_UL3NK2 1128s # Test 29, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_GK9OK2 1128s # Test 30, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_BLAPK2 1128s # Test 31, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_UFBPK2 1128s # Test 32, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_O02OK2 1128s # Test 33, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_HB0OK2 1128s # Test 34, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_P51OK2 1128s # Test 35, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_VNXOK2 1128s # Test 36, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_U4TOK2 1128s # Test 37, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_QUSOK2 1128s # Test 38, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_MC6MK2 1128s # Test 39, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_VOZMK2 1128s # Test 40, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_7EXMK2 1128s # Test 41, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_W6TMK2 1128s # Test 42, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_A8RMK2 1128s # Test 43, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_TNOMK2 1128s # Test 44, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_BKWNK2 1128s # Test 45, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_25WNK2 1128s # Test 46, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_M1TNK2 1128s # Test 47, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_0JPNK2 1128s # Test 48, using temporary directory /tmp/test_file_BFO1K2/g_file_replace_26LNK2 1128s # We do not have CAP_DAC_OVERRIDE or equivalent 1128s ok 37 /file/replace/read-write 1128s # End of replace tests 1128s # Start of copy tests 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/copy/progress/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/copy/progress/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/copy/progress/.dirs/system-config1:/tmp/test_file_BFO1K2/file/copy/progress/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/copy/progress/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/copy/progress/.dirs/system-data1:/tmp/test_file_BFO1K2/file/copy/progress/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/copy/progress/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/copy/progress/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/copy/progress/.dirs/runtime 1128s ok 38 /file/copy/progress 1128s # End of copy tests 1128s # Start of writev tests 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/writev/no-bytes-written/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/writev/no-bytes-written/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_BFO1K2/file/writev/no-bytes-written/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/writev/no-bytes-written/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_BFO1K2/file/writev/no-bytes-written/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/writev/no-bytes-written/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/writev/no-bytes-written/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/writev/no-bytes-written/.dirs/runtime 1128s ok 39 /file/writev/no-bytes-written 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/writev/no-vectors/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/writev/no-vectors/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_BFO1K2/file/writev/no-vectors/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/writev/no-vectors/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_BFO1K2/file/writev/no-vectors/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/writev/no-vectors/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/writev/no-vectors/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/writev/no-vectors/.dirs/runtime 1128s ok 40 /file/writev/no-vectors 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/writev/empty-vectors/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/writev/empty-vectors/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_BFO1K2/file/writev/empty-vectors/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/writev/empty-vectors/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_BFO1K2/file/writev/empty-vectors/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/writev/empty-vectors/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/writev/empty-vectors/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/writev/empty-vectors/.dirs/runtime 1128s ok 41 /file/writev/empty-vectors 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/writev/too-big-vectors/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/writev/too-big-vectors/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_BFO1K2/file/writev/too-big-vectors/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/writev/too-big-vectors/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_BFO1K2/file/writev/too-big-vectors/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/writev/too-big-vectors/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/writev/too-big-vectors/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/writev/too-big-vectors/.dirs/runtime 1128s ok 42 /file/writev/too-big-vectors 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/writev/async/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/writev/async/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/writev/async/.dirs/system-config1:/tmp/test_file_BFO1K2/file/writev/async/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/writev/async/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/writev/async/.dirs/system-data1:/tmp/test_file_BFO1K2/file/writev/async/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/writev/async/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/writev/async/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/writev/async/.dirs/runtime 1128s ok 43 /file/writev/async 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/writev/async_all/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/writev/async_all/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_BFO1K2/file/writev/async_all/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/writev/async_all/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_BFO1K2/file/writev/async_all/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/writev/async_all/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/writev/async_all/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/writev/async_all/.dirs/runtime 1128s ok 44 /file/writev/async_all 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/writev/async_all-empty-vectors/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/writev/async_all-empty-vectors/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_BFO1K2/file/writev/async_all-empty-vectors/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/writev/async_all-empty-vectors/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_BFO1K2/file/writev/async_all-empty-vectors/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/writev/async_all-empty-vectors/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/writev/async_all-empty-vectors/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/writev/async_all-empty-vectors/.dirs/runtime 1128s ok 45 /file/writev/async_all-empty-vectors 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/writev/async_all-no-vectors/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/writev/async_all-no-vectors/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_BFO1K2/file/writev/async_all-no-vectors/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/writev/async_all-no-vectors/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_BFO1K2/file/writev/async_all-no-vectors/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/writev/async_all-no-vectors/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/writev/async_all-no-vectors/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/writev/async_all-no-vectors/.dirs/runtime 1128s ok 46 /file/writev/async_all-no-vectors 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/writev/async_all-to-big-vectors/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/writev/async_all-to-big-vectors/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_BFO1K2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/writev/async_all-to-big-vectors/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_BFO1K2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/writev/async_all-to-big-vectors/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/writev/async_all-to-big-vectors/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/writev/async_all-to-big-vectors/.dirs/runtime 1128s ok 47 /file/writev/async_all-to-big-vectors 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/writev/async_all-cancellation/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/writev/async_all-cancellation/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_BFO1K2/file/writev/async_all-cancellation/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/writev/async_all-cancellation/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_BFO1K2/file/writev/async_all-cancellation/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/writev/async_all-cancellation/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/writev/async_all-cancellation/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/writev/async_all-cancellation/.dirs/runtime 1128s ok 48 /file/writev/async_all-cancellation 1128s # End of writev tests 1128s # Start of from-uri tests 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/from-uri/ignores-query-string/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/from-uri/ignores-query-string/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_BFO1K2/file/from-uri/ignores-query-string/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/from-uri/ignores-query-string/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_BFO1K2/file/from-uri/ignores-query-string/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/from-uri/ignores-query-string/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/from-uri/ignores-query-string/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/from-uri/ignores-query-string/.dirs/runtime 1128s ok 49 /file/from-uri/ignores-query-string 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BFO1K2/file/from-uri/ignores-fragment/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BFO1K2/file/from-uri/ignores-fragment/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BFO1K2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_BFO1K2/file/from-uri/ignores-fragment/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BFO1K2/file/from-uri/ignores-fragment/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BFO1K2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_BFO1K2/file/from-uri/ignores-fragment/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BFO1K2/file/from-uri/ignores-fragment/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BFO1K2/file/from-uri/ignores-fragment/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BFO1K2/file/from-uri/ignores-fragment/.dirs/runtime 1128s ok 50 /file/from-uri/ignores-fragment 1128s # End of from-uri tests 1128s # End of file tests 1128s ok - glib/file.test 1128s # Running test: glib/credentials.test 1128s TAP version 13 1128s # random seed: R02S3323d783ecc6c1175aa4a49c5c2516ed 1128s 1..1 1128s # Start of credentials tests 1128s # GCredentials:linux-ucred:pid=12161,uid=1000,gid=1000 1128s # GCredentials:linux-ucred:pid=12161,uid=0,gid=1000 1128s ok 1 /credentials/basic 1128s # End of credentials tests 1128s ok - glib/credentials.test 1128s # Running test: glib/gnotification.test 1128s TAP version 13 1128s # random seed: R02S31371e9357762da20e4e7f52a4fb085d 1128s 1..2 1128s # Start of gnotification tests 1128s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1128s ok 1 /gnotification/basic 1128s ok 2 /gnotification/properties 1128s # End of gnotification tests 1128s ok - glib/gnotification.test 1128s # Running test: glib/object-info.test 1128s TAP version 13 1128s # random seed: R02S0a117ba136fa1706230f56d748d39c16 1128s 1..2 1128s # Start of object-info tests 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_573KK2/object-info/find-method-using-interfaces/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_573KK2/object-info/find-method-using-interfaces/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_573KK2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_573KK2/object-info/find-method-using-interfaces/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_573KK2/object-info/find-method-using-interfaces/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_573KK2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_573KK2/object-info/find-method-using-interfaces/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_573KK2/object-info/find-method-using-interfaces/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_573KK2/object-info/find-method-using-interfaces/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_573KK2/object-info/find-method-using-interfaces/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s ok 1 /object-info/find-method-using-interfaces 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_573KK2/object-info/find-vfunc-using-interfaces/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_573KK2/object-info/find-vfunc-using-interfaces/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_573KK2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_573KK2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_573KK2/object-info/find-vfunc-using-interfaces/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_573KK2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_573KK2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_573KK2/object-info/find-vfunc-using-interfaces/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_573KK2/object-info/find-vfunc-using-interfaces/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_573KK2/object-info/find-vfunc-using-interfaces/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s ok 2 /object-info/find-vfunc-using-interfaces 1128s # End of object-info tests 1128s ok - glib/object-info.test 1128s # Running test: glib/repository.test 1128s TAP version 13 1128s # random seed: R02Sbe06fdf60823f6d0593ab49b5d8331c9 1128s 1..20 1128s # Start of repository tests 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/basic/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/basic/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/basic/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/basic/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/basic/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/basic/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/basic/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/basic/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/basic/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/basic/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1128s ok 1 /repository/basic 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/info/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/info/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/info/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/info/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/info/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/info/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/info/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/info/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/info/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/info/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1128s ok 2 /repository/info 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/dependencies/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/dependencies/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/dependencies/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/dependencies/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/dependencies/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/dependencies/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/dependencies/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/dependencies/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1128s ok 3 /repository/dependencies 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/arg-info/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/arg-info/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/arg-info/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/arg-info/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/arg-info/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/arg-info/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/arg-info/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/arg-info/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1128s ok 4 /repository/arg-info 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/callable-info/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/callable-info/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/callable-info/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/callable-info/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/callable-info/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/callable-info/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/callable-info/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/callable-info/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1128s ok 5 /repository/callable-info 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/callback-info/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/callback-info/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/callback-info/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/callback-info/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/callback-info/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/callback-info/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/callback-info/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/callback-info/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1128s ok 6 /repository/callback-info 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/char-types/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/char-types/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/char-types/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/char-types/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/char-types/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/char-types/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/char-types/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/char-types/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/char-types/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/char-types/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1128s ok 7 /repository/char-types 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/constructor-return-type/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/constructor-return-type/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/constructor-return-type/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/constructor-return-type/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/constructor-return-type/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/constructor-return-type/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/constructor-return-type/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/constructor-return-type/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1128s ok 8 /repository/constructor-return-type 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/enum-info-c-identifier/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/enum-info-c-identifier/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/enum-info-c-identifier/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/enum-info-c-identifier/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/enum-info-c-identifier/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/enum-info-c-identifier/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/enum-info-c-identifier/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/enum-info-c-identifier/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1128s ok 9 /repository/enum-info-c-identifier 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/enum-info-static-methods/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/enum-info-static-methods/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/enum-info-static-methods/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/enum-info-static-methods/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/enum-info-static-methods/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/enum-info-static-methods/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/enum-info-static-methods/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/enum-info-static-methods/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/enum-info-static-methods summary: Test an enum with methods 1128s ok 10 /repository/enum-info-static-methods 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/error-quark/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/error-quark/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/error-quark/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/error-quark/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/error-quark/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/error-quark/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/error-quark/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/error-quark/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/error-quark summary: Test finding an error quark by error domain 1128s ok 11 /repository/error-quark 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/flags-info-c-identifier/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/flags-info-c-identifier/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/flags-info-c-identifier/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/flags-info-c-identifier/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/flags-info-c-identifier/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/flags-info-c-identifier/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/flags-info-c-identifier/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/flags-info-c-identifier/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1128s ok 12 /repository/flags-info-c-identifier 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/fundamental-ref-func/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/fundamental-ref-func/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/fundamental-ref-func/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/fundamental-ref-func/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/fundamental-ref-func/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/fundamental-ref-func/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/fundamental-ref-func/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/fundamental-ref-func/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1128s ok 13 /repository/fundamental-ref-func 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/instance-method-ownership-transfer/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/instance-method-ownership-transfer/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/instance-method-ownership-transfer/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/instance-method-ownership-transfer/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/instance-method-ownership-transfer/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/instance-method-ownership-transfer/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/instance-method-ownership-transfer/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/instance-method-ownership-transfer/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1128s ok 14 /repository/instance-method-ownership-transfer 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/object-gtype-interfaces/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/object-gtype-interfaces/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/object-gtype-interfaces/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/object-gtype-interfaces/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/object-gtype-interfaces/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/object-gtype-interfaces/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/object-gtype-interfaces/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/object-gtype-interfaces/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1128s ok 15 /repository/object-gtype-interfaces 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/signal-info-with-array-length-arg/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/signal-info-with-array-length-arg/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/signal-info-with-array-length-arg/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/signal-info-with-array-length-arg/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/signal-info-with-array-length-arg/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/signal-info-with-array-length-arg/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/signal-info-with-array-length-arg/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/signal-info-with-array-length-arg/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1128s ok 16 /repository/signal-info-with-array-length-arg 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/type-info-name/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/type-info-name/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/type-info-name/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/type-info-name/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/type-info-name/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/type-info-name/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/type-info-name/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/type-info-name/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1128s ok 17 /repository/type-info-name 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-no-invoker/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-no-invoker/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-no-invoker/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-no-invoker/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-no-invoker/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-no-invoker/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1128s ok 18 /repository/vfunc-info-with-no-invoker 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1128s ok 19 /repository/vfunc-info-with-invoker-on-interface 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-object/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-object/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-object/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-object/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U7OKK2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1128s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1128s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1128s ok 20 /repository/vfunc-info-with-invoker-on-object 1128s # End of repository tests 1128s ok - glib/repository.test 1128s # Running test: glib/gdbus-proxy.test 1128s TAP version 13 1128s # random seed: R02S331c40b3ef010445ca6529149289aab4 1128s 1..5 1128s # Start of gdbus tests 1128s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/.dirs/home 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/.dirs/cache 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/.dirs/system-config2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/.dirs/config 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/.dirs/system-data2 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/.dirs/data 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/.dirs/state 1128s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/.dirs/runtime 1128s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1130s # Executing: glib/gdbus-proxy.test 1130s ok 1 /gdbus/proxy 1130s # slow test /gdbus/proxy executed in 1.80 secs 1130s # Start of proxy tests 1130s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-properties/.dirs/home 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-properties/.dirs/cache 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-properties/.dirs/system-config2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-properties/.dirs/config 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-properties/.dirs/system-data2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-properties/.dirs/data 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-properties/.dirs/state 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-properties/.dirs/runtime 1130s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1130s ok 2 /gdbus/proxy/no-properties 1130s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/wellknown-noauto/.dirs/home 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/wellknown-noauto/.dirs/cache 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/wellknown-noauto/.dirs/config 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/wellknown-noauto/.dirs/data 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/wellknown-noauto/.dirs/state 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/wellknown-noauto/.dirs/runtime 1130s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1130s ok 3 /gdbus/proxy/wellknown-noauto 1130s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/async/.dirs/home 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/async/.dirs/cache 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/async/.dirs/system-config2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/async/.dirs/config 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/async/.dirs/system-data2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/async/.dirs/data 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/async/.dirs/state 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/async/.dirs/runtime 1130s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1132s ok 4 /gdbus/proxy/async 1132s # slow test /gdbus/proxy/async executed in 1.79 secs 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-match-rule/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-match-rule/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-match-rule/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-match-rule/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-match-rule/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-match-rule/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-match-rule/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_I9BJK2/gdbus/proxy/no-match-rule/.dirs/runtime 1132s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1132s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1133s ok 5 /gdbus/proxy/no-match-rule 1133s # slow test /gdbus/proxy/no-match-rule executed in 1.77 secs 1133s # End of proxy tests 1133s # End of gdbus tests 1133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1133s ok - glib/gdbus-proxy.test 1133s # Running test: glib/glistmodel.test 1133s TAP version 13 1133s # random seed: R02S4148bd37bba4339aa4ad4437e8a2b644 1133s 1..18 1133s # Start of glistmodel tests 1133s # Start of store tests 1133s ok 1 /glistmodel/store/properties 1133s ok 2 /glistmodel/store/non-gobjects 1133s ok 3 /glistmodel/store/boundaries 1133s ok 4 /glistmodel/store/refcounts 1134s ok 5 /glistmodel/store/sorted 1134s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1134s ok 6 /glistmodel/store/splice-replace-middle 1134s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1134s ok 7 /glistmodel/store/splice-replace-all 1134s ok 8 /glistmodel/store/splice-noop 1134s ok 9 /glistmodel/store/splice-remove-multiple 1134s ok 10 /glistmodel/store/splice-add-multiple 1134s ok 11 /glistmodel/store/splice-wrong-type 1134s ok 12 /glistmodel/store/item-type 1134s ok 13 /glistmodel/store/remove-all 1134s ok 14 /glistmodel/store/sort 1134s ok 15 /glistmodel/store/get-item-cache 1134s ok 16 /glistmodel/store/items-changed 1134s ok 17 /glistmodel/store/past-end 1134s ok 18 /glistmodel/store/find 1134s # End of store tests 1134s # End of glistmodel tests 1134s ok - glib/glistmodel.test 1134s # Running test: glib/simple-proxy.test 1134s TAP version 13 1134s # random seed: R02Sc05213b2f7bd38a4510587262a49b02a 1134s 1..3 1134s # Start of static-proxy tests 1134s ok 1 /static-proxy/uri 1134s ok 2 /static-proxy/socks 1134s ok 3 /static-proxy/ignore 1134s # End of static-proxy tests 1134s ok - glib/simple-proxy.test 1134s # Running test: glib/portal-support-flatpak-full.test 1134s TAP version 13 1134s # random seed: R02S318d1cfaf3f87593b96f447654f1efc5 1134s 1..1 1134s # Start of portal-support tests 1134s # Start of flatpak tests 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_82JTK2/portal-support/flatpak/full/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_82JTK2/portal-support/flatpak/full/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_82JTK2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_82JTK2/portal-support/flatpak/full/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_82JTK2/portal-support/flatpak/full/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_82JTK2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_82JTK2/portal-support/flatpak/full/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_82JTK2/portal-support/flatpak/full/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_82JTK2/portal-support/flatpak/full/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_82JTK2/portal-support/flatpak/full/.dirs/runtime 1134s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_82JTK2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1134s ok 1 /portal-support/flatpak/full 1134s # End of flatpak tests 1134s # End of portal-support tests 1134s ok - glib/portal-support-flatpak-full.test 1134s # Running test: glib/atomic-c-99.test 1134s TAP version 13 1134s # random seed: R02Sf0d5038069e7036a55cb9941642aa88b 1134s 1..2 1134s # Start of atomic tests 1134s ok 1 /atomic/types 1134s ok 2 /atomic/threaded 1134s # End of atomic tests 1134s ok - glib/atomic-c-99.test 1134s # Running test: glib/proxy-test.test 1134s TAP version 13 1134s # random seed: R02S32e60154dee3ff3b6c654ac9ca4ea436 1134s 1..11 1134s # Start of proxy tests 1134s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1134s ok 1 /proxy/direct_sync 1134s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1134s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x25fc788 and GSocketClientAsyncConnectData 0x25fa068 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1134s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x25fd028 for GSocketClientAsyncConnectData 0x25fa068 1134s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1134s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1134s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1134s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1134s ok 2 /proxy/direct_async 1134s ok 3 /proxy/single_sync 1134s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1134s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x25fcf68 and GSocketClientAsyncConnectData 0x25fcf20 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1134s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x25fe110 for GSocketClientAsyncConnectData 0x25fcf20 1134s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1134s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1134s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1134s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1134s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1134s ok 4 /proxy/single_async 1134s ok 5 /proxy/multiple_sync 1134s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1134s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x25f8078 and GSocketClientAsyncConnectData 0x25fdcf0 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1134s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x25fe5e0 for GSocketClientAsyncConnectData 0x25fdcf0 1134s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1134s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1134s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1134s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1134s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x25f8128 for GSocketClientAsyncConnectData 0x25fdcf0 1134s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1134s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1134s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1134s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1134s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1134s ok 6 /proxy/multiple_async 1134s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1134s ok 7 /proxy/invalid-uris-sync 1134s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1134s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1134s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x25f8078 and GSocketClientAsyncConnectData 0x25fe080 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1134s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1134s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1134s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x25fdc08 and GSocketClientAsyncConnectData 0x25fe080 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1134s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1134s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1134s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x25fcb18 and GSocketClientAsyncConnectData 0x25fe080 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1134s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x25fe698 for GSocketClientAsyncConnectData 0x25fe080 1134s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1134s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1134s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1134s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1134s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1134s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x25fdc08 and GSocketClientAsyncConnectData 0x25fcf50 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1134s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x25fe7d0 for GSocketClientAsyncConnectData 0x25fcf50 1134s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1134s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1134s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1134s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1134s ok 8 /proxy/invalid-uris-async 1134s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1134s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x25fe138 and GSocketClientAsyncConnectData 0x25fde10 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1134s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1134s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1134s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1134s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x25fe368 and GSocketClientAsyncConnectData 0x25fcf50 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1134s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x25fe5c8 for GSocketClientAsyncConnectData 0x25fcf50 1134s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1134s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1134s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1134s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1134s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1134s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1134s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x25fe368 and GSocketClientAsyncConnectData 0x25fde10 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1134s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x25fe180 for GSocketClientAsyncConnectData 0x25fde10 1134s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1134s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1134s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1134s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1134s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1134s ok 9 /proxy/dns 1134s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1134s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x25fe368 and GSocketClientAsyncConnectData 0x25fcbf0 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1134s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x25fe578 for GSocketClientAsyncConnectData 0x25fcbf0 1134s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1134s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1134s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1134s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1134s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1134s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1134s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x25fe368 and GSocketClientAsyncConnectData 0x25fd9f8 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1134s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x25fe578 for GSocketClientAsyncConnectData 0x25fd9f8 1134s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1134s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1134s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1134s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1134s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1134s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1134s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x25fe368 and GSocketClientAsyncConnectData 0x25fdc00 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1134s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x25fe578 for GSocketClientAsyncConnectData 0x25fdc00 1134s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1134s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1134s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1134s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1134s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1134s ok 10 /proxy/override 1134s ok 11 /proxy/enumerator-ports 1134s # End of proxy tests 1134s ok - glib/proxy-test.test 1134s # Running test: glib/cxx-14.test 1134s TAP version 13 1134s # random seed: R02S82515c82d808e52976d9174aea8fad7a 1134s 1..2 1134s # Start of gtask tests 1134s # 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. 1134s ok 1 /gtask/name 1134s # Start of name tests 1134s # 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. 1134s ok 2 /gtask/name/macro-wrapper 1134s # End of name tests 1134s # End of gtask tests 1134s ok - glib/cxx-14.test 1134s # Running test: glib/io-stream.test 1134s TAP version 13 1134s # random seed: R02S6d103f24fabdb6d5bfbb5f0cb3115136 1134s 1..3 1134s # Start of io-stream tests 1134s ok 1 /io-stream/copy-chunks 1134s # Start of close tests 1134s # Start of async tests 1134s ok 2 /io-stream/close/async/memory 1134s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1134s ok 3 /io-stream/close/async/file 1134s # End of async tests 1134s # End of close tests 1134s # End of io-stream tests 1134s ok - glib/io-stream.test 1134s # Running test: glib/function-info.test 1134s TAP version 13 1134s # random seed: R02S1e24fef1d3e9b99f5da487a918975214 1134s 1..1 1134s # Start of function-info tests 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_3G8KK2/function-info/invoker/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_3G8KK2/function-info/invoker/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_3G8KK2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_3G8KK2/function-info/invoker/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_3G8KK2/function-info/invoker/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_3G8KK2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_3G8KK2/function-info/invoker/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_3G8KK2/function-info/invoker/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_3G8KK2/function-info/invoker/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_3G8KK2/function-info/invoker/.dirs/runtime 1134s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1134s # /function-info/invoker summary: Test preparing a function invoker 1134s ok 1 /function-info/invoker 1134s # End of function-info tests 1134s ok - glib/function-info.test 1134s # Running test: glib/gdbus-export.test 1134s TAP version 13 1134s # random seed: R02S4ca2de78260de08850a20d4d53acc49f 1134s 1..6 1134s # Start of gdbus tests 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/object-registration/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/object-registration/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_J4AMK2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_J4AMK2/gdbus/object-registration/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/object-registration/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_J4AMK2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_J4AMK2/gdbus/object-registration/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/object-registration/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/object-registration/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_J4AMK2/gdbus/object-registration/.dirs/runtime 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s ok 1 /gdbus/object-registration 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/object-registration-with-closures/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/object-registration-with-closures/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_J4AMK2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_J4AMK2/gdbus/object-registration-with-closures/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/object-registration-with-closures/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_J4AMK2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_J4AMK2/gdbus/object-registration-with-closures/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/object-registration-with-closures/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/object-registration-with-closures/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_J4AMK2/gdbus/object-registration-with-closures/.dirs/runtime 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s ok 2 /gdbus/object-registration-with-closures 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/registered-interfaces/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/registered-interfaces/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_J4AMK2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_J4AMK2/gdbus/registered-interfaces/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/registered-interfaces/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_J4AMK2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_J4AMK2/gdbus/registered-interfaces/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/registered-interfaces/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/registered-interfaces/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_J4AMK2/gdbus/registered-interfaces/.dirs/runtime 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s ok 3 /gdbus/registered-interfaces 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/async-properties/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/async-properties/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_J4AMK2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_J4AMK2/gdbus/async-properties/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/async-properties/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_J4AMK2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_J4AMK2/gdbus/async-properties/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/async-properties/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/async-properties/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_J4AMK2/gdbus/async-properties/.dirs/runtime 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s ok 4 /gdbus/async-properties 1134s # Start of threaded-unregistration tests 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/object/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/object/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/object/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/object/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/object/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/object/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/object/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/object/.dirs/runtime 1134s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1134s # /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 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1134s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # Executing: glib/gdbus-export.test 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1136s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1137s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s ok 5 /gdbus/threaded-unregistration/object 1138s # slow test /gdbus/threaded-unregistration/object executed in 3.63 secs 1138s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/subtree/.dirs/home 1138s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/subtree/.dirs/cache 1138s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1138s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/subtree/.dirs/config 1138s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1138s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/subtree/.dirs/data 1138s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/subtree/.dirs/state 1138s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_J4AMK2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1138s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1138s # /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 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # Executing: glib/gdbus-export.test 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (992 iterations with unregistration first, 8 with call first); skipping test 1141s # slow test /gdbus/threaded-unregistration/subtree executed in 3.45 secs 1141s # End of threaded-unregistration tests 1141s # End of gdbus tests 1141s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1141s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1141s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1141s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1141s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1141s ok - glib/gdbus-export.test 1141s # Running test: glib/signalgroup.test 1141s TAP version 13 1141s # random seed: R02S42fa5a3c52e0c2fdf63a77dc05f104b5 1141s 1..9 1141s # Start of GObject tests 1141s # Start of SignalGroup tests 1141s ok 1 /GObject/SignalGroup/invalid 1141s ok 2 /GObject/SignalGroup/simple 1141s ok 3 /GObject/SignalGroup/changing-target 1141s ok 4 /GObject/SignalGroup/blocking 1141s ok 5 /GObject/SignalGroup/weak-ref-target 1141s ok 6 /GObject/SignalGroup/connect-object 1141s ok 7 /GObject/SignalGroup/signal-parsing 1141s ok 8 /GObject/SignalGroup/properties 1141s ok 9 /GObject/SignalGroup/interface 1141s # Start of signal-parsing tests 1141s # End of signal-parsing tests 1141s # End of SignalGroup tests 1141s # End of GObject tests 1141s ok - glib/signalgroup.test 1141s # Running test: glib/reference.test 1141s TAP version 13 1141s # random seed: R02S2302d37496b92d9d82e504adc0e72299 1141s 1..29 1141s # Start of type tests 1141s ok 1 /type/fundamentals 1141s ok 2 /type/qdata 1141s ok 3 /type/query 1141s ok 4 /type/class-private 1141s # End of type tests 1141s # Start of object tests 1141s ok 5 /object/clear 1141s ok 6 /object/clear-function 1141s ok 7 /object/set 1141s ok 8 /object/set-function 1141s ok 9 /object/value 1141s ok 10 /object/initially-unowned 1141s ok 11 /object/weak-pointer 1141s ok 12 /object/weak-ref 1141s ok 13 /object/toggle-ref 1141s ok 14 /object/qdata 1141s ok 15 /object/qdata2 1141s # Start of set tests 1141s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1141s ok 16 /object/set/derived-type 1141s # End of set tests 1141s # Start of weak-pointer tests 1141s ok 17 /object/weak-pointer/clear 1141s ok 18 /object/weak-pointer/clear-function 1141s ok 19 /object/weak-pointer/set 1141s ok 20 /object/weak-pointer/set-function 1141s # End of weak-pointer tests 1141s # Start of weak-ref tests 1141s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1141s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1141s ok 21 /object/weak-ref/on-dispose 1141s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1141s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1141s ok 22 /object/weak-ref/on-run-dispose 1141s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1141s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1141s ok 23 /object/weak-ref/on-toggle-notify 1141s ok 24 /object/weak-ref/in-toggle-notify 1141s ok 25 /object/weak-ref/many 1141s # Start of concurrent tests 1141s ok 26 /object/weak-ref/concurrent/0 1141s ok 27 /object/weak-ref/concurrent/1 1141s # End of concurrent tests 1141s # End of weak-ref tests 1141s # Start of toggle-ref tests 1141s ok 28 /object/toggle-ref/ref-on-dispose 1141s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1141s # End of toggle-ref tests 1141s # End of object tests 1141s ok - glib/reference.test 1141s # Running test: glib/null-settings-backend.test 1141s TAP version 13 1141s # random seed: R02S142b4a3792d8caaff3c8da36dc6fe97e 1141s 1..1 1141s # Start of null-settings-backend tests 1141s ok 1 /null-settings-backend/extension-point-registered 1141s # End of null-settings-backend tests 1141s ok - glib/null-settings-backend.test 1141s # Running test: glib/singleton.test 1141s TAP version 13 1141s # random seed: R02S88b2af5478b2fbdba22af4db72675889 1141s 1..2 1141s # Start of gobject tests 1141s # Start of singleton tests 1141s ok 1 /gobject/singleton/construction 1141s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1141s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1141s ok 2 /gobject/singleton/construct-property 1141s # End of singleton tests 1141s # End of gobject tests 1141s ok - glib/singleton.test 1141s # Running test: glib/spawn-multithreaded.test 1141s TAP version 13 1141s # random seed: R02S4e717c4e50fc1d24ba9001b1a97addd5 1141s 1..4 1141s # Start of gthread tests 1142s # Child 14188 (ttl 1) exited, status 0 1143s # Child 14189 (ttl 2) exited, status 0 1143s ok 1 /gthread/spawn-childs 1143s # slow test /gthread/spawn-childs executed in 2.00 secs 1143s # Created pid: 14193 (ttl 1) 1143s # Created pid: 14194 (ttl 2) 1144s # Child 14193 (ttl 1) exited, status 0 1145s # Executing: glib/spawn-multithreaded.test 1145s # Child 14194 (ttl 2) exited, status 0 1145s ok 2 /gthread/spawn-childs-threads 1145s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1145s ok 3 /gthread/spawn-sync 1145s ok 4 /gthread/spawn-async 1145s # End of gthread tests 1145s ok - glib/spawn-multithreaded.test 1145s # Running test: glib/gdbus-address-get-session.test 1145s TAP version 13 1145s # random seed: R02S0469c7f58023b45ce5a9bb63cd5f3123 1145s 1..2 1145s # Start of gdbus tests 1145s ok 1 /gdbus/x11-autolaunch 1145s ok 2 /gdbus/xdg-runtime 1145s # End of gdbus tests 1145s ok - glib/gdbus-address-get-session.test 1145s # Running test: glib/defaultiface.test 1145s TAP version 13 1145s # random seed: R02Sbfeb8d764183bb9cefe0b9ab79e19542 1145s 1..2 1145s # Start of gobject tests 1145s ok 1 /gobject/static-iface 1145s ok 2 /gobject/dynamic-iface 1145s # End of gobject tests 1145s ok - glib/defaultiface.test 1145s # Running test: glib/deprecated-properties.test 1145s TAP version 13 1145s # random seed: R02S6ff2bb1c758adead8936a09731b4c852 1145s 1..3 1145s # Start of deprecated-properties tests 1145s ok 1 /deprecated-properties/construct 1145s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1145s ok 2 /deprecated-properties/default-construct 1145s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1145s ok 3 /deprecated-properties/set 1145s # End of deprecated-properties tests 1145s ok - glib/deprecated-properties.test 1145s # Running test: glib/bindinggroup.test 1145s TAP version 13 1145s # random seed: R02Sd5d808b1e5a013f6d1401402c12366f3 1145s 1..11 1145s # Start of GObject tests 1145s # Start of BindingGroup tests 1145s ok 1 /GObject/BindingGroup/invalid 1145s ok 2 /GObject/BindingGroup/default 1145s ok 3 /GObject/BindingGroup/bidirectional 1145s ok 4 /GObject/BindingGroup/transform 1145s ok 5 /GObject/BindingGroup/transform-closures 1145s ok 6 /GObject/BindingGroup/same-object 1145s ok 7 /GObject/BindingGroup/weak-ref-source 1145s ok 8 /GObject/BindingGroup/weak-ref-target 1145s ok 9 /GObject/BindingGroup/properties 1145s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1145s ok 11 /GObject/BindingGroup/empty-closures 1145s # End of BindingGroup tests 1145s # End of GObject tests 1145s ok - glib/bindinggroup.test 1145s # Running test: glib/scannerapi.test 1145s TAP version 13 1145s # random seed: R02S8daaec202f6600a42390dafc2e01b027 1145s 1..4 1145s # Start of scanner tests 1145s ok 1 /scanner/warn 1146s ok 2 /scanner/error 1146s ok 3 /scanner/symbols 1146s ok 4 /scanner/tokens 1146s # End of scanner tests 1146s ok - glib/scannerapi.test 1146s # Running test: glib/utf8-misc.test 1146s TAP version 13 1146s # random seed: R02S4038c50054ae573e90f6436458cb20b7 1146s 1..7 1146s # Start of utf8 tests 1146s ok 1 /utf8/strlen 1146s ok 2 /utf8/strncpy 1146s ok 3 /utf8/strrchr 1146s ok 4 /utf8/reverse 1146s ok 5 /utf8/substring 1146s ok 6 /utf8/make-valid 1146s ok 7 /utf8/truncate-middle 1146s # End of utf8 tests 1146s ok - glib/utf8-misc.test 1146s # Running test: glib/hash.test 1146s TAP version 13 1146s # random seed: R02S21686bdada4f381e71cdd12d8b47fb7c 1146s 1..34 1146s # Start of hash tests 1146s ok 1 /hash/misc 1146s ok 2 /hash/one 1146s ok 3 /hash/honeyman 1146s ok 4 /hash/direct 1146s ok 5 /hash/direct2 1146s ok 6 /hash/int 1146s ok 7 /hash/int64 1146s ok 8 /hash/double 1146s ok 9 /hash/string 1146s ok 10 /hash/set 1146s ok 11 /hash/set-ref 1146s ok 12 /hash/ref 1146s ok 13 /hash/remove-all 1146s ok 14 /hash/recursive-remove-all 1146s ok 15 /hash/find 1146s ok 16 /hash/foreach 1146s ok 17 /hash/foreach-steal 1146s ok 18 /hash/steal-extended 1146s ok 19 /hash/steal-all-keys 1146s ok 20 /hash/steal-all-values 1146s ok 21 /hash/lookup-extended 1146s ok 22 /hash/new-similar 1146s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1146s ok 23 /hash/lookup-null-key 1146s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1146s ok 24 /hash/destroy-modify 1146s ok 25 /hash/consistency 1146s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1146s ok 26 /hash/iter-replace 1146s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1146s ok 27 /hash/set-insert-corruption 1146s ok 28 /hash/set-to-strv 1146s ok 29 /hash/get-keys-as-ptr-array 1146s ok 30 /hash/get-values-as-ptr-array 1146s ok 31 /hash/primes 1146s # Start of int64 tests 1146s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1146s ok 32 /hash/int64/collisions 1146s # End of int64 tests 1146s # Start of double tests 1146s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1146s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1146s ok 33 /hash/double/collisions 1146s # End of double tests 1146s # Start of recursive-remove-all tests 1146s # End of recursive-remove-all tests 1146s # Start of steal-extended tests 1146s ok 34 /hash/steal-extended/optional 1146s # End of steal-extended tests 1146s # End of hash tests 1146s ok - glib/hash.test 1146s # Running test: glib/search-utils.test 1146s TAP version 13 1146s # random seed: R02Saf0bd026377fb3e8c532f2f4262c2977 1146s # GLib-DEBUG: Current user locale: C.UTF-8 1146s 1..6 1146s # Start of search tests 1146s # GLib-DEBUG: Started 1146s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1146s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1146s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1146s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1146s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1146s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1146s ok 1 /search/basic 1146s # GLib-DEBUG: Started 1146s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1146s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1146s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1146s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1146s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1146s ok 2 /search/composed 1146s # GLib-DEBUG: Started 1146s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1146s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1146s ok 3 /search/decomposed 1146s # GLib-DEBUG: Started 1146s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1146s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1146s ok 4 /search/turkish 1146s # GLib-DEBUG: Started 1146s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1146s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1146s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1146s ok 5 /search/c_locale_unicode 1146s # GLib-DEBUG: Started 1146s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1146s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1146s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1146s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1146s ok 6 /search/multi_words 1146s # End of search tests 1146s ok - glib/search-utils.test 1146s # Running test: glib/live-g-file.test 1146s TAP version 13 1146s # random seed: R02Sdbbdeb140fe2bac36d04988d555edf8b 1146s 1..13 1146s # Start of live-g-file tests 1146s # Cleaning target testing structure in 'testdir_live-g-file'... 1146s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1146s ok 1 /live-g-file/prep_clean_structure 1146s # 1146s # Going to create testing structure in 'testdir_live-g-file'... 1146s # Creating directory 'dir1'... 1146s # Creating directory 'dir1/subdir'... 1146s # Creating directory 'dir2'... 1146s # Creating directory 'dir-target'... 1146s # Creating directory 'dir_no-access'... 1146s # Creating directory 'dir_no-write'... 1146s # Creating file 'target-file'... 1146s # Creating file 'normal_file'... 1146s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1146s # Creating file 'executable_file'... 1146s # Creating file 'private_file'... 1146s # Creating file 'normal_file2'... 1146s # Creating file 'readonly_file'... 1146s # Creating file 'UTF_pr?i?lis? z'... 1146s # Creating directory 'dir_pr?i?lis? z'... 1146s # Creating symlink 'lost_symlink' --> 'nowhere'... 1146s # Creating directory 'dir_hidden'... 1146s # Creating file 'dir_hidden/.a-hidden-file'... 1146s # Creating file 'dir_hidden/file-in-.hidden1'... 1146s # Creating file 'dir_hidden/file-in-.hidden2'... 1146s # Creating pattern file... 1147s # done. 1147s ok 2 /live-g-file/create_structure 1147s # slow test /live-g-file/create_structure executed in 1.35 secs 1147s # Testing sample structure in 'testdir_live-g-file'... 1147s # Testing file 'dir1'... 1147s # Testing file 'dir1/subdir'... 1147s # Testing file 'dir2'... 1147s # Testing file 'dir-target'... 1147s # Testing file 'dir_no-access'... 1147s # Testing file 'dir_no-write'... 1147s # Testing file 'target-file'... 1147s # Testing file 'normal_file'... 1147s # Testing file 'normal_file-symlink'... 1147s # Testing file 'executable_file'... 1147s # Testing file 'private_file'... 1147s # Testing file 'normal_file2'... 1147s # Testing file 'readonly_file'... 1147s # Testing file 'UTF_pr?i?lis? z'... 1147s # Testing file 'dir_pr?i?lis? z'... 1147s # Testing file 'lost_symlink'... 1147s # Testing file 'dir_hidden'... 1147s # Testing file 'dir_hidden/.a-hidden-file'... 1147s # Testing file 'dir_hidden/file-in-.hidden1'... 1147s # Testing file 'dir_hidden/file-in-.hidden2'... 1147s # Testing pattern file... 1147s # read 65536 bytes, total = 65536 of 65536. 1147s ok 3 /live-g-file/test_initial_structure 1147s # Traversing through the sample structure in 'testdir_live-g-file'... 1147s # Found file dir1, relative to root: dir1 1147s # Found file subdir, relative to root: dir1/subdir 1147s # Found file dir2, relative to root: dir2 1147s # Found file dir-target, relative to root: dir-target 1147s # Found file dir_no-access, relative to root: dir_no-access 1147s # Found file dir_no-write, relative to root: dir_no-write 1147s # Found file target-file, relative to root: target-file 1147s # Found file normal_file, relative to root: normal_file 1147s # Found file normal_file-symlink, relative to root: normal_file-symlink 1147s # Found file executable_file, relative to root: executable_file 1147s # Found file private_file, relative to root: private_file 1147s # Found file normal_file2, relative to root: normal_file2 1147s # Found file readonly_file, relative to root: readonly_file 1147s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1147s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1147s # Found file lost_symlink, relative to root: lost_symlink 1147s # Found file dir_hidden, relative to root: dir_hidden 1147s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1147s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1147s # Found file .hidden, relative to root: dir_hidden/.hidden 1147s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1147s # Found file pattern_file, relative to root: pattern_file 1147s ok 4 /live-g-file/test_traverse_structure 1147s # Test enumerate 'testdir_live-g-file'... 1147s # Testing file 'dir_no-access' 1147s # Testing file 'normal_file' 1147s # Testing file 'normal_file-symlink' 1147s # Testing file 'not_exists' 1147s # Testing file 'not_exists' 1147s # Testing file 'not_exists2' 1147s # Testing file 'not_exists3' 1147s # Testing file 'not_exists4' 1147s # Testing file 'dir_no-execute/file' 1147s ok 5 /live-g-file/test_enumerate 1147s # test_open: 'dir1' 1147s # test_open: 'dir_no-access' 1147s # test_open: 'target-file' 1147s # test_open: 'normal_file-symlink' 1147s # test_open: 'executable_file' 1147s # test_open: 'private_file' 1147s # test_open: 'readonly_file' 1147s # test_open: 'UTF_pr?i?lis? z' 1147s # test_open: 'pattern_file' 1147s # test_open: 'not_exists' 1147s # test_open: 'dir_no-execute/file' 1147s # test_open: 'lost_symlink' 1147s ok 6 /live-g-file/test_open 1147s # test_create: 'dir1' 1147s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir1?: Is a directory 1147s # test_create: 'dir1/subdir' 1147s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir1/subdir?: Is a directory 1147s # test_create: 'dir2' 1147s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir2?: File exists 1147s # test_create: 'normal_file' 1147s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/normal_file?: File exists 1147s # test_create: 'executable_file' 1147s # test_create: 'private_file' 1147s # test_create: 'normal_file2' 1147s # test_create: 'UTF_pr?i?lis? z' 1147s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1147s # test_create: 'dir_pr?i?lis? z' 1147s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1147s # test_create: 'pattern_file' 1147s # test_create: 'not_exists2' 1147s # test_create: 'not_exists3' 1147s # test_create: 'not_exists4' 1147s ok 7 /live-g-file/test_create 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1147s # res = 0, error code 25 = Can?t recursively copy directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'dir1/subdir' --> '.' 1147s # res = 0, error code 2 = Target file exists 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'dir1/subdir' --> 'target-file' 1147s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1147s # res = 0, error code 25 = Can?t recursively copy directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1147s # res = 0, error code 25 = Can?t recursively copy directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1147s # res = 0, error code 25 = Can?t recursively copy directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'dir2' --> 'dir-target' 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'dir-target' --> 'dir-target' 1147s # res = 0, error code 25 = Can?t recursively copy directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'dir-target' --> '.' 1147s # res = 0, error code 2 = Target file exists 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'dir-target' --> 'target-file' 1147s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/target-file/dir-target?: Not a directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'dir-target' --> 'not_exists' 1147s # res = 0, error code 25 = Can?t recursively copy directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'dir-target' --> 'dir_no-access' 1147s # res = 0, error code 25 = Can?t recursively copy directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'dir-target' --> 'dir_no-write' 1147s # res = 0, error code 25 = Can?t recursively copy directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'target-file' --> 'dir-target' 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'target-file' --> '.' 1147s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/target-file?: File exists 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'target-file' --> 'target-file' 1147s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/target-file/target-file?: Not a directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'target-file' --> 'not_exists' 1147s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'target-file' --> 'dir_no-access' 1147s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'target-file' --> 'dir_no-write' 1147s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'normal_file-symlink' --> '.' 1147s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/normal_file-symlink: File exists 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1147s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1147s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1147s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1147s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'executable_file' --> 'dir-target' 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'executable_file' --> 'dir-target' 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'executable_file' --> '.' 1147s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/executable_file?: File exists 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'executable_file' --> 'target-file' 1147s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/target-file/executable_file?: Not a directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'executable_file' --> 'not_exists' 1147s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'executable_file' --> 'dir_no-access' 1147s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'executable_file' --> 'dir_no-write' 1147s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'private_file' --> 'dir-target' 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'private_file' --> 'dir-target' 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'private_file' --> '.' 1147s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/private_file?: File exists 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'private_file' --> 'target-file' 1147s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/target-file/private_file?: Not a directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'private_file' --> 'not_exists' 1147s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'private_file' --> 'dir_no-access' 1147s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'private_file' --> 'dir_no-write' 1147s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'normal_file2' --> 'dir-target' 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'normal_file2' --> 'dir-target' 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'normal_file2' --> '.' 1147s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/normal_file2?: File exists 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'normal_file2' --> 'target-file' 1147s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'normal_file2' --> 'not_exists' 1147s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1147s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1147s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1147s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1147s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1147s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1147s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1147s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'pattern_file' --> 'dir-target' 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'pattern_file' --> '.' 1147s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/pattern_file?: File exists 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'pattern_file' --> 'target-file' 1147s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'pattern_file' --> 'not_exists' 1147s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1147s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1147s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'not_exists' --> 'dir-target' 1147s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists?: No such file or directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'not_exists' --> '.' 1147s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists?: No such file or directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'not_exists' --> 'target-file' 1147s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists?: No such file or directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'not_exists' --> 'not_exists' 1147s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists?: No such file or directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'not_exists' --> 'dir_no-access' 1147s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists?: No such file or directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'not_exists' --> 'dir_no-write' 1147s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists?: No such file or directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'not_exists' --> 'dir-target' 1147s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists: No such file or directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'lost_symlink' --> 'dir-target' 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'lost_symlink' --> '.' 1147s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/lost_symlink: File exists 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'lost_symlink' --> 'target-file' 1147s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'lost_symlink' --> 'not_exists' 1147s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1147s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1147s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1147s ok 8 /live-g-file/test_copy_move 1147s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir1 1147s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir1: Directory not empty 1147s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir2 1147s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir2: No such file or directory 1147s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/executable_file 1147s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/readonly_file 1147s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_pr?i?lis? z 1147s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists 1147s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists: No such file or directory 1147s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists 1147s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/not_exists: No such file or directory 1147s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-execute/file 1147s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1147s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-0CDRK2/testdir_live-g-file/lost_symlink 1147s ok 9 /live-g-file/test_delete 1147s # We do not have CAP_DAC_OVERRIDE or equivalent 1147s ok 10 /live-g-file/test_make_directory_with_parents 1147s # Cleaning target testing structure in 'testdir_live-g-file'... 1147s # deleting 'dir1' 1147s # deleting 'subdir' 1147s # deleting 'dir-target' 1147s # deleting 'dir2' 1147s # deleting 'target-file' 1147s # deleting 'normal_file-symlink' 1147s # deleting 'executable_file' 1147s # deleting 'private_file' 1147s # deleting 'normal_file2' 1147s # deleting 'UTF_pr?i?lis? z' 1147s # deleting 'pattern_file' 1147s # deleting 'lost_symlink' 1147s # deleting 'dir_no-access' 1147s # deleting 'dir_no-write' 1147s # deleting 'target-file' 1147s # deleting 'normal_file' 1147s # deleting 'normal_file-symlink' 1147s # deleting 'executable_file~' 1147s # deleting 'private_file' 1147s # deleting 'normal_file2~' 1147s # deleting 'UTF_pr?i?lis? z' 1147s # deleting 'dir_hidden' 1147s # deleting '.a-hidden-file' 1147s # deleting 'file-in-.hidden1' 1147s # deleting '.hidden' 1147s # deleting 'file-in-.hidden2' 1147s # deleting 'pattern_file' 1147s # deleting 'normal_file2' 1147s # deleting 'not_exists2' 1147s # deleting 'not_exists3' 1147s # deleting 'not_exists4' 1147s # deleting 'a' 1147s ok 11 /live-g-file/final_clean 1147s # Start of test_unix_is_mountpoint tests 1147s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1147s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1147s # End of test_unix_is_mountpoint tests 1147s # End of live-g-file tests 1147s ok - glib/live-g-file.test 1147s # Running test: glib/timer.test 1147s TAP version 13 1147s # random seed: R02S675d72e529caf186e0bc6720d04e4068 1147s 1..10 1147s # Start of timer tests 1147s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1147s ok 2 /timer/stop 1147s ok 3 /timer/continue 1147s ok 4 /timer/reset 1147s ok 5 /timer/is_active 1147s # End of timer tests 1147s # Start of timeval tests 1147s ok 6 /timeval/add 1147s ok 7 /timeval/from-iso8601 1147s ok 8 /timeval/to-iso8601 1147s # Start of to-iso8601 tests 1147s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow. 1147s # End of to-iso8601 tests 1147s # End of timeval tests 1147s # Start of usleep tests 1147s ok 10 /usleep/with-zero-wait 1147s # End of usleep tests 1147s ok - glib/timer.test 1147s # Running test: glib/win32-appinfo.test 1147s TAP version 13 1147s # random seed: R02S573efcc406b80b6bfb236dc6b9de677a 1147s 1..5 1147s # Start of appinfo tests 1147s ok 1 /appinfo/utf16-strfuncs 1147s ok 2 /appinfo/win32-extract-executable 1147s ok 3 /appinfo/win32-rundll32-fixup 1147s ok 4 /appinfo/win32-parse-filename 1147s ok 5 /appinfo/win32-utf16-conversion-fail 1147s # Start of subprocess tests 1147s # End of subprocess tests 1147s # End of appinfo tests 1147s ok - glib/win32-appinfo.test 1147s # Running test: glib/markup-collect.test 1147s TAP version 13 1147s # random seed: R02S31f07d0419de859dbc7f4490067182f2 1147s 1..21 1147s # Start of markup tests 1147s # Start of collect tests 1147s ok 1 /markup/collect/0 1147s ok 2 /markup/collect/1 1147s ok 3 /markup/collect/2 1147s ok 4 /markup/collect/3 1147s ok 5 /markup/collect/4 1147s ok 6 /markup/collect/5 1147s ok 7 /markup/collect/6 1147s ok 8 /markup/collect/7 1147s ok 9 /markup/collect/8 1147s ok 10 /markup/collect/9 1147s ok 11 /markup/collect/10 1147s ok 12 /markup/collect/11 1147s ok 13 /markup/collect/12 1147s ok 14 /markup/collect/13 1147s ok 15 /markup/collect/14 1147s ok 16 /markup/collect/15 1147s ok 17 /markup/collect/16 1147s ok 18 /markup/collect/17 1147s ok 19 /markup/collect/18 1147s ok 20 /markup/collect/19 1147s ok 21 /markup/collect/cleanup 1147s # End of collect tests 1147s # End of markup tests 1147s ok - glib/markup-collect.test 1147s # Running test: glib/utf8-performance.test 1147s TAP version 13 1147s # random seed: R02Sad5d2c8e6e308609a39a94f850f71d6d 1147s 1..36 1147s # Start of utf8 tests 1147s # Start of perf tests 1147s # Start of get_char tests 1147s # max perf: 2.5 MB/s 1147s ok 1 /utf8/perf/get_char/ascii 1147s # max perf: 22.3 MB/s 1147s ok 2 /utf8/perf/get_char/latin1 1147s # max perf: 53.3 MB/s 1147s ok 3 /utf8/perf/get_char/cyrillic 1147s # max perf: 78.0 MB/s 1147s ok 4 /utf8/perf/get_char/han 1147s # End of get_char tests 1147s # Start of get_char-backwards tests 1147s # max perf: 14.3 MB/s 1147s ok 5 /utf8/perf/get_char-backwards/ascii 1147s # max perf: 33.5 MB/s 1147s ok 6 /utf8/perf/get_char-backwards/latin1 1147s # max perf: 53.3 MB/s 1147s ok 7 /utf8/perf/get_char-backwards/cyrillic 1147s # max perf: 52.0 MB/s 1147s ok 8 /utf8/perf/get_char-backwards/han 1147s # End of get_char-backwards tests 1147s # Start of get_char_validated tests 1147s # max perf: 14.3 MB/s 1147s ok 9 /utf8/perf/get_char_validated/ascii 1147s # max perf: 33.5 MB/s 1147s ok 10 /utf8/perf/get_char_validated/latin1 1147s # max perf: 53.3 MB/s 1147s ok 11 /utf8/perf/get_char_validated/cyrillic 1147s # max perf: 52.0 MB/s 1147s ok 12 /utf8/perf/get_char_validated/han 1147s # End of get_char_validated tests 1147s # Start of utf8_to_ucs4 tests 1147s # max perf: 8.6 MB/s 1147s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1147s # max perf: 16.8 MB/s 1147s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1147s # max perf: 26.7 MB/s 1147s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1147s # max perf: 39.0 MB/s 1147s ok 16 /utf8/perf/utf8_to_ucs4/han 1147s # End of utf8_to_ucs4 tests 1147s # Start of utf8_to_ucs4-sized tests 1147s # max perf: 14.3 MB/s 1147s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1147s # max perf: 33.5 MB/s 1147s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1147s # max perf: 40.0 MB/s 1147s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1147s # max perf: 39.0 MB/s 1147s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1147s # End of utf8_to_ucs4-sized tests 1147s # Start of utf8_to_ucs4_fast tests 1147s # max perf: 14.3 MB/s 1147s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1147s # max perf: 22.3 MB/s 1147s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1147s # max perf: 53.3 MB/s 1147s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1147s # max perf: 52.0 MB/s 1147s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1147s # End of utf8_to_ucs4_fast tests 1147s # Start of utf8_to_ucs4_fast-sized tests 1147s # max perf: 21.5 MB/s 1147s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1147s # max perf: 33.5 MB/s 1147s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1147s # max perf: 53.3 MB/s 1147s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1147s # max perf: 52.0 MB/s 1147s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1147s # End of utf8_to_ucs4_fast-sized tests 1147s # Start of utf8_validate tests 1147s # max perf: 21.5 MB/s 1147s ok 29 /utf8/perf/utf8_validate/ascii 1147s # max perf: 33.5 MB/s 1147s ok 30 /utf8/perf/utf8_validate/latin1 1147s # max perf: 80.0 MB/s 1147s ok 31 /utf8/perf/utf8_validate/cyrillic 1147s # max perf: 78.0 MB/s 1147s ok 32 /utf8/perf/utf8_validate/han 1147s # End of utf8_validate tests 1147s # Start of utf8_validate-sized tests 1147s # max perf: 21.5 MB/s 1147s ok 33 /utf8/perf/utf8_validate-sized/ascii 1147s # max perf: 33.5 MB/s 1147s ok 34 /utf8/perf/utf8_validate-sized/latin1 1147s # max perf: 80.0 MB/s 1147s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1147s # max perf: 78.0 MB/s 1147s ok 36 /utf8/perf/utf8_validate-sized/han 1147s # End of utf8_validate-sized tests 1147s # End of perf tests 1147s # End of utf8 tests 1147s ok - glib/utf8-performance.test 1147s # Running test: glib/spawn-singlethread.test 1147s TAP version 13 1147s # random seed: R02S7111e51b055c1cafd1720a223edd83bf 1147s 1..9 1147s # Start of gthread tests 1147s ok 1 /gthread/spawn-single-sync 1147s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1147s ok 2 /gthread/spawn-stderr-socket 1147s ok 3 /gthread/spawn-single-async 1147s # thread 1 1147s # thread 1 1147s ok 4 /gthread/spawn-single-async-with-fds 1147s ok 5 /gthread/spawn-async-with-invalid-fds 1147s ok 6 /gthread/spawn-script 1147s ok 7 /gthread/spawn-posix-spawn 1147s # Start of spawn tests 1147s ok 8 /gthread/spawn/nonexistent 1147s # FD map: 1147s # • 5 → 15 1147s # • 6 → 16 1147s # • 7 → 17 1147s # • 8 → 18 1147s # • 9 → 19 1147s # • 10 → 20 1147s # • 11 → 21 1147s # • 12 → 22 1147s # • 13 → 23 1147s # • 3 → 13 1147s ok 9 /gthread/spawn/fd-assignment-clash 1147s # End of spawn tests 1147s # End of gthread tests 1147s ok - glib/spawn-singlethread.test 1147s # Running test: glib/signals-refcount1.test 1147s TAP version 13 1147s # random seed: R02S4e2c3477df24d275a1a27a3679c58ce9 1147s 1..1 1147s # Start of gobject tests 1147s # Start of refcount tests 1147s # init 0x139ba50 1147s # 1147s # init 0x139bba8 1147s # 1150s # Executing: glib/signals-refcount1.test 1152s # dispose 0x139ba50! 1152s # 1152s # dispose 0x139bba8! 1152s # 1152s ok 1 /gobject/refcount/signals 1152s # slow test /gobject/refcount/signals executed in 5.00 secs 1152s # End of refcount tests 1152s # End of gobject tests 1152s ok - glib/signals-refcount1.test 1152s # Running test: glib/gdbus-test-codegen.test 1152s TAP version 13 1152s # random seed: R02S4e0fcb5d96bb6eb92192500e0bee2e81 1152s 1..8 1152s # Start of gdbus tests 1152s # Start of codegen tests 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/annotations/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/annotations/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/annotations/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/annotations/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/annotations/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/annotations/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/annotations/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/annotations/.dirs/runtime 1152s ok 1 /gdbus/codegen/annotations 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/interface_stability/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/interface_stability/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/interface_stability/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/interface_stability/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/interface_stability/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/interface_stability/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/interface_stability/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/interface_stability/.dirs/runtime 1152s ok 2 /gdbus/codegen/interface_stability 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/object-manager/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/object-manager/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/object-manager/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/object-manager/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/object-manager/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/object-manager/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/object-manager/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/object-manager/.dirs/runtime 1152s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1152s ok 3 /gdbus/codegen/object-manager 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/property-naming/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/property-naming/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/property-naming/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/property-naming/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/property-naming/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/property-naming/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/property-naming/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/property-naming/.dirs/runtime 1153s ok 4 /gdbus/codegen/property-naming 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/autocleanups/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/autocleanups/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/autocleanups/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/autocleanups/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/autocleanups/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/autocleanups/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/autocleanups/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/autocleanups/.dirs/runtime 1153s ok 5 /gdbus/codegen/autocleanups 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/deprecations/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/deprecations/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/deprecations/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/deprecations/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/deprecations/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/deprecations/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/deprecations/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/deprecations/.dirs/runtime 1153s ok 6 /gdbus/codegen/deprecations 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/standalone-interface-info/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/standalone-interface-info/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/standalone-interface-info/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/standalone-interface-info/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1153s ok 7 /gdbus/codegen/standalone-interface-info 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/unix-fd-list/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/unix-fd-list/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/unix-fd-list/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/unix-fd-list/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/unix-fd-list/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_WYZYK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1153s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1153s ok 8 /gdbus/codegen/unix-fd-list 1153s # End of codegen tests 1153s # End of gdbus tests 1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1153s ok - glib/gdbus-test-codegen.test 1153s # Running test: glib/gdbus-serialization.test 1153s TAP version 13 1153s # random seed: R02S233e2ab0ed7341eb3435697cec2683b4 1153s 1..18 1153s # Start of gdbus tests 1153s # Start of message-serialize tests 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/basic/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/basic/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/basic/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/basic/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/basic/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/basic/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/basic/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/basic/.dirs/runtime 1153s ok 1 /gdbus/message-serialize/basic 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/complex/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/complex/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/complex/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/complex/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/complex/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/complex/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/complex/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/complex/.dirs/runtime 1153s ok 2 /gdbus/message-serialize/complex 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/invalid/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/invalid/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/invalid/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/invalid/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/invalid/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/invalid/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/invalid/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/invalid/.dirs/runtime 1153s ok 3 /gdbus/message-serialize/invalid 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/.dirs/runtime 1153s ok 4 /gdbus/message-serialize/header-checks 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/double-array/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/double-array/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/double-array/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/double-array/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/double-array/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/double-array/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/double-array/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/double-array/.dirs/runtime 1153s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1153s ok 5 /gdbus/message-serialize/double-array 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/empty-structure/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/empty-structure/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/empty-structure/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/empty-structure/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/empty-structure/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/empty-structure/.dirs/runtime 1153s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1153s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1153s ok 6 /gdbus/message-serialize/empty-structure 1153s # Start of header-checks tests 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/valid/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/valid/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/valid/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/valid/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1153s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1153s ok 7 /gdbus/message-serialize/header-checks/valid 1153s # End of header-checks tests 1153s # End of message-serialize tests 1153s # Start of message-parse tests 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1153s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1153s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/non-signature-header/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/non-signature-header/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/non-signature-header/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/non-signature-header/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/non-signature-header/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/non-signature-header/.dirs/runtime 1153s ok 9 /gdbus/message-parse/non-signature-header 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-signature-header/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-signature-header/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-signature-header/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-signature-header/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-signature-header/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1153s ok 10 /gdbus/message-parse/empty-signature-header 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/multiple-signature-header/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/multiple-signature-header/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/multiple-signature-header/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/multiple-signature-header/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1153s ok 11 /gdbus/message-parse/multiple-signature-header 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/over-long-signature-header/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/over-long-signature-header/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/over-long-signature-header/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/over-long-signature-header/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1153s ok 12 /gdbus/message-parse/over-long-signature-header 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-header-nesting/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-header-nesting/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-header-nesting/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-header-nesting/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1153s ok 13 /gdbus/message-parse/deep-header-nesting 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-body-nesting/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-body-nesting/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-body-nesting/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-body-nesting/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1153s ok 14 /gdbus/message-parse/deep-body-nesting 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/truncated/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/truncated/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/truncated/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/truncated/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/truncated/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/truncated/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/truncated/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/truncated/.dirs/runtime 1153s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1153s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1153s ok 15 /gdbus/message-parse/truncated 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-structure/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-structure/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-structure/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-structure/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-structure/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-structure/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-structure/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/empty-structure/.dirs/runtime 1153s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1153s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1153s ok 16 /gdbus/message-parse/empty-structure 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/missing-header/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/missing-header/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/missing-header/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/missing-header/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/missing-header/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/missing-header/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/missing-header/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/missing-header/.dirs/runtime 1153s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1153s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1153s ok 17 /gdbus/message-parse/missing-header 1153s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/invalid-header-type/.dirs/home 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/invalid-header-type/.dirs/cache 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/invalid-header-type/.dirs/config 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/invalid-header-type/.dirs/data 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/invalid-header-type/.dirs/state 1153s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ORVSK2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1153s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1153s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1153s ok 18 /gdbus/message-parse/invalid-header-type 1153s # End of message-parse tests 1153s # End of gdbus tests 1153s ok - glib/gdbus-serialization.test 1153s # Running test: glib/unix-streams.test 1153s TAP version 13 1153s # random seed: R02S2905827a8ed2e9e2a6f79b141e06ae5a 1153s 1..9 1153s # Start of unix-streams tests 1153s ok 1 /unix-streams/basic 1153s ok 2 /unix-streams/pipe-io-test 1153s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1154s ok 3 /unix-streams/nonblocking-io-test 1154s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1154s ok 4 /unix-streams/read_write 1154s ok 5 /unix-streams/read_writev 1154s ok 6 /unix-streams/write-wouldblock 1154s ok 7 /unix-streams/writev-wouldblock 1154s ok 8 /unix-streams/write-async-wouldblock 1154s ok 9 /unix-streams/writev-async-wouldblock 1154s # End of unix-streams tests 1154s ok - glib/unix-streams.test 1154s # Running test: glib/cmph-bdz.test 1154s TAP version 13 1154s # random seed: R02S03411bc8ba3c76b04bcdf05ee1e93c5a 1154s 1..2 1154s # Start of cmph-bdz tests 1154s ok 1 /cmph-bdz/search 1154s ok 2 /cmph-bdz/search-packed 1154s # End of cmph-bdz tests 1154s ok - glib/cmph-bdz.test 1154s # Running test: glib/cond.test 1154s TAP version 13 1154s # random seed: R02S58f9535109fc5fd2e173213152633c6a 1154s 1..4 1154s # Start of thread tests 1154s ok 1 /thread/cond1 1154s ok 2 /thread/cond2 1154s # Start of cond tests 1155s # Executing: glib/cond.test 1155s ok 3 /thread/cond/wait-until 1155s # slow test /thread/cond/wait-until executed in 1.02 secs 1155s # Start of wait-until tests 1155s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1156s ok 4 /thread/cond/wait-until/contended-and-interrupted 1156s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1156s # End of wait-until tests 1156s # End of cond tests 1156s # End of thread tests 1156s ok - glib/cond.test 1156s # Running test: glib/objects-refcount1.test 1156s TAP version 13 1156s # random seed: R02S6a6d82bfcc3c60290524f9ba5c7cb4eb 1156s 1..1 1156s # Start of gobject tests 1156s # Start of refcount tests 1156s # init 0x12f41d8 1156s # 1156s # init 0x12f4328 1156s # 1160s # Executing: glib/objects-refcount1.test 1161s # dispose 0x12f41d8! 1161s # 1161s # dispose 0x12f4328! 1161s # 1161s ok 1 /gobject/refcount/object-basics 1161s # slow test /gobject/refcount/object-basics executed in 5.01 secs 1161s # End of refcount tests 1161s # End of gobject tests 1161s ok - glib/objects-refcount1.test 1161s # Running test: glib/portal-support-snap-classic.test 1161s TAP version 13 1161s # random seed: R02S0475603f7eb189948294b7bc80f07187 1161s 1..3 1161s # Start of portal-support tests 1161s # Start of snap-classic tests 1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/no-snapctl/.dirs/home 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/no-snapctl/.dirs/cache 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/no-snapctl/.dirs/config 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/no-snapctl/.dirs/data 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/no-snapctl/.dirs/state 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/no-snapctl/.dirs/runtime 1161s ok 1 /portal-support/snap-classic/no-snapctl 1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/none/.dirs/home 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/none/.dirs/cache 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/none/.dirs/system-config2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/none/.dirs/config 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/none/.dirs/system-data2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/none/.dirs/data 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/none/.dirs/state 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/none/.dirs/runtime 1161s # Created snap.yaml in /tmp/test_portal-support-snap-classic_K2KLK2/meta/snap.yaml 1161s # Created snapctl in /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/none/.dirs/runtime/snapctl 1161s ok 2 /portal-support/snap-classic/none 1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/all/.dirs/home 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/all/.dirs/cache 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/all/.dirs/system-config2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/all/.dirs/config 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/all/.dirs/system-data2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/all/.dirs/data 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/all/.dirs/state 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/all/.dirs/runtime 1161s # Created snap.yaml in /tmp/test_portal-support-snap-classic_K2KLK2/meta/snap.yaml 1161s # Created snapctl in /tmp/test_portal-support-snap-classic_K2KLK2/portal-support/snap-classic/all/.dirs/runtime/snapctl 1161s ok 3 /portal-support/snap-classic/all 1161s # End of snap-classic tests 1161s # End of portal-support tests 1161s ok - glib/portal-support-snap-classic.test 1161s # Running test: glib/signals.test 1161s TAP version 13 1161s # random seed: R02S84841e4fd0b6c928eb12e7af1815c9b7 1161s 1..31 1161s # Start of gobject tests 1161s # Start of signals tests 1161s ok 1 /gobject/signals/all-types 1161s ok 2 /gobject/signals/variant 1161s ok 3 /gobject/signals/destroy-target-object 1161s ok 4 /gobject/signals/generic-marshaller-1 1161s ok 5 /gobject/signals/generic-marshaller-2 1161s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1161s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1161s ok 8 /gobject/signals/generic-marshaller-int-return 1161s ok 9 /gobject/signals/generic-marshaller-uint-return 1161s ok 10 /gobject/signals/generic-marshaller-interface-return 1161s ok 11 /gobject/signals/custom-marshaller 1161s ok 12 /gobject/signals/connect 1161s ok 13 /gobject/signals/emission-hook 1161s ok 14 /gobject/signals/emitv 1161s ok 15 /gobject/signals/accumulator 1161s # Signal: accumulator-class-first 1161s # Signal: accumulator-class-last 1161s # Signal: accumulator-class-cleanup 1161s # Signal: accumulator-class-first-last 1161s # Signal: accumulator-class-first-last-cleanup 1161s # Signal: accumulator-class-last-cleanup 1161s ok 16 /gobject/signals/accumulator-class 1161s ok 17 /gobject/signals/introspection 1161s ok 18 /gobject/signals/block-handler 1161s ok 19 /gobject/signals/stop-emission 1161s ok 20 /gobject/signals/invocation-hint 1161s ok 21 /gobject/signals/test-disconnection-wrong-object 1161s ok 22 /gobject/signals/clear-signal-handler 1161s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1161s ok 23 /gobject/signals/lookup 1161s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1161s ok 24 /gobject/signals/parse-name 1161s ok 25 /gobject/signals/is-valid-name 1161s ok 26 /gobject/signals/weak-ref-disconnect 1161s # Start of lookup tests 1161s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1161s ok 27 /gobject/signals/lookup/invalid 1161s # End of lookup tests 1161s # Start of parse-name tests 1161s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1161s # Parser input: 1161s # Parser input: 7zip 1161s # Parser input: invalid:signal 1161s # Parser input: simple-detailed:: 1161s # Parser input: simple-detailed: 1161s # Parser input: : 1161s # Parser input: :: 1161s # Parser input: :valid-detail 1161s # Parser input: ::valid-detail 1161s ok 28 /gobject/signals/parse-name/invalid 1161s # End of parse-name tests 1161s # Start of invalid-name tests 1161s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1161s ok 29 /gobject/signals/invalid-name/colon 1161s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1161s ok 30 /gobject/signals/invalid-name/first-char 1161s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1161s ok 31 /gobject/signals/invalid-name/empty 1161s # End of invalid-name tests 1161s # End of signals tests 1161s # End of gobject tests 1161s ok - glib/signals.test 1161s # Running test: glib/rec-mutex.test 1161s TAP version 13 1161s # random seed: R02Sf36064361d77715457b75be808c88d47 1161s 1..29 1161s # Start of thread tests 1161s ok 1 /thread/rec-mutex1 1161s ok 2 /thread/rec-mutex2 1161s ok 3 /thread/rec-mutex3 1161s ok 4 /thread/rec-mutex4 1161s # Start of rec-mutex tests 1161s # Start of perf tests 1161s # Start of uncontended tests 1161s # max perf: 0.250000 mips 1161s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1161s # max perf: 0.333333 mips 1161s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1161s # max perf: 0.500000 mips 1161s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1161s # max perf: 0.333333 mips 1161s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1161s # max perf: 0.500000 mips 1161s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1161s # End of uncontended tests 1161s # Start of contended1 tests 1161s # max perf: 1.000000 mips 1161s ok 10 /thread/rec-mutex/perf/contended1/depth1 1161s # max perf: 1.000000 mips 1161s ok 11 /thread/rec-mutex/perf/contended1/depth2 1161s # max perf: 0.666667 mips 1161s ok 12 /thread/rec-mutex/perf/contended1/depth3 1161s # max perf: 1.000000 mips 1161s ok 13 /thread/rec-mutex/perf/contended1/depth4 1161s # max perf: 0.666667 mips 1161s ok 14 /thread/rec-mutex/perf/contended1/depth5 1161s # End of contended1 tests 1161s # Start of contended2 tests 1161s # max perf: 1.000000 mips 1161s ok 15 /thread/rec-mutex/perf/contended2/depth1 1161s # max perf: 1.000000 mips 1161s ok 16 /thread/rec-mutex/perf/contended2/depth2 1161s # max perf: 0.750000 mips 1161s ok 17 /thread/rec-mutex/perf/contended2/depth3 1161s # max perf: 1.000000 mips 1161s ok 18 /thread/rec-mutex/perf/contended2/depth4 1161s # max perf: 0.750000 mips 1161s ok 19 /thread/rec-mutex/perf/contended2/depth5 1161s # End of contended2 tests 1161s # Start of contended3 tests 1161s # max perf: 1.333333 mips 1161s ok 20 /thread/rec-mutex/perf/contended3/depth1 1161s # max perf: 0.500000 mips 1161s ok 21 /thread/rec-mutex/perf/contended3/depth2 1161s # max perf: 0.444444 mips 1161s ok 22 /thread/rec-mutex/perf/contended3/depth3 1161s # max perf: 1.000000 mips 1161s ok 23 /thread/rec-mutex/perf/contended3/depth4 1161s # max perf: 0.800000 mips 1161s ok 24 /thread/rec-mutex/perf/contended3/depth5 1161s # End of contended3 tests 1161s # Start of contended4 tests 1161s # max perf: 1.250000 mips 1161s ok 25 /thread/rec-mutex/perf/contended4/depth1 1161s # max perf: 1.000000 mips 1161s ok 26 /thread/rec-mutex/perf/contended4/depth2 1161s # max perf: 0.454545 mips 1161s ok 27 /thread/rec-mutex/perf/contended4/depth3 1161s # max perf: 0.625000 mips 1161s ok 28 /thread/rec-mutex/perf/contended4/depth4 1161s # max perf: 0.833333 mips 1161s ok 29 /thread/rec-mutex/perf/contended4/depth5 1161s # End of contended4 tests 1161s # End of perf tests 1161s # End of rec-mutex tests 1161s # End of thread tests 1161s ok - glib/rec-mutex.test 1161s # Running test: glib/mapping.test 1161s TAP version 13 1161s # random seed: R02S45f37033bdb030d6c1322147ae3a672c 1161s 1..3 1161s # Start of mapping tests 1161s # test_mapping: ok 1161s ok 1 /mapping/flags 1161s ok 2 /mapping/private 1161s # test_child_private: child spawned 1161s # Subtest: /usr/libexec/installed-tests/glib/mapping 1161s # # random seed: R02S6de7176512a0ec0003d3dc35283ace7c 1161s # test_child_private: received first child signal 1161s # # test_child_private: received parent signal 1161s # test_child_private: received second child signal 1161s ok 3 /mapping/private-child 1161s # End of mapping tests 1161s ok - glib/mapping.test 1161s # Running test: glib/utils.test 1161s TAP version 13 1161s # random seed: R02S0d2f7e1e284a9ab9a1b8446a45d30af6 1161s 1..40 1161s # Start of utils tests 1161s ok 1 /utils/language-names 1161s ok 2 /utils/locale-variants 1161s ok 3 /utils/version 1161s ok 4 /utils/appname 1161s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1161s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1161s ok 5 /utils/prgname-thread-safety 1161s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1161s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1161s ok 6 /utils/tmpdir 1161s ok 7 /utils/basic_bits 1161s ok 8 /utils/bits 1161s ok 9 /utils/swap 1161s ok 10 /utils/find-program 1161s ok 11 /utils/find-program-for-path 1161s ok 12 /utils/debug 1161s ok 13 /utils/codeset 1161s ok 14 /utils/codeset2 1161s ok 15 /utils/console-charset 1161s ok 16 /utils/gettext 1161s ok 17 /utils/username 1161s ok 18 /utils/realname 1161s ok 19 /utils/hostname 1161s ok 20 /utils/xdgdirs 1161s ok 21 /utils/specialdir 1161s # NAME: Ubuntu 1161s ok 22 /utils/os-info 1161s ok 23 /utils/clear-pointer 1161s ok 24 /utils/clear-pointer-cast 1161s ok 25 /utils/take-pointer 1161s ok 26 /utils/clear-source 1161s ok 27 /utils/misc-mem 1161s # /utils/aligned-mem summary: Aligned memory allocator 1161s # Alignment must not be zero 1161s # Alignment must be a power of two 1161s # Alignment must be a multiple of sizeof(void*) 1161s ok 28 /utils/aligned-mem 1161s # /utils/free-sized summary: Check that g_free_sized() works 1161s ok 29 /utils/free-sized 1161s ok 30 /utils/nullify 1161s ok 31 /utils/atexit 1161s ok 32 /utils/check-setuid 1161s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1161s ok 33 /utils/int-limits 1161s ok 34 /utils/clear-list 1161s ok 35 /utils/clear-slist 1161s # Start of specialdir tests 1161s ok 36 /utils/specialdir/desktop 1161s # End of specialdir tests 1161s # Start of clear-pointer tests 1161s ok 37 /utils/clear-pointer/side-effects 1161s # End of clear-pointer tests 1161s # Start of aligned-mem tests 1161s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1161s ok 38 /utils/aligned-mem/alignment 1161s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1161s ok 39 /utils/aligned-mem/zeroed 1161s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1161s ok 40 /utils/aligned-mem/free-sized 1161s # Start of subprocess tests 1161s # End of subprocess tests 1161s # End of aligned-mem tests 1161s # End of utils tests 1161s ok - glib/utils.test 1161s # Running test: glib/portal-support-env-var.test 1161s TAP version 13 1161s # random seed: R02S944017e16c204ba78e69ba553a60c259 1161s 1..1 1161s # Start of portal-support tests 1161s ok 1 /portal-support/env-var 1161s # End of portal-support tests 1161s ok - glib/portal-support-env-var.test 1161s # Running test: glib/unix.test 1161s TAP version 13 1161s # random seed: R02S0890defef42b418657be3b9d5c745160 1161s 1..17 1161s # Start of glib-unix tests 1161s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1161s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1161s ok 1 /glib-unix/closefrom 1161s ok 2 /glib-unix/pipe 1161s # /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 1161s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1161s ok 3 /glib-unix/pipe-stdio-overwrite 1161s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1161s ok 4 /glib-unix/pipe-struct 1161s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1161s ok 5 /glib-unix/pipe-struct-auto 1161s ok 6 /glib-unix/error 1161s ok 7 /glib-unix/nonblocking 1162s ok 8 /glib-unix/sighup 1162s # slow test /glib-unix/sighup executed in 0.51 secs 1162s ok 9 /glib-unix/sigterm 1162s # slow test /glib-unix/sigterm executed in 0.50 secs 1163s ok 10 /glib-unix/sighup_again 1163s # slow test /glib-unix/sighup_again executed in 0.50 secs 1163s ok 11 /glib-unix/sighup_add_remove 1163s ok 12 /glib-unix/sighup_nested 1165s # Executing: glib/unix.test 1165s ok 13 /glib-unix/callback_after_signal 1165s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1165s ok 14 /glib-unix/child-wait 1165s # Start of closefrom tests 1165s # Start of subprocess tests 1165s # End of subprocess tests 1165s # End of closefrom tests 1165s # Start of pipe tests 1165s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1165s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1165s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1165s ok 15 /glib-unix/pipe/fd-cloexec 1165s # End of pipe tests 1165s # Start of get-passwd-entry tests 1165s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1165s ok 16 /glib-unix/get-passwd-entry/root 1165s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1165s ok 17 /glib-unix/get-passwd-entry/nonexistent 1165s # End of get-passwd-entry tests 1165s # End of glib-unix tests 1165s ok - glib/unix.test 1165s # Running test: glib/gdbus-non-socket.test 1165s TAP version 13 1165s # random seed: R02Sbcce6d63937bd48ade0b61beab5804ce 1165s 1..1 1165s # Start of gdbus tests 1165s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_K22JK2/gdbus/non-socket/.dirs/home 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_K22JK2/gdbus/non-socket/.dirs/cache 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_K22JK2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_K22JK2/gdbus/non-socket/.dirs/system-config2 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_K22JK2/gdbus/non-socket/.dirs/config 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_K22JK2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_K22JK2/gdbus/non-socket/.dirs/system-data2 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_K22JK2/gdbus/non-socket/.dirs/data 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_K22JK2/gdbus/non-socket/.dirs/state 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_K22JK2/gdbus/non-socket/.dirs/runtime 1165s ok 1 /gdbus/non-socket 1165s # slow test /gdbus/non-socket executed in 0.52 secs 1165s # End of gdbus tests 1165s ok - glib/gdbus-non-socket.test 1165s # Running test: glib/slice.test 1165s TAP version 13 1165s # random seed: R02S52d1550915f7bf0d45e8d33c30b6cec5 1165s 1..3 1165s # Start of slice tests 1165s ok 1 /slice/copy 1165s ok 2 /slice/chain 1167s ok 3 /slice/allocate 1167s # slow test /slice/allocate executed in 1.48 secs 1167s # End of slice tests 1167s ok - glib/slice.test 1167s # Running test: glib/gdbus-auth.test 1167s TAP version 13 1167s # random seed: R02S365b27e3c237c6998d2549cf894b7adc 1167s 1..5 1167s # Start of gdbus tests 1167s # Start of auth tests 1167s # Start of client tests 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/EXTERNAL/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/EXTERNAL/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/EXTERNAL/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/EXTERNAL/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/EXTERNAL/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1167s ok 1 /gdbus/auth/client/EXTERNAL 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1167s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1167s # End of client tests 1167s # Start of server tests 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/ANONYMOUS/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/ANONYMOUS/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/ANONYMOUS/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/ANONYMOUS/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1167s ok 3 /gdbus/auth/server/ANONYMOUS 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/EXTERNAL/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/EXTERNAL/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/EXTERNAL/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/EXTERNAL/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/EXTERNAL/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1167s ok 4 /gdbus/auth/server/EXTERNAL 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_LSSJK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1167s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1167s # End of server tests 1167s # End of auth tests 1167s # End of gdbus tests 1167s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1167s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1167s ok - glib/gdbus-auth.test 1167s # Running test: glib/buffered-input-stream.test 1167s TAP version 13 1167s # random seed: R02Sc124964fe4690e160390ab26d51115d1 1167s 1..10 1167s # Start of buffered-input-stream tests 1167s ok 1 /buffered-input-stream/peek 1167s ok 2 /buffered-input-stream/peek-buffer 1167s ok 3 /buffered-input-stream/set-buffer-size 1167s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1167s ok 4 /buffered-input-stream/read-byte 1167s ok 5 /buffered-input-stream/read 1167s ok 6 /buffered-input-stream/read-async 1167s ok 7 /buffered-input-stream/skip 1167s ok 8 /buffered-input-stream/skip-async 1167s ok 9 /buffered-input-stream/seek 1167s # End of buffered-input-stream tests 1167s # Start of filter-input-stream tests 1167s ok 10 /filter-input-stream/close 1167s # End of filter-input-stream tests 1167s ok - glib/buffered-input-stream.test 1167s # Running test: glib/gdbus-addresses.test 1167s TAP version 13 1167s # random seed: R02S1c8e40937ec87b1f94f54b75df1d09a5 1167s 1..9 1167s # Start of gdbus tests 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/empty-address/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/empty-address/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/empty-address/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/empty-address/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/empty-address/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/empty-address/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/empty-address/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BSF3K2/gdbus/empty-address/.dirs/runtime 1167s ok 1 /gdbus/empty-address 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/unsupported-address/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/unsupported-address/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/unsupported-address/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/unsupported-address/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/unsupported-address/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/unsupported-address/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/unsupported-address/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BSF3K2/gdbus/unsupported-address/.dirs/runtime 1167s ok 2 /gdbus/unsupported-address 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/address-parsing/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/address-parsing/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/address-parsing/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/address-parsing/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/address-parsing/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/address-parsing/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/address-parsing/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BSF3K2/gdbus/address-parsing/.dirs/runtime 1167s ok 3 /gdbus/address-parsing 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/unix-address/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/unix-address/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/unix-address/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/unix-address/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/unix-address/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/unix-address/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/unix-address/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BSF3K2/gdbus/unix-address/.dirs/runtime 1167s ok 4 /gdbus/unix-address 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/nonce-tcp-address/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/nonce-tcp-address/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/nonce-tcp-address/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/nonce-tcp-address/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/nonce-tcp-address/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/nonce-tcp-address/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/nonce-tcp-address/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BSF3K2/gdbus/nonce-tcp-address/.dirs/runtime 1167s ok 5 /gdbus/nonce-tcp-address 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/tcp-address/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/tcp-address/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/tcp-address/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/tcp-address/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/tcp-address/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/tcp-address/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/tcp-address/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BSF3K2/gdbus/tcp-address/.dirs/runtime 1167s ok 6 /gdbus/tcp-address 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/autolaunch-address/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/autolaunch-address/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/autolaunch-address/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/autolaunch-address/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/autolaunch-address/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/autolaunch-address/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/autolaunch-address/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BSF3K2/gdbus/autolaunch-address/.dirs/runtime 1167s ok 7 /gdbus/autolaunch-address 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/mixed-address/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/mixed-address/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/mixed-address/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/mixed-address/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/mixed-address/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/mixed-address/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/mixed-address/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BSF3K2/gdbus/mixed-address/.dirs/runtime 1167s ok 8 /gdbus/mixed-address 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/escape-address/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/escape-address/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/escape-address/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/escape-address/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BSF3K2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_BSF3K2/gdbus/escape-address/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/escape-address/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BSF3K2/gdbus/escape-address/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BSF3K2/gdbus/escape-address/.dirs/runtime 1167s ok 9 /gdbus/escape-address 1167s # End of gdbus tests 1167s ok - glib/gdbus-addresses.test 1167s # Running test: glib/socket-address.test 1167s TAP version 13 1167s # random seed: R02S7e61bd3655eb5a9ef814334a415cceaf 1167s 1..2 1167s # Start of socket tests 1167s # Start of address tests 1167s # Start of unix tests 1167s ok 1 /socket/address/unix/construct 1167s ok 2 /socket/address/unix/to-string 1167s # End of unix tests 1167s # End of address tests 1167s # End of socket tests 1167s ok - glib/socket-address.test 1167s # Running test: glib/giomodule.test 1167s TAP version 13 1167s # random seed: R02S5542afba574d5c9b1d9b438d52ae11c4 1167s 1..3 1167s # Start of giomodule tests 1167s ok 1 /giomodule/extension-point 1167s ok 2 /giomodule/module-scan-all 1167s ok 3 /giomodule/module-scan-all-with-scope 1167s # End of giomodule tests 1167s ok - glib/giomodule.test 1167s # Running test: glib/gio-tool.py.test 1168s TAP version 13 1168s ok 1 __main__.TestGioTool.test_help 1168s # tmpdir: /tmp/tmpywjj3o4o 1168s # gio: /usr/bin/gio 1168s # Running: ['/usr/bin/gio', '--help'] 1168s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1168s # Output: Usage: 1168s # gio COMMAND [ARGS…] 1168s # 1168s # Commands: 1168s # help Print help 1168s # version Print version 1168s # cat Concatenate files to standard output 1168s # copy Copy one or more files 1168s # info Show information about locations 1168s # launch Launch an application from a desktop file 1168s # list List the contents of locations 1168s # mime Get or set the handler for a mimetype 1168s # mkdir Create directories 1168s # monitor Monitor files and directories for changes 1168s # mount Mount or unmount the locations 1168s # move Move one or more files 1168s # open Open files with the default application 1168s # rename Rename a file 1168s # remove Delete one or more files 1168s # save Read from standard input and save 1168s # set Set a file attribute 1168s # trash Move files or directories to the trash 1168s # tree Lists the contents of locations in a tree 1168s # 1168s # Use “gio help COMMAND” to get detailed help. 1168s # Running: ['/usr/bin/gio', 'help'] 1168s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1168s # Output: Usage: 1168s # gio COMMAND [ARGS…] 1168s # 1168s # Commands: 1168s # help Print help 1168s # version Print version 1168s # cat Concatenate files to standard output 1168s # copy Copy one or more files 1168s # info Show information about locations 1168s # launch Launch an application from a desktop file 1168s # list List the contents of locations 1168s # mime Get or set the handler for a mimetype 1168s # mkdir Create directories 1168s # monitor Monitor files and directories for changes 1168s # mount Mount or unmount the locations 1168s # move Move one or more files 1168s # open Open files with the default application 1168s # rename Rename a file 1168s # remove Delete one or more files 1168s # save Read from standard input and save 1168s # set Set a file attribute 1168s # trash Move files or directories to the trash 1168s # tree Lists the contents of locations in a tree 1168s # 1168s # Use “gio help COMMAND” to get detailed help. 1168s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1168s # tmpdir: /tmp/tmp4qwa3p42 1168s # gio: /usr/bin/gio 1168s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmp4qwa3p42/tmp_gjdczly'] 1168s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1168s # Output: uri: file:///tmp/tmp4qwa3p42/tmp_gjdczly 1168s # local path: /tmp/tmp4qwa3p42/tmp_gjdczly 1168s # unix mount: /dev/sda2[/lxd/containers/autopkgtest-lxd-upnrep/rootfs] / btrfs rw,relatime,space_cache,user_subvol_rm_allowed,subvolid=6544,subvol=/lxd/containers/autopkgtest-lxd-upnrep 1168s # attributes: 1168s # standard::content-type: application/x-zerosize 1168s ok 3 __main__.TestGioTool.test_no_args 1168s # tmpdir: /tmp/tmprmqztp_g 1168s # gio: /usr/bin/gio 1168s # Running: ['/usr/bin/gio'] 1168s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-imwfCkFmgF,guid=bfe5b19471b3bffdd182b3c365f77107', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.GMHruh/build.Jt8/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.GMHruh/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.hcsWK47IOx', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.citIUQ/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.GMHruh/build.Jt8/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.GMHruh/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1168s 1..3 1168s ok - glib/gio-tool.py.test 1168s # Running test: glib/asyncqueue.test 1168s TAP version 13 1168s # random seed: R02S31e5b58cdb561138055ee4f596124185 1168s 1..7 1168s # Start of asyncqueue tests 1168s ok 1 /asyncqueue/basics 1168s ok 2 /asyncqueue/sort 1168s ok 3 /asyncqueue/destroy 1168s ok 4 /asyncqueue/threads 1168s ok 5 /asyncqueue/timed 1168s ok 6 /asyncqueue/remove 1168s ok 7 /asyncqueue/push_front 1168s # End of asyncqueue tests 1168s ok - glib/asyncqueue.test 1168s # Running test: glib/data-input-stream.test 1168s TAP version 13 1168s # random seed: R02Sad58e1a32eea4303cdc4ed2556b0cf71 1168s 1..10 1168s # Start of data-input-stream tests 1168s ok 1 /data-input-stream/basic 1168s ok 2 /data-input-stream/read-lines-LF 1168s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1168s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1168s ok 5 /data-input-stream/read-lines-CR 1168s ok 6 /data-input-stream/read-lines-CR-LF 1168s ok 7 /data-input-stream/read-lines-any 1168s ok 8 /data-input-stream/read-until 1168s ok 9 /data-input-stream/read-upto 1169s ok 10 /data-input-stream/read-int 1169s # End of data-input-stream tests 1169s ok - glib/data-input-stream.test 1169s # Running test: glib/string.test 1169s TAP version 13 1169s # random seed: R02S924df6d3f6e6f5e76cb2b1b1eefc197c 1169s 1..23 1169s # Start of string tests 1169s ok 1 /string/test-string-chunks 1169s ok 2 /string/test-string-chunk-insert 1169s ok 3 /string/test-string-new 1169s ok 4 /string/test-string-printf 1169s ok 5 /string/test-string-assign 1169s ok 6 /string/test-string-append-c 1169s ok 7 /string/test-string-append 1169s ok 8 /string/test-string-append-vprintf 1169s ok 9 /string/test-string-prepend-c 1169s ok 10 /string/test-string-prepend 1169s ok 11 /string/test-string-insert 1169s ok 12 /string/test-string-insert-unichar 1169s ok 13 /string/test-string-equal 1169s ok 14 /string/test-string-truncate 1169s ok 15 /string/test-string-overwrite 1169s ok 16 /string/test-string-nul-handling 1169s ok 17 /string/test-string-up-down 1169s ok 18 /string/test-string-set-size 1169s ok 19 /string/test-string-to-bytes 1169s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1169s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1169s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1169s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1169s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1169s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1169s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1169s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1169s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1169s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1169s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1169s # -> 4 replacements, "fd fr fals" 1169s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1169s # -> 3 replacements, "aaaaaaaaa" 1169s # 7: Replacing "a" with "" (limit 0) in "aaa" 1169s # -> 3 replacements, "" 1169s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1169s # -> 1 replacements, "bba" 1169s # 9: Replacing "" with "bar" (limit 0) in "foo" 1169s # -> 4 replacements, "barfbarobarobar" 1169s # 10: Replacing "" with "x" (limit 0) in "" 1169s # -> 1 replacements, "x" 1169s # 11: Replacing "" with "" (limit 0) in "" 1169s # -> 1 replacements, "" 1169s ok 20 /string/test-string-replace 1169s ok 21 /string/test-string-steal 1169s ok 22 /string/test-string-new-take 1169s # Start of test-string-new-take tests 1169s ok 23 /string/test-string-new-take/null 1169s # End of test-string-new-take tests 1169s # End of string tests 1169s ok - glib/string.test 1169s # Running test: glib/unix-fd.test 1169s TAP version 13 1169s # random seed: R02Sd1e84a3b98dab2da29aa73dc8f74b366 1169s 1..2 1169s # Start of unix-fd tests 1169s ok 1 /unix-fd/fd-list 1169s ok 2 /unix-fd/scm 1169s # End of unix-fd tests 1169s ok - glib/unix-fd.test 1169s # Running test: glib/cancellable.test 1169s TAP version 13 1169s # random seed: R02S781e68a725894d46328e737e4a96c38e 1169s 1..10 1169s # Start of cancellable tests 1169s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1169s ok 2 /cancellable/null 1169s # /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 1169s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1169s # /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 1169s ok 4 /cancellable/resets-on-cancel-callback-hangs 1169s ok 5 /cancellable/poll-fd 1169s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1169s ok 6 /cancellable/poll-fd-cancelled 1169s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1169s ok 7 /cancellable/poll-fd-cancelled-threaded 1169s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1169s ok 8 /cancellable/cancel-reset-races 1169s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1169s ok 9 /cancellable/cancel-reset-connect-races 1169s # End of cancellable tests 1169s # Start of cancellable-source tests 1169s # /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) 1169s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1170s # Executing: glib/cancellable.test 1173s ok 10 /cancellable-source/threaded-dispose 1173s # slow test /cancellable-source/threaded-dispose executed in 3.62 secs 1173s # End of cancellable-source tests 1173s ok - glib/cancellable.test 1173s # Running test: glib/macros-c-17.test 1173s TAP version 13 1173s # random seed: R02S10fa06314c2e172fa2848ccf7cfae581 1173s 1..4 1173s # Start of C tests 1173s ok 1 /C/standard-17 1173s # End of C tests 1173s # Start of alignof tests 1173s ok 2 /alignof/fallback 1173s # End of alignof tests 1173s # Start of assert tests 1173s ok 3 /assert/static 1173s # End of assert tests 1173s # Start of struct tests 1173s ok 4 /struct/sizeof_member 1173s # End of struct tests 1173s ok - glib/macros-c-17.test 1173s # Running test: glib/application-command-line.test 1173s TAP version 13 1173s # random seed: R02Sdc32903be0aa9be33279c0f4a50d900e 1173s 1..1 1173s # Start of application-command-line tests 1173s ok 1 /application-command-line/basic-properties 1173s # End of application-command-line tests 1173s ok - glib/application-command-line.test 1173s # Running test: glib/markup-parse.test 1173s TAP version 13 1173s # random seed: R02Sf063143ded029fb6db7cc34dfa7594cd 1173s 1..71 1173s # Start of markup tests 1173s # Start of parse tests 1173s ok 1 /markup/parse/fail-1.gmarkup 1173s ok 2 /markup/parse/fail-10.gmarkup 1173s ok 3 /markup/parse/fail-11.gmarkup 1173s ok 4 /markup/parse/fail-12.gmarkup 1173s ok 5 /markup/parse/fail-13.gmarkup 1173s ok 6 /markup/parse/fail-14.gmarkup 1173s ok 7 /markup/parse/fail-15.gmarkup 1173s ok 8 /markup/parse/fail-16.gmarkup 1173s ok 9 /markup/parse/fail-17.gmarkup 1173s ok 10 /markup/parse/fail-18.gmarkup 1173s ok 11 /markup/parse/fail-19.gmarkup 1173s ok 12 /markup/parse/fail-2.gmarkup 1173s ok 13 /markup/parse/fail-20.gmarkup 1173s ok 14 /markup/parse/fail-21.gmarkup 1173s ok 15 /markup/parse/fail-22.gmarkup 1173s ok 16 /markup/parse/fail-23.gmarkup 1173s ok 17 /markup/parse/fail-24.gmarkup 1173s ok 18 /markup/parse/fail-25.gmarkup 1173s ok 19 /markup/parse/fail-26.gmarkup 1173s ok 20 /markup/parse/fail-27.gmarkup 1173s ok 21 /markup/parse/fail-28.gmarkup 1173s ok 22 /markup/parse/fail-29.gmarkup 1173s ok 23 /markup/parse/fail-3.gmarkup 1173s ok 24 /markup/parse/fail-30.gmarkup 1173s ok 25 /markup/parse/fail-31.gmarkup 1173s ok 26 /markup/parse/fail-32.gmarkup 1173s ok 27 /markup/parse/fail-33.gmarkup 1173s ok 28 /markup/parse/fail-34.gmarkup 1173s ok 29 /markup/parse/fail-35.gmarkup 1173s ok 30 /markup/parse/fail-36.gmarkup 1173s ok 31 /markup/parse/fail-37.gmarkup 1173s ok 32 /markup/parse/fail-38.gmarkup 1173s ok 33 /markup/parse/fail-39.gmarkup 1173s ok 34 /markup/parse/fail-4.gmarkup 1173s ok 35 /markup/parse/fail-40.gmarkup 1173s ok 36 /markup/parse/fail-41.gmarkup 1173s ok 37 /markup/parse/fail-42.gmarkup 1173s ok 38 /markup/parse/fail-43.gmarkup 1173s ok 39 /markup/parse/fail-44.gmarkup 1173s ok 40 /markup/parse/fail-45.gmarkup 1173s ok 41 /markup/parse/fail-46.gmarkup 1173s ok 42 /markup/parse/fail-47.gmarkup 1173s ok 43 /markup/parse/fail-48.gmarkup 1173s ok 44 /markup/parse/fail-49.gmarkup 1173s ok 45 /markup/parse/fail-5.gmarkup 1173s ok 46 /markup/parse/fail-50.gmarkup 1173s ok 47 /markup/parse/fail-51.gmarkup 1173s ok 48 /markup/parse/fail-52.gmarkup 1173s ok 49 /markup/parse/fail-53.gmarkup 1173s ok 50 /markup/parse/fail-54.gmarkup 1173s ok 51 /markup/parse/fail-6.gmarkup 1173s ok 52 /markup/parse/fail-7.gmarkup 1173s ok 53 /markup/parse/fail-8.gmarkup 1173s ok 54 /markup/parse/fail-9.gmarkup 1173s ok 55 /markup/parse/valid-1.gmarkup 1173s ok 56 /markup/parse/valid-10.gmarkup 1173s ok 57 /markup/parse/valid-11.gmarkup 1173s ok 58 /markup/parse/valid-12.gmarkup 1173s ok 59 /markup/parse/valid-13.gmarkup 1173s ok 60 /markup/parse/valid-14.gmarkup 1173s ok 61 /markup/parse/valid-15.gmarkup 1173s ok 62 /markup/parse/valid-16.gmarkup 1173s ok 63 /markup/parse/valid-17.gmarkup 1173s ok 64 /markup/parse/valid-2.gmarkup 1173s ok 65 /markup/parse/valid-3.gmarkup 1173s ok 66 /markup/parse/valid-4.gmarkup 1173s ok 67 /markup/parse/valid-5.gmarkup 1173s ok 68 /markup/parse/valid-6.gmarkup 1173s ok 69 /markup/parse/valid-7.gmarkup 1173s ok 70 /markup/parse/valid-8.gmarkup 1173s ok 71 /markup/parse/valid-9.gmarkup 1173s # End of parse tests 1173s # End of markup tests 1173s ok - glib/markup-parse.test 1173s # Running test: glib/utils-c-17.test 1173s TAP version 13 1173s # random seed: R02Sb64dbfadee8288f9d7df41c5c956b95b 1173s 1..40 1173s # Start of utils tests 1173s ok 1 /utils/language-names 1173s ok 2 /utils/locale-variants 1173s ok 3 /utils/version 1173s ok 4 /utils/appname 1173s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1173s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1173s ok 5 /utils/prgname-thread-safety 1173s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1173s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1173s ok 6 /utils/tmpdir 1173s ok 7 /utils/basic_bits 1173s ok 8 /utils/bits 1173s ok 9 /utils/swap 1173s ok 10 /utils/find-program 1173s ok 11 /utils/find-program-for-path 1173s ok 12 /utils/debug 1173s ok 13 /utils/codeset 1173s ok 14 /utils/codeset2 1173s ok 15 /utils/console-charset 1173s ok 16 /utils/gettext 1173s ok 17 /utils/username 1173s ok 18 /utils/realname 1173s ok 19 /utils/hostname 1173s ok 20 /utils/xdgdirs 1173s ok 21 /utils/specialdir 1173s # NAME: Ubuntu 1173s ok 22 /utils/os-info 1173s ok 23 /utils/clear-pointer 1173s ok 24 /utils/clear-pointer-cast 1173s ok 25 /utils/take-pointer 1173s ok 26 /utils/clear-source 1173s ok 27 /utils/misc-mem 1173s # /utils/aligned-mem summary: Aligned memory allocator 1173s # Alignment must not be zero 1173s # Alignment must be a power of two 1173s # Alignment must be a multiple of sizeof(void*) 1173s ok 28 /utils/aligned-mem 1173s # /utils/free-sized summary: Check that g_free_sized() works 1173s ok 29 /utils/free-sized 1173s ok 30 /utils/nullify 1173s ok 31 /utils/atexit 1173s ok 32 /utils/check-setuid 1173s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1173s ok 33 /utils/int-limits 1173s ok 34 /utils/clear-list 1173s ok 35 /utils/clear-slist 1173s # Start of specialdir tests 1173s ok 36 /utils/specialdir/desktop 1173s # End of specialdir tests 1173s # Start of clear-pointer tests 1173s ok 37 /utils/clear-pointer/side-effects 1173s # End of clear-pointer tests 1173s # Start of aligned-mem tests 1173s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1173s ok 38 /utils/aligned-mem/alignment 1173s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1173s ok 39 /utils/aligned-mem/zeroed 1173s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1173s ok 40 /utils/aligned-mem/free-sized 1173s # Start of subprocess tests 1173s # End of subprocess tests 1173s # End of aligned-mem tests 1173s # End of utils tests 1173s ok - glib/utils-c-17.test 1173s # Running test: glib/gdbus-method-invocation.test 1173s TAP version 13 1173s # random seed: R02S0a7861d87c412c8f36b41e5ae385cafe 1173s 1..1 1173s # Start of gdbus tests 1173s # Start of method-invocation tests 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_272JK2/gdbus/method-invocation/return/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_272JK2/gdbus/method-invocation/return/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_272JK2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_272JK2/gdbus/method-invocation/return/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_272JK2/gdbus/method-invocation/return/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_272JK2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_272JK2/gdbus/method-invocation/return/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_272JK2/gdbus/method-invocation/return/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_272JK2/gdbus/method-invocation/return/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_272JK2/gdbus/method-invocation/return/.dirs/runtime 1173s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1173s # Calling org.freedesktop.DBus.Properties.Get 1173s # Calling org.freedesktop.DBus.Properties.Get 1173s # Calling org.freedesktop.DBus.Properties.Get 1173s # Calling org.freedesktop.DBus.Properties.Set 1173s # Calling org.freedesktop.DBus.Properties.GetAll 1173s # Calling org.example.Foo.WrongReturnType 1173s # Calling org.example.Foo.GetFDs 1173s # Calling org.example.Foo.GetFDs 1173s # Calling org.example.Foo.ReturnError 1173s # Calling org.example.Foo.CloseBeforeReturning 1173s ok 1 /gdbus/method-invocation/return 1173s # End of method-invocation tests 1173s # End of gdbus tests 1173s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1173s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1173s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1173s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1173s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1173s ok - glib/gdbus-method-invocation.test 1173s # Running test: glib/g-file.test 1173s TAP version 13 1173s # random seed: R02S2046dc8fefa4c07cd263cc32c7413392 1173s 1..8 1173s # Start of g-file tests 1173s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1173s ok 1 /g-file/test_g_file_new_null 1173s ok 2 /g-file/test_g_file_new_for_path 1173s ok 3 /g-file/test_g_file_new_for_uri 1173s ok 4 /g-file/test_g_file_dup 1173s ok 5 /g-file/test_g_file_get_parse_name_utf8 1173s file:///tmp/test-tmp-glib_g-file.test-M2OKK2 1173s file:///tmp 1173s file:///tmp 1173s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1173s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1173s ok 6 /g-file/test_g_file_new_for_commandline_arg 1173s /dir1 /dir1/dir2/dir3/ 1173s /dir1/ /dir1/dir2/dir3/ 1173s /dir1 /dir1/dir2/dir3 1173s /dir1/ /dir1/dir2/dir3 1173s /tmp/ /something/ 1173s /dir1/dir2 /dir1/ 1173s //dir1/new //dir1/new/dir2/dir3 1173s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1173s file:///dir1 file:///dir1/dir2/dir3/ 1173s file:///dir1/ file:///dir1/dir2/dir3/ 1173s file:///dir1 file:///dir1/dir2/dir3 1173s file:///dir1/ file:///dir1/dir2/dir3 1173s file:///tmp/ file:///something/ 1173s file:///dir1/dir2 file:///dir1/ 1173s file:////dir1/new file:////dir1/new/dir2/dir3 1173s 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 1173s ok 7 /g-file/test_g_file_has_prefix 1173s ok 8 /g-file/test_g_file_get_parent_child 1173s # End of g-file tests 1173s ok - glib/g-file.test 1173s # Running test: glib/param.test 1173s TAP version 13 1173s # random seed: R02Sdd0e89eeaa76dac34f42f559e8d4df7f 1173s 1..32 1173s # Start of param tests 1173s ok 1 /param/value 1173s ok 2 /param/strings 1173s ok 3 /param/qdata 1173s ok 4 /param/validate 1173s ok 5 /param/convert 1173s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1173s ok 7 /param/default 1173s ok 8 /param/is-valid-name 1173s # Start of invalid-name tests 1173s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1173s ok 9 /param/invalid-name/colon 1173s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1174s ok 10 /param/invalid-name/first-char 1174s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1174s ok 11 /param/invalid-name/empty 1174s # End of invalid-name tests 1174s # Start of implement tests 1174s # Start of subprocess tests 1174s # End of subprocess tests 1174s # End of implement tests 1174s # End of param tests 1174s # Start of value tests 1174s ok 12 /value/transform 1174s # End of value tests 1174s # Start of paramspec tests 1174s ok 13 /paramspec/char 1174s ok 14 /paramspec/uchar 1174s ok 15 /paramspec/int 1174s ok 16 /paramspec/uint 1174s ok 17 /paramspec/long 1174s ok 18 /paramspec/ulong 1174s ok 19 /paramspec/int64 1174s ok 20 /paramspec/uint64 1174s ok 21 /paramspec/float 1174s ok 22 /paramspec/double 1174s ok 23 /paramspec/unichar 1174s ok 24 /paramspec/param 1174s ok 25 /paramspec/null-param 1174s ok 26 /paramspec/string 1174s ok 27 /paramspec/override 1174s ok 28 /paramspec/gtype 1174s ok 29 /paramspec/variant 1174s ok 30 /paramspec/custom 1174s ok 31 /paramspec/pool 1174s # Start of variant tests 1174s ok 32 /paramspec/variant/cmp 1174s # End of variant tests 1174s # End of paramspec tests 1174s ok - glib/param.test 1174s # Running test: glib/enums.test 1174s TAP version 13 1174s # random seed: R02Sb109ad9e642235f2ce245f52f020c436 1174s 1..4 1174s # Start of enum tests 1174s ok 1 /enum/basic 1174s ok 2 /enum/define-type 1174s # End of enum tests 1174s # Start of flags tests 1174s ok 3 /flags/basic 1174s ok 4 /flags/define-type 1174s # End of flags tests 1174s ok - glib/enums.test 1174s # Running test: glib/tls-bindings.test 1174s TAP version 13 1174s # random seed: R02Sb8e6393400a7e7f9fdf256223639ebb3 1174s 1..2 1174s # Start of tls-connection tests 1174s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1174s ok 1 /tls-connection/get-tls-channel-binding 1174s ok 2 /tls-connection/get-dtls-channel-binding 1174s # End of tls-connection tests 1174s ok - glib/tls-bindings.test 1174s # Running test: glib/gdbus-introspection.test 1174s TAP version 13 1174s # random seed: R02S0fb89711904a64536828d1064816a5ec 1174s 1..4 1174s # Start of gdbus tests 1174s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-parser/.dirs/home 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-parser/.dirs/cache 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-parser/.dirs/system-config2 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-parser/.dirs/config 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-parser/.dirs/system-data2 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-parser/.dirs/data 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-parser/.dirs/state 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-parser/.dirs/runtime 1174s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1174s ok 1 /gdbus/introspection-parser 1174s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-generate/.dirs/home 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-generate/.dirs/cache 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-generate/.dirs/system-config2 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-generate/.dirs/config 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-generate/.dirs/system-data2 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-generate/.dirs/data 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-generate/.dirs/state 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-generate/.dirs/runtime 1174s ok 2 /gdbus/introspection-generate 1174s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-default-direction/.dirs/home 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-default-direction/.dirs/cache 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-default-direction/.dirs/system-config2 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-default-direction/.dirs/config 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-default-direction/.dirs/system-data2 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-default-direction/.dirs/data 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-default-direction/.dirs/state 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-default-direction/.dirs/runtime 1174s ok 3 /gdbus/introspection-default-direction 1174s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-extra-data/.dirs/home 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-extra-data/.dirs/cache 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-extra-data/.dirs/system-config2 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-extra-data/.dirs/config 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-extra-data/.dirs/system-data2 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-extra-data/.dirs/data 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-extra-data/.dirs/state 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_KTJLK2/gdbus/introspection-extra-data/.dirs/runtime 1174s ok 4 /gdbus/introspection-extra-data 1174s # End of gdbus tests 1174s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1174s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1174s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1174s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1174s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1174s ok - glib/gdbus-introspection.test 1174s # Running test: glib/async-splice-output-stream.test 1174s TAP version 13 1174s # random seed: R02Sb4043bfd9e7f1ed4e018a956c423375f 1174s 1..5 1174s # Start of async-splice tests 1174s ok 1 /async-splice/copy-chunks 1174s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1174s ok 2 /async-splice/copy-chunks-threaded-input 1174s ok 3 /async-splice/copy-chunks-threaded-output 1174s ok 4 /async-splice/copy-chunks-threaded 1174s ok 5 /async-splice/cancelled 1174s # End of async-splice tests 1174s ok - glib/async-splice-output-stream.test 1174s # Running test: glib/properties-refcount4.test 1174s TAP version 13 1174s # random seed: R02Sef8efc2e9fbef012b3872f2c547b235c 1174s 1..1 1174s # Start of gobject tests 1174s # Start of refcount tests 1174s ok 1 /gobject/refcount/properties-4 1174s # End of refcount tests 1174s # End of gobject tests 1174s ok - glib/properties-refcount4.test 1174s # Running test: glib/macros.test 1174s TAP version 13 1174s # random seed: R02Se5e3bc0efaac7a91f246953267f73ebc 1174s 1..3 1174s # Start of alignof tests 1174s ok 1 /alignof/fallback 1174s # End of alignof tests 1174s # Start of assert tests 1174s ok 2 /assert/static 1174s # End of assert tests 1174s # Start of struct tests 1174s ok 3 /struct/sizeof_member 1174s # End of struct tests 1174s ok - glib/macros.test 1174s # Running test: glib/accumulator.test 1174s TAP version 13 1174s # random seed: R02S40a43518a9095ddbb453a86b37279a16 1174s 1..1 1174s # Start of gobject tests 1174s ok 1 /gobject/accumulator 1174s # End of gobject tests 1174s ok - glib/accumulator.test 1174s # Running test: glib/include.test 1174s TAP version 13 1174s # random seed: R02S4a1144efe31359befdf9a9dbda7583f2 1174s 1..1 1174s # Start of include tests 1174s ok 1 /include/rwlock 1174s # End of include tests 1174s ok - glib/include.test 1174s # Running test: glib/defaultvalue.test 1174s TAP version 13 1174s # random seed: R02Sb069f50c3d6eed5ca4735aff63b54e38 1174s 1..84 1174s # Start of Default Values tests 1174s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1174s ok 2 /Default Values/GAppLaunchContext 1174s ok 3 /Default Values/GApplicationCommandLine 1174s # skipping GApplication:is-remote 1174s ok 4 /Default Values/GApplication 1174s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1174s ok 6 /Default Values/GBindingGroup 1174s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1174s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1174s ok 9 /Default Values/GBytesIcon 1174s ok 10 /Default Values/GCancellable 1174s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1174s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1174s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1174s ok 14 /Default Values/GCredentials 1174s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1174s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1174s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1174s ok 18 /Default Values/GDBusAuthObserver 1174s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1174s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1174s ok 21 /Default Values/GDBusMessage 1174s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1174s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1174s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1174s ok 25 /Default Values/GDBusObjectProxy 1174s ok 26 /Default Values/GDBusObjectSkeleton 1174s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1174s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1174s ok 29 /Default Values/GEmblem 1174s ok 30 /Default Values/GEmblemedIcon 1174s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1174s ok 32 /Default Values/GFileInfo 1174s ok 33 /Default Values/GFileInputStream 1174s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1174s ok 35 /Default Values/GFileOutputStream 1174s ok 36 /Default Values/GFilenameCompleter 1174s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1174s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1174s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1174s ok 40 /Default Values/GInitiallyUnowned 1174s ok 41 /Default Values/GIOModule 1174s ok 42 /Default Values/GListStore 1174s ok 43 /Default Values/GMemoryInputStream 1174s ok 44 /Default Values/GMemoryOutputStream 1174s ok 45 /Default Values/GMenu 1174s ok 46 /Default Values/GMenuItem 1174s ok 47 /Default Values/GMountOperation 1174s ok 48 /Default Values/GNativeSocketAddress 1174s ok 49 /Default Values/GNetworkAddress 1174s ok 50 /Default Values/GNetworkService 1174s ok 51 /Default Values/GNotification 1174s ok 52 /Default Values/GObject 1174s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1174s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1174s # skipping GProxyAddressEnumerator:proxy-resolver 1174s ok 54 /Default Values/GProxyAddressEnumerator 1174s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1174s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1174s ok 57 /Default Values/GSignalGroup 1174s ok 58 /Default Values/GSimpleAction 1174s ok 59 /Default Values/GSimpleActionGroup 1174s ok 60 /Default Values/GSimpleAsyncResult 1174s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1174s ok 62 /Default Values/GSimplePermission 1174s ok 63 /Default Values/GSimpleProxyResolver 1174s # skipping GSocketClient:proxy-resolver 1174s ok 64 /Default Values/GSocketClient 1174s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1174s ok 66 /Default Values/GSocket # SKIP initialization failed 1174s ok 67 /Default Values/GSocketListener 1174s ok 68 /Default Values/GSocketService 1174s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1174s ok 70 /Default Values/GSubprocessLauncher 1174s # GLib-GIO-DEBUG: GTask 0x2061ec8 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1174s ok 71 /Default Values/GTask 1174s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1174s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1174s ok 74 /Default Values/GTestDBus 1174s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1174s ok 76 /Default Values/GThreadedSocketService 1174s ok 77 /Default Values/GTlsInteraction 1174s ok 78 /Default Values/GTlsPassword 1174s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1174s ok 80 /Default Values/GUnixFDList 1174s ok 81 /Default Values/GVfs 1174s ok 82 /Default Values/GVolumeMonitor 1174s ok 83 /Default Values/GZlibCompressor 1174s ok 84 /Default Values/GZlibDecompressor 1174s # End of Default Values tests 1174s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1174s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1174s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1174s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1174s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1174s ok - glib/defaultvalue.test 1174s # SUMMARY: total=315; passed=314; skipped=1; failed=0; user=327.5s; system=350.2s; maxrss=153816 1174s cleaning up pid 14615 1175s autopkgtest [22:48:58]: test installed-tests: -----------------------] 1179s installed-tests PASS 1179s autopkgtest [22:49:02]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1183s autopkgtest [22:49:06]: test closure-refcount: preparing testbed 1199s Reading package lists... 1200s Building dependency tree... 1200s Reading state information... 1201s Starting pkgProblemResolver with broken count: 0 1201s Starting 2 pkgProblemResolver with broken count: 0 1201s Done 1204s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1204s 1 not fully installed or removed. 1204s After this operation, 0 B of additional disk space will be used. 1204s Setting up autopkgtest-satdep (0) ... 1217s (Reading database ... 60087 files and directories currently installed.) 1217s Removing autopkgtest-satdep (0) ... 1227s autopkgtest [22:49:50]: test closure-refcount: [----------------------- 1229s Running test: glib/closure-refcount.test 1229s TAP version 13 1229s # random seed: R02S22f9665e7e011535701342b41e8a90d5 1229s 1..1 1229s # Start of closure tests 1229s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1229s # End of closure tests 1229s PASS: glib/closure-refcount.test 1229s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2484 1230s autopkgtest [22:49:53]: test closure-refcount: -----------------------] 1233s autopkgtest [22:49:56]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1233s closure-refcount PASS 1237s autopkgtest [22:50:00]: test debugcontroller: preparing testbed 1250s Reading package lists... 1251s Building dependency tree... 1251s Reading state information... 1252s Starting pkgProblemResolver with broken count: 0 1252s Starting 2 pkgProblemResolver with broken count: 0 1252s Done 1254s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1254s 1 not fully installed or removed. 1254s After this operation, 0 B of additional disk space will be used. 1254s Setting up autopkgtest-satdep (0) ... 1267s (Reading database ... 60087 files and directories currently installed.) 1267s Removing autopkgtest-satdep (0) ... 1276s autopkgtest [22:50:39]: test debugcontroller: [----------------------- 1278s Running test: glib/debugcontroller.test 1278s TAP version 13 1278s # random seed: R02S352da63b36136e376e91548c2e0609d8 1278s 1..3 1278s # Start of debug-controller tests 1278s # Start of dbus tests 1278s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1278s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1278s # GLib-GIO-DEBUG: Debug output enabled 1278s # GLib-GIO-DEBUG: Debug output disabled 1278s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1278s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1278s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1278s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1278s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1278s ok 1 /debug-controller/dbus/basic 1278s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1278s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1278s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1278s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1278s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1278s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1278s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1278s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s ok 2 /debug-controller/dbus/duplicate 1279s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1279s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1279s # GLib-GIO-DEBUG: Debug output enabled 1279s # GLib-GIO-DEBUG: Debug output disabled 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s ok 3 /debug-controller/dbus/properties 1279s # End of dbus tests 1279s # End of debug-controller tests 1279s PASS: glib/debugcontroller.test 1279s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4576 1279s autopkgtest [22:50:42]: test debugcontroller: -----------------------] 1283s debugcontroller PASS 1283s autopkgtest [22:50:46]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1286s autopkgtest [22:50:49]: test gdbus-server-auth: preparing testbed 1299s Reading package lists... 1300s Building dependency tree... 1300s Reading state information... 1301s Starting pkgProblemResolver with broken count: 0 1301s Starting 2 pkgProblemResolver with broken count: 0 1301s Done 1304s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1304s 1 not fully installed or removed. 1304s After this operation, 0 B of additional disk space will be used. 1304s Setting up autopkgtest-satdep (0) ... 1319s (Reading database ... 60087 files and directories currently installed.) 1319s Removing autopkgtest-satdep (0) ... 1328s autopkgtest [22:51:31]: test gdbus-server-auth: [----------------------- 1330s Running test: glib/gdbus-server-auth.test 1330s TAP version 13 1330s # random seed: R02S237c98c1d22f91deb46566d7b7fc7d7b 1330s 1..9 1330s # Start of gdbus tests 1330s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/.dirs/home 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/.dirs/cache 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/.dirs/system-config2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/.dirs/config 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/.dirs/system-data2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/.dirs/data 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/.dirs/state 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/.dirs/runtime 1330s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_O892K2/gdbus-server-auth-UM42K2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1330s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_O892K2/gdbus-server-auth-UM42K2/dbus-MdIqay1i 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15520 1330s ok 1 /gdbus/server-auth 1330s # Start of server-auth tests 1330s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/abstract/.dirs/home 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/abstract/.dirs/cache 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/abstract/.dirs/system-config2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/abstract/.dirs/config 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/abstract/.dirs/system-data2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/abstract/.dirs/data 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/abstract/.dirs/state 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/abstract/.dirs/runtime 1330s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_O892K2/gdbus-server-auth-Z4P1K2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1330s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_O892K2/gdbus-server-auth-Z4P1K2/dbus-GCbEvEYU 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15520 1330s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1330s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1330s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15520 1330s ok 2 /gdbus/server-auth/abstract 1330s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/tcp/.dirs/home 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/tcp/.dirs/cache 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/tcp/.dirs/system-config2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/tcp/.dirs/config 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/tcp/.dirs/system-data2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/tcp/.dirs/data 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/tcp/.dirs/state 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/tcp/.dirs/runtime 1330s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1330s # Connectable address: tcp:host=127.0.0.1,port=36981 1330s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1330s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1330s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1331s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1331s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1331s ok 3 /gdbus/server-auth/tcp 1331s # slow test /gdbus/server-auth/tcp executed in 0.55 secs 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/.dirs/runtime 1331s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_O892K2/gdbus-server-auth-KLALK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1331s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_O892K2/gdbus-server-auth-KLALK2/dbus-7WBR7AU3 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15520 1331s ok 4 /gdbus/server-auth/anonymous 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/.dirs/runtime 1331s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_O892K2/gdbus-server-auth-8J3KK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1331s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_O892K2/gdbus-server-auth-8J3KK2/dbus-V9j54s2N 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15520 1331s ok 5 /gdbus/server-auth/external 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/.dirs/runtime 1331s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_O892K2/gdbus-server-auth-JTFIK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1331s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_O892K2/gdbus-server-auth-JTFIK2/dbus-oNIxlR46 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15520 1331s ok 6 /gdbus/server-auth/sha1 1331s # Start of anonymous tests 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/tcp/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/tcp/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/tcp/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/tcp/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1331s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1331s # Connectable address: tcp:host=127.0.0.1,port=35547 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1331s ok 7 /gdbus/server-auth/anonymous/tcp 1331s # End of anonymous tests 1331s # Start of external tests 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/require-same-user/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/require-same-user/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/require-same-user/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/require-same-user/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/require-same-user/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1331s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_O892K2/gdbus-server-auth-7UK0K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1331s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_O892K2/gdbus-server-auth-7UK0K2/dbus-CSlDKGDu 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15520 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1331s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15520,uid=1000,gid=1000 1331s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15520 1331s ok 8 /gdbus/server-auth/external/require-same-user 1331s # End of external tests 1331s # Start of sha1 tests 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/tcp/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/tcp/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/tcp/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/tcp/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/tcp/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_O892K2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1331s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1331s # Connectable address: tcp:host=127.0.0.1,port=46607 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1331s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1331s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1331s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1331s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1331s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1331s ok 9 /gdbus/server-auth/sha1/tcp 1331s # End of sha1 tests 1331s # End of server-auth tests 1331s # End of gdbus tests 1331s PASS: glib/gdbus-server-auth.test 1331s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=1.1s; maxrss=6784 1332s autopkgtest [22:51:35]: test gdbus-server-auth: -----------------------] 1336s gdbus-server-auth PASS 1336s autopkgtest [22:51:39]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1340s autopkgtest [22:51:43]: test gdbus-threading: preparing testbed 1354s Reading package lists... 1354s Building dependency tree... 1354s Reading state information... 1355s Starting pkgProblemResolver with broken count: 0 1356s Starting 2 pkgProblemResolver with broken count: 0 1356s Done 1358s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1358s 1 not fully installed or removed. 1358s After this operation, 0 B of additional disk space will be used. 1358s Setting up autopkgtest-satdep (0) ... 1371s (Reading database ... 60087 files and directories currently installed.) 1371s Removing autopkgtest-satdep (0) ... 1380s autopkgtest [22:52:23]: test gdbus-threading: [----------------------- 1383s Running test: glib/gdbus-threading.test 1383s TAP version 13 1383s # random seed: R02S50177272108df57de9737bbe88005078 1383s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1383s 1..3 1383s # Start of gdbus tests 1383s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_29BPK2/gdbus/delivery-in-thread/.dirs/home 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_29BPK2/gdbus/delivery-in-thread/.dirs/cache 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_29BPK2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_29BPK2/gdbus/delivery-in-thread/.dirs/system-config2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_29BPK2/gdbus/delivery-in-thread/.dirs/config 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_29BPK2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_29BPK2/gdbus/delivery-in-thread/.dirs/system-data2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_29BPK2/gdbus/delivery-in-thread/.dirs/data 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_29BPK2/gdbus/delivery-in-thread/.dirs/state 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_29BPK2/gdbus/delivery-in-thread/.dirs/runtime 1383s ok 1 /gdbus/delivery-in-thread 1383s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_29BPK2/gdbus/method-calls-in-thread/.dirs/home 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_29BPK2/gdbus/method-calls-in-thread/.dirs/cache 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_29BPK2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_29BPK2/gdbus/method-calls-in-thread/.dirs/system-config2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_29BPK2/gdbus/method-calls-in-thread/.dirs/config 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_29BPK2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_29BPK2/gdbus/method-calls-in-thread/.dirs/system-data2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_29BPK2/gdbus/method-calls-in-thread/.dirs/data 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_29BPK2/gdbus/method-calls-in-thread/.dirs/state 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_29BPK2/gdbus/method-calls-in-thread/.dirs/runtime 1384s ok 2 /gdbus/method-calls-in-thread 1384s # slow test /gdbus/method-calls-in-thread executed in 0.99 secs 1384s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_29BPK2/gdbus/threaded-singleton/.dirs/home 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_29BPK2/gdbus/threaded-singleton/.dirs/cache 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_29BPK2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_29BPK2/gdbus/threaded-singleton/.dirs/system-config2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_29BPK2/gdbus/threaded-singleton/.dirs/config 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_29BPK2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_29BPK2/gdbus/threaded-singleton/.dirs/system-data2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_29BPK2/gdbus/threaded-singleton/.dirs/data 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_29BPK2/gdbus/threaded-singleton/.dirs/state 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_29BPK2/gdbus/threaded-singleton/.dirs/runtime 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1384s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: refcount of 0xf4e010a8 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1385s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: refcount of 0xf4e010a8 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: refcount of 0xf4e008a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s Executing: glib/gdbus-threading.test 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: refcount of 0xf4e019d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: refcount of 0xf4e00868 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s ok 3 /gdbus/threaded-singleton 1391s # slow test /gdbus/threaded-singleton executed in 6.98 secs 1391s # End of gdbus tests 1391s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1391s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1391s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1391s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1391s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1391s PASS: glib/gdbus-threading.test 1391s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.6s; system=3.5s; maxrss=4468 1391s autopkgtest [22:52:34]: test gdbus-threading: -----------------------] 1395s gdbus-threading PASS 1395s autopkgtest [22:52:38]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1399s autopkgtest [22:52:42]: test gmenumodel: preparing testbed 1411s Reading package lists... 1411s Building dependency tree... 1411s Reading state information... 1413s Starting pkgProblemResolver with broken count: 0 1413s Starting 2 pkgProblemResolver with broken count: 0 1413s Done 1415s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1415s 1 not fully installed or removed. 1415s After this operation, 0 B of additional disk space will be used. 1415s Setting up autopkgtest-satdep (0) ... 1428s (Reading database ... 60087 files and directories currently installed.) 1428s Removing autopkgtest-satdep (0) ... 1438s autopkgtest [22:53:21]: test gmenumodel: [----------------------- 1440s Running test: glib/gmenumodel.test 1440s TAP version 13 1440s # random seed: R02Sc635c7044a7872725d9771e49bfdfff1 1440s 1..14 1440s # Start of gmenu tests 1442s ok 1 /gmenu/equality 1442s # slow test /gmenu/equality executed in 2.43 secs 1445s Executing: glib/gmenumodel.test 1445s ok 2 /gmenu/random 1445s # slow test /gmenu/random executed in 3.22 secs 1445s ok 3 /gmenu/attributes 1445s ok 4 /gmenu/links 1445s ok 5 /gmenu/mutable 1445s ok 6 /gmenu/convenience 1445s ok 7 /gmenu/menuitem 1445s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1445s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1446s ok 8 /gmenu/input-validation 1446s # Start of dbus tests 1446s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1447s ok 9 /gmenu/dbus/roundtrip 1447s # slow test /gmenu/dbus/roundtrip executed in 1.08 secs 1447s ok 10 /gmenu/dbus/subscriptions 1450s ok 11 /gmenu/dbus/threaded 1450s # slow test /gmenu/dbus/threaded executed in 2.68 secs 1450s # Start of peer tests 1450s Executing: glib/gmenumodel.test 1451s ok 12 /gmenu/dbus/peer/roundtrip 1451s # slow test /gmenu/dbus/peer/roundtrip executed in 1.09 secs 1451s ok 13 /gmenu/dbus/peer/subscriptions 1451s # End of peer tests 1451s # End of dbus tests 1451s # Start of attributes tests 1451s ok 14 /gmenu/attributes/iterate 1451s # End of attributes tests 1451s # End of gmenu tests 1451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1451s cleaning up pid 17144 1451s PASS: glib/gmenumodel.test 1451s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=13.4s; system=5.9s; maxrss=10016 1452s autopkgtest [22:53:35]: test gmenumodel: -----------------------] 1455s gmenumodel PASS 1455s autopkgtest [22:53:38]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1459s autopkgtest [22:53:42]: test mainloop: preparing testbed 1472s Reading package lists... 1473s Building dependency tree... 1473s Reading state information... 1474s Starting pkgProblemResolver with broken count: 0 1474s Starting 2 pkgProblemResolver with broken count: 0 1474s Done 1478s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1478s 1 not fully installed or removed. 1478s After this operation, 0 B of additional disk space will be used. 1478s Setting up autopkgtest-satdep (0) ... 1491s (Reading database ... 60087 files and directories currently installed.) 1491s Removing autopkgtest-satdep (0) ... 1500s autopkgtest [22:54:23]: test mainloop: [----------------------- 1502s Running test: glib/mainloop.test 1502s TAP version 13 1502s # random seed: R02Se531babbfb616ee385b3e3fc5cd07fce 1502s 1..45 1502s # Start of maincontext tests 1502s ok 1 /maincontext/basic 1502s # Add same-priority sources: 56 1502s # Find each source: 10 1502s # Remove in random order: 110 1502s ok 2 /maincontext/nsources_same_priority 1502s # Add different-priority sources: 59 1502s # Find each source: 9 1503s # Remove in random order: 118 1503s ok 3 /maincontext/nsources_different_priority 1504s # Add sources from threads: 1415 1505s # Remove sources from threads: 790 1505s ok 4 /maincontext/nsources_threadpool 1505s # slow test /maincontext/nsources_threadpool executed in 2.24 secs 1505s ok 5 /maincontext/source_finalization 1505s # /maincontext/idle-once summary: Test g_idle_add_once() works 1505s ok 6 /maincontext/idle-once 1505s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1505s ok 7 /maincontext/timeout-once 1505s # Start of source_finalization_from_source tests 1505s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1505s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1505s ok 8 /maincontext/source_finalization_from_source/0 1505s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1505s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1505s ok 9 /maincontext/source_finalization_from_source/1 1505s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1505s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1505s ok 10 /maincontext/source_finalization_from_source/2 1505s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1505s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1505s ok 11 /maincontext/source_finalization_from_source/3 1505s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1505s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1505s ok 12 /maincontext/source_finalization_from_source/4 1505s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1505s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1505s ok 13 /maincontext/source_finalization_from_source/5 1505s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1505s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1505s ok 14 /maincontext/source_finalization_from_source/6 1505s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1505s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1505s ok 15 /maincontext/source_finalization_from_source/7 1505s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1505s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1505s ok 16 /maincontext/source_finalization_from_source/8 1505s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1505s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1505s ok 17 /maincontext/source_finalization_from_source/9 1505s # End of source_finalization_from_source tests 1505s # Start of source_finalization_from_dispatch tests 1505s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1505s ok 18 /maincontext/source_finalization_from_dispatch/0 1505s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1505s ok 19 /maincontext/source_finalization_from_dispatch/1 1505s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1505s ok 20 /maincontext/source_finalization_from_dispatch/2 1505s # End of source_finalization_from_dispatch tests 1505s # End of maincontext tests 1505s # Start of mainloop tests 1505s ok 21 /mainloop/basic 1505s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1505s ok 23 /mainloop/priorities 1506s ok 24 /mainloop/invoke 1506s # slow test /mainloop/invoke executed in 0.50 secs 1507s ok 25 /mainloop/child_sources 1507s # slow test /mainloop/child_sources executed in 1.23 secs 1507s Executing: glib/mainloop.test 1509s ok 26 /mainloop/recursive_child_sources 1509s # slow test /mainloop/recursive_child_sources executed in 2.28 secs 1509s ok 27 /mainloop/recursive_loop_child_sources 1509s ok 28 /mainloop/swapping_child_sources 1509s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1509s ok 29 /mainloop/blocked_child_sources 1510s ok 30 /mainloop/source_time 1510s # slow test /mainloop/source_time executed in 1.00 secs 1510s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1510s ok 31 /mainloop/overflow 1511s ok 32 /mainloop/ready-time 1511s # slow test /mainloop/ready-time executed in 0.50 secs 1511s ok 33 /mainloop/wakeup 1511s ok 34 /mainloop/remove-invalid 1511s ok 35 /mainloop/unref-while-pending 1512s Executing: glib/mainloop.test 1514s ok 36 /mainloop/unix-fd 1514s # slow test /mainloop/unix-fd executed in 3.52 secs 1514s ok 37 /mainloop/unix-fd-source 1514s ok 38 /mainloop/source-unix-fd-api 1514s ok 39 /mainloop/wait 1514s ok 40 /mainloop/unix-file-poll 1514s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1514s ok 41 /mainloop/unix-fd-priority 1514s ok 42 /mainloop/nfds 1514s ok 43 /mainloop/steal-fd 1514s # Start of ownerless-polling tests 1514s ok 44 /mainloop/ownerless-polling/attach-first 1514s ok 45 /mainloop/ownerless-polling/pop-first 1514s # End of ownerless-polling tests 1514s # End of mainloop tests 1514s PASS: glib/mainloop.test 1514s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.8s; system=10.5s; maxrss=9288 1515s autopkgtest [22:54:38]: test mainloop: -----------------------] 1518s autopkgtest [22:54:41]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1518s mainloop PASS 1522s autopkgtest [22:54:45]: test memory-monitor-dbus: preparing testbed 1535s Reading package lists... 1536s Building dependency tree... 1536s Reading state information... 1537s Starting pkgProblemResolver with broken count: 0 1538s Starting 2 pkgProblemResolver with broken count: 0 1538s Done 1541s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1541s 1 not fully installed or removed. 1541s After this operation, 0 B of additional disk space will be used. 1541s Setting up autopkgtest-satdep (0) ... 1553s (Reading database ... 60087 files and directories currently installed.) 1553s Removing autopkgtest-satdep (0) ... 1562s autopkgtest [22:55:25]: test memory-monitor-dbus: [----------------------- 1565s Running test: glib/memory-monitor-dbus.test 1565s TAP version 13 1565s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1565s # Received memory warning signal, level 1565s # Received memory warning signal, level 1565s # Received memory warning signal, level 1565s 1..1 1565s PASS: glib/memory-monitor-dbus.test 1565s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.1s; maxrss=18096 1566s autopkgtest [22:55:29]: test memory-monitor-dbus: -----------------------] 1570s memory-monitor-dbus PASS 1570s autopkgtest [22:55:33]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1573s autopkgtest [22:55:36]: test socket: preparing testbed 1586s Reading package lists... 1587s Building dependency tree... 1587s Reading state information... 1588s Starting pkgProblemResolver with broken count: 0 1589s Starting 2 pkgProblemResolver with broken count: 0 1589s Done 1591s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1591s 1 not fully installed or removed. 1591s After this operation, 0 B of additional disk space will be used. 1591s Setting up autopkgtest-satdep (0) ... 1605s (Reading database ... 60087 files and directories currently installed.) 1605s Removing autopkgtest-satdep (0) ... 1615s autopkgtest [22:56:18]: test socket: [----------------------- 1618s Running test: glib/socket.test 1618s TAP version 13 1618s # random seed: R02S85a3c092ec60a5f4168d2153b732b028 1618s 1..28 1618s # Start of socket tests 1619s ok 1 /socket/ipv4_sync 1619s # slow test /socket/ipv4_sync executed in 1.01 secs 1620s ok 2 /socket/ipv4_async 1620s # slow test /socket/ipv4_async executed in 1.00 secs 1620s ok 3 /socket/ipv6_sync 1620s ok 4 /socket/ipv6_async 1620s ok 5 /socket/ipv6_v4mapped 1621s ok 6 /socket/close_graceful 1621s # slow test /socket/close_graceful executed in 1.00 secs 1621s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1621s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1621s ok 8 /socket/fd_reuse 1621s ok 9 /socket/address 1621s ok 10 /socket/unix-from-fd 1621s ok 11 /socket/unix-connection 1621s ok 12 /socket/unix-connection-ancillary-data 1621s ok 13 /socket/source-postmortem 1621s ok 14 /socket/read_write 1621s ok 15 /socket/read_writev 1621s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1621s ok 16 /socket/receive_bytes 1621s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1621s ok 17 /socket/receive_bytes_from 1621s # Start of ipv4_sync tests 1621s ok 18 /socket/ipv4_sync/datagram 1621s # Start of datagram tests 1622s ok 19 /socket/ipv4_sync/datagram/timeouts 1622s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.11 secs 1622s # End of datagram tests 1622s # End of ipv4_sync tests 1622s # Start of ipv6_sync tests 1622s ok 20 /socket/ipv6_sync/datagram 1622s # Start of datagram tests 1623s ok 21 /socket/ipv6_sync/datagram/timeouts 1623s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1623s # End of datagram tests 1623s # End of ipv6_sync tests 1623s # Start of reuse tests 1623s ok 22 /socket/reuse/tcp 1623s ok 23 /socket/reuse/udp 1623s # End of reuse tests 1623s # Start of get_available tests 1623s ok 24 /socket/get_available/datagram 1623s ok 25 /socket/get_available/stream 1623s # End of get_available tests 1623s # Start of credentials tests 1623s # Supported on this OS: GCredentials:linux-ucred:pid=0 1623s ok 26 /socket/credentials/tcp_client 1623s # Supported on this OS: GCredentials:linux-ucred:pid=0 1623s ok 27 /socket/credentials/tcp_server 1623s # Supported on this OS: GCredentials:linux-ucred:pid=18109,uid=1000,gid=1000 1623s ok 28 /socket/credentials/unix_socketpair 1623s # End of credentials tests 1623s # End of socket tests 1623s PASS: glib/socket.test 1623s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.1s; maxrss=4128 1623s autopkgtest [22:56:26]: test socket: -----------------------] 1627s socket PASS 1627s autopkgtest [22:56:30]: test socket: - - - - - - - - - - results - - - - - - - - - - 1631s autopkgtest [22:56:34]: test testfilemonitor: preparing testbed 1644s Reading package lists... 1645s Building dependency tree... 1645s Reading state information... 1646s Starting pkgProblemResolver with broken count: 0 1647s Starting 2 pkgProblemResolver with broken count: 0 1647s Done 1650s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1650s 1 not fully installed or removed. 1650s After this operation, 0 B of additional disk space will be used. 1650s Setting up autopkgtest-satdep (0) ... 1664s (Reading database ... 60087 files and directories currently installed.) 1664s Removing autopkgtest-satdep (0) ... 1675s autopkgtest [22:57:18]: test testfilemonitor: [----------------------- 1677s Running test: glib/testfilemonitor.test 1677s TAP version 13 1677s # random seed: R02Se7087776cb3f5418655eaeb773643134 1677s 1..8 1677s # Start of monitor tests 1677s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1677s # Using temporary directory: /tmp/gio-test-testfilemonitor_BOHNK2 1677s # Using GFileMonitor GInotifyFileMonitor 1679s ok 1 /monitor/atomic-replace 1679s # slow test /monitor/atomic-replace executed in 2.01 secs 1679s # Using temporary directory: /tmp/gio-test-testfilemonitor_PPQLK2 1679s # Using GFileMonitor GInotifyFileMonitor 1681s ok 2 /monitor/file-changes 1681s # slow test /monitor/file-changes executed in 2.51 secs 1681s # Using temporary directory: /tmp/gio-test-testfilemonitor_E7OYK2 1681s # Using GFileMonitor GInotifyFileMonitor 1682s Executing: glib/testfilemonitor.test 1685s ok 3 /monitor/dir-monitor 1685s # slow test /monitor/dir-monitor executed in 3.51 secs 1685s # Using temporary directory: /tmp/gio-test-testfilemonitor_8DDLK2 1685s # Using GFileMonitor GInotifyFileMonitor 1687s Executing: glib/testfilemonitor.test 1692s Executing: glib/testfilemonitor.test 1697s Executing: glib/testfilemonitor.test 1702s Executing: glib/testfilemonitor.test 1707s Executing: glib/testfilemonitor.test 1710s ok 4 /monitor/dir-not-existent 1710s # slow test /monitor/dir-not-existent executed in 25.02 secs 1710s # Using temporary directory: /tmp/gio-test-testfilemonitor_YM6LK2 1710s # Using GFileMonitor 0 GInotifyFileMonitor 1710s # Using GFileMonitor 1 GInotifyFileMonitor 1712s ok 5 /monitor/cross-dir-moves 1712s # slow test /monitor/cross-dir-moves executed in 2.01 secs 1712s # Using temporary directory: /tmp/gio-test-testfilemonitor_WN0LK2 1712s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1712s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1712s ok 6 /monitor/finalize-in-callback 1712s # Using temporary directory: /tmp/gio-test-testfilemonitor_DS1JK2 1712s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1712s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1712s ok 7 /monitor/root 1712s # Start of file tests 1712s # Using temporary directory: /tmp/gio-test-testfilemonitor_EA2JK2 1712s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1712s # Running with hard link tests 1712s # Using GFileMonitor GInotifyFileMonitor 1712s Executing: glib/testfilemonitor.test 1716s # Event 0 at expected index 7 skipped because it is marked as optional 1716s # Event 2 at expected index 11 skipped because it is marked as optional 1716s ok 8 /monitor/file/hard-links 1716s # slow test /monitor/file/hard-links executed in 3.71 secs 1716s # End of file tests 1716s # End of monitor tests 1716s PASS: glib/testfilemonitor.test 1716s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.7s; maxrss=4240 1716s autopkgtest [22:57:59]: test testfilemonitor: -----------------------] 1720s testfilemonitor PASS 1720s autopkgtest [22:58:03]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1725s autopkgtest [22:58:08]: test thread-pool-slow: preparing testbed 1739s Reading package lists... 1740s Building dependency tree... 1740s Reading state information... 1741s Starting pkgProblemResolver with broken count: 0 1741s Starting 2 pkgProblemResolver with broken count: 0 1741s Done 1744s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1744s 1 not fully installed or removed. 1744s After this operation, 0 B of additional disk space will be used. 1744s Setting up autopkgtest-satdep (0) ... 1760s (Reading database ... 60087 files and directories currently installed.) 1760s Removing autopkgtest-satdep (0) ... 1771s autopkgtest [22:58:54]: test thread-pool-slow: [----------------------- 1773s Running test: glib/thread-pool-slow.test 1773s TAP version 13 1773s # random seed: R02S011cd02f3098602a23254bcd681e369c 1773s 1..7 1773s # Start of threadpool tests 1773s ok 1 /threadpool/functions 1774s ok 2 /threadpool/stop-unused 1774s # slow test /threadpool/stop-unused executed in 0.57 secs 1774s ok 3 /threadpool/pools 1774s # [unsorted] ===> pushed new thread with id:91, number of threads:1, unprocessed:1 1774s # [unsorted] ===> pushed new thread with id:72, number of threads:2, unprocessed:2 1774s # [unsorted] ===> pushed new thread with id:4, number of threads:3, unprocessed:1 1774s # [unsorted] ===> pushed new thread with id:19, number of threads:4, unprocessed:2 1774s # [unsorted] ===> pushed new thread with id:77, number of threads:5, unprocessed:3 1774s # [unsorted] ===> pushed new thread with id:2, number of threads:6, unprocessed:4 1774s # [unsorted] ===> pushed new thread with id:37, number of threads:7, unprocessed:5 1774s # [unsorted] ===> pushed new thread with id:61, number of threads:8, unprocessed:6 1774s # [unsorted] ===> pushed new thread with id:90, number of threads:9, unprocessed:7 1774s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:8 1774s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:7 1774s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:8 1774s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:9 1774s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:10 1774s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:11 1774s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:12 1774s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:13 1774s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:14 1774s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:15 1774s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:16 1774s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:17 1774s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:18 1774s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:19 1774s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:20 1774s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:21 1774s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:22 1774s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:23 1774s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:24 1774s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:25 1774s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:26 1774s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:27 1774s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:28 1774s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:29 1774s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:30 1774s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:31 1774s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:32 1774s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:33 1774s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:34 1774s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:35 1774s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:36 1774s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:37 1774s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:38 1774s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:39 1774s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:40 1774s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:41 1774s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:42 1774s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:43 1774s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:44 1774s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:45 1774s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:46 1774s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:47 1774s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:48 1774s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:49 1774s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:50 1774s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:51 1774s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:52 1774s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:53 1774s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:54 1774s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:55 1774s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:56 1774s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:57 1774s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:58 1774s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:59 1774s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:60 1774s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:61 1774s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:62 1774s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:63 1774s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:64 1774s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:65 1774s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:66 1774s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:67 1774s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:68 1774s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:69 1774s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:70 1774s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:71 1774s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:72 1774s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:73 1774s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:74 1774s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:75 1774s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:76 1774s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:77 1774s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:78 1774s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:79 1774s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:80 1774s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:81 1774s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:82 1774s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:83 1774s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:84 1774s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:85 1774s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:86 1774s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:87 1774s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:88 1774s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:89 1774s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:90 1774s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:91 1774s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:92 1774s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:93 1774s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:94 1774s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:95 1774s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:96 1774s ok 4 /threadpool/no-sort 1774s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:1 1774s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:2 1774s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:3 1774s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:4 1774s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:5 1774s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:6 1774s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:7 1774s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:8 1774s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:9 1774s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:10 1774s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:11 1774s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:12 1774s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:13 1774s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:14 1774s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:15 1774s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:16 1774s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:17 1774s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:18 1774s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:19 1774s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:20 1774s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:21 1774s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:22 1774s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:23 1774s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:24 1774s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:25 1774s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:26 1774s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:27 1774s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:28 1774s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:29 1774s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:30 1774s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:31 1774s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:32 1774s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:33 1774s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:34 1774s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:35 1774s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:36 1774s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:37 1774s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:38 1774s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:39 1774s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:40 1774s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:41 1774s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:42 1774s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:43 1774s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:44 1774s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:45 1774s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:46 1774s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:47 1774s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:48 1774s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:49 1774s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:50 1774s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:51 1774s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:52 1774s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:53 1774s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:54 1774s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:55 1774s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:56 1774s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:57 1774s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:58 1774s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:59 1774s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:60 1774s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:61 1774s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:62 1774s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:63 1774s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:64 1774s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:65 1774s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:66 1774s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:67 1774s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:68 1774s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:69 1774s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:70 1774s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:71 1774s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:72 1774s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:73 1774s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:74 1774s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:75 1774s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:76 1774s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:77 1774s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:78 1774s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:79 1774s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:80 1774s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:81 1774s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:82 1774s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:83 1774s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:84 1774s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:85 1774s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:86 1774s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:87 1774s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:88 1774s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:89 1774s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:90 1774s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:91 1774s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:92 1774s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:93 1774s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:94 1774s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:95 1774s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:96 1774s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:97 1774s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:98 1774s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:99 1774s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:100 1774s # Starting thread pool processing 1774s ok 5 /threadpool/sort 1774s ok 6 /threadpool/stop-unused-multiple 1774s # slow test /threadpool/stop-unused-multiple executed in 0.62 secs 1774s # Pool idle thread count: 0, unprocessed jobs: 48 1775s # Pool idle thread count: 0, unprocessed jobs: 0 1775s # Pool idle thread count: 0, unprocessed jobs: 0 1775s # Pool idle thread count: 10, unprocessed jobs: 0 1775s # Pool idle thread count: 10, unprocessed jobs: 0 1776s # Pool idle thread count: 10, unprocessed jobs: 0 1776s # Pool idle thread count: 10, unprocessed jobs: 0 1776s # Pool idle thread count: 10, unprocessed jobs: 0 1776s # Pool idle thread count: 10, unprocessed jobs: 0 1777s # Pool idle thread count: 10, unprocessed jobs: 0 1777s # Pool idle thread count: 10, unprocessed jobs: 0 1777s # Pool idle thread count: 10, unprocessed jobs: 0 1777s # Pool idle thread count: 10, unprocessed jobs: 0 1778s Executing: glib/thread-pool-slow.test 1778s # Pool idle thread count: 10, unprocessed jobs: 0 1778s # Pool idle thread count: 10, unprocessed jobs: 0 1778s # Pool idle thread count: 10, unprocessed jobs: 0 1778s # Pool idle thread count: 10, unprocessed jobs: 0 1779s # Pool idle thread count: 10, unprocessed jobs: 0 1779s # Pool idle thread count: 10, unprocessed jobs: 0 1779s # Pool idle thread count: 10, unprocessed jobs: 0 1779s # Pool idle thread count: 10, unprocessed jobs: 0 1780s # Pool idle thread count: 10, unprocessed jobs: 0 1780s # Pool idle thread count: 10, unprocessed jobs: 0 1780s # Pool idle thread count: 10, unprocessed jobs: 0 1780s # Pool idle thread count: 10, unprocessed jobs: 0 1781s # Pool idle thread count: 10, unprocessed jobs: 0 1781s # Pool idle thread count: 10, unprocessed jobs: 0 1781s # Pool idle thread count: 10, unprocessed jobs: 0 1781s # Pool idle thread count: 10, unprocessed jobs: 0 1782s # Pool idle thread count: 10, unprocessed jobs: 0 1782s # Pool idle thread count: 10, unprocessed jobs: 0 1782s # Pool idle thread count: 10, unprocessed jobs: 0 1782s # Pool idle thread count: 10, unprocessed jobs: 0 1783s Executing: glib/thread-pool-slow.test 1783s # Pool idle thread count: 10, unprocessed jobs: 0 1783s # Pool idle thread count: 10, unprocessed jobs: 0 1783s # Pool idle thread count: 9, unprocessed jobs: 1 1783s # Pool idle thread count: 8, unprocessed jobs: 0 1783s # Pool idle thread count: 8, unprocessed jobs: 0 1783s # Pool idle thread count: 8, unprocessed jobs: 0 1784s # Pool idle thread count: 10, unprocessed jobs: 0 1784s # Pool idle thread count: 10, unprocessed jobs: 0 1784s # Pool idle thread count: 10, unprocessed jobs: 0 1784s # Pool idle thread count: 10, unprocessed jobs: 0 1785s # Pool idle thread count: 10, unprocessed jobs: 0 1785s # Pool idle thread count: 10, unprocessed jobs: 0 1785s # Pool idle thread count: 2, unprocessed jobs: 0 1785s # Pool idle thread count: 2, unprocessed jobs: 0 1786s # Pool idle thread count: 2, unprocessed jobs: 0 1786s # Pool idle thread count: 2, unprocessed jobs: 0 1787s # Pool idle thread count: 2, unprocessed jobs: 0 1787s # Pool idle thread count: 2, unprocessed jobs: 0 1787s # Pool idle thread count: 2, unprocessed jobs: 0 1787s # Pool idle thread count: 2, unprocessed jobs: 0 1788s # Pool idle thread count: 2, unprocessed jobs: 0 1788s # Pool idle thread count: 2, unprocessed jobs: 0 1788s Executing: glib/thread-pool-slow.test 1788s # Pool idle thread count: 2, unprocessed jobs: 0 1788s # Pool idle thread count: 2, unprocessed jobs: 0 1789s # Pool idle thread count: 2, unprocessed jobs: 0 1789s # Pool idle thread count: 2, unprocessed jobs: 0 1789s # Pool idle thread count: 2, unprocessed jobs: 0 1789s # Pool idle thread count: 2, unprocessed jobs: 0 1790s # Pool idle thread count: 2, unprocessed jobs: 0 1790s # Pool idle thread count: 2, unprocessed jobs: 0 1790s # Pool idle thread count: 2, unprocessed jobs: 0 1790s # Pool idle thread count: 2, unprocessed jobs: 0 1791s # Pool idle thread count: 2, unprocessed jobs: 0 1791s # Pool idle thread count: 2, unprocessed jobs: 0 1791s # Pool idle thread count: 2, unprocessed jobs: 0 1791s # Pool idle thread count: 2, unprocessed jobs: 0 1792s # Pool idle thread count: 2, unprocessed jobs: 0 1792s # Pool idle thread count: 2, unprocessed jobs: 0 1792s # Pool idle thread count: 2, unprocessed jobs: 0 1792s # Pool idle thread count: 2, unprocessed jobs: 0 1793s # Pool idle thread count: 2, unprocessed jobs: 0 1793s # Pool idle thread count: 2, unprocessed jobs: 0 1793s Executing: glib/thread-pool-slow.test 1793s # Pool idle thread count: 2, unprocessed jobs: 0 1793s # Pool idle thread count: 2, unprocessed jobs: 0 1794s # Pool idle thread count: 2, unprocessed jobs: 0 1794s # Pool idle thread count: 2, unprocessed jobs: 0 1794s ok 7 /threadpool/idle-time 1794s # slow test /threadpool/idle-time executed in 19.55 secs 1794s # End of threadpool tests 1794s PASS: glib/thread-pool-slow.test 1794s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.7s; system=0.5s; maxrss=2416 1794s autopkgtest [22:59:17]: test thread-pool-slow: -----------------------] 1798s autopkgtest [22:59:21]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1798s thread-pool-slow PASS 1802s autopkgtest [22:59:25]: test threadtests: preparing testbed 1814s Reading package lists... 1815s Building dependency tree... 1815s Reading state information... 1816s Starting pkgProblemResolver with broken count: 0 1816s Starting 2 pkgProblemResolver with broken count: 0 1816s Done 1820s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1820s 1 not fully installed or removed. 1820s After this operation, 0 B of additional disk space will be used. 1820s Setting up autopkgtest-satdep (0) ... 1832s (Reading database ... 60087 files and directories currently installed.) 1832s Removing autopkgtest-satdep (0) ... 1842s autopkgtest [23:00:05]: test threadtests: [----------------------- 1844s Running test: glib/threadtests.test 1844s TAP version 13 1844s # random seed: R02S5abb42efee2d2716595e0e5db81e08db 1844s 1..5 1844s # Start of GObject tests 1845s ok 1 /GObject/threaded-object-init 1847s ok 2 /GObject/threaded-weak-ref 1847s # slow test /GObject/threaded-weak-ref executed in 2.80 secs 1847s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1847s # /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 1850s Executing: glib/threadtests.test 1853s ok 3 /GObject/threaded-toggle-notify 1853s # slow test /GObject/threaded-toggle-notify executed in 5.92 secs 1853s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1853s # Start of threaded-weak-ref tests 1853s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1853s # /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. 1853s ok 5 /GObject/threaded-weak-ref/on-finalization 1853s # End of threaded-weak-ref tests 1853s # End of GObject tests 1853s PASS: glib/threadtests.test 1853s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=17.8s; system=8.4s; maxrss=2716 1854s autopkgtest [23:00:17]: test threadtests: -----------------------] 1858s threadtests PASS 1858s autopkgtest [23:00:21]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1861s autopkgtest [23:00:24]: test timeout: preparing testbed 1874s Reading package lists... 1875s Building dependency tree... 1875s Reading state information... 1876s Starting pkgProblemResolver with broken count: 0 1876s Starting 2 pkgProblemResolver with broken count: 0 1876s Done 1879s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1879s 1 not fully installed or removed. 1879s After this operation, 0 B of additional disk space will be used. 1879s Setting up autopkgtest-satdep (0) ... 1895s (Reading database ... 60087 files and directories currently installed.) 1895s Removing autopkgtest-satdep (0) ... 1904s autopkgtest [23:01:07]: test timeout: [----------------------- 1907s Running test: glib/timeout.test 1907s TAP version 13 1907s # random seed: R02S3f3046deb80334c3427b09ab9376cfa5 1907s 1..5 1907s # Start of timeout tests 1907s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1909s ok 1 /timeout/seconds 1909s # slow test /timeout/seconds executed in 2.10 secs 1911s ok 2 /timeout/seconds-once 1911s # slow test /timeout/seconds-once executed in 2.10 secs 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1912s Executing: glib/timeout.test 1913s ok 3 /timeout/weeks-overflow 1913s # slow test /timeout/weeks-overflow executed in 2.10 secs 1913s ok 4 /timeout/far-future-ready-time 1917s Executing: glib/timeout.test 1922s Executing: glib/timeout.test 1923s ok 5 /timeout/rounding 1923s # slow test /timeout/rounding executed in 10.04 secs 1923s # End of timeout tests 1923s PASS: glib/timeout.test 1923s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2112 1923s autopkgtest [23:01:26]: test timeout: -----------------------] 1927s timeout PASS 1927s autopkgtest [23:01:30]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1931s autopkgtest [23:01:34]: test timer: preparing testbed 1943s Reading package lists... 1944s Building dependency tree... 1944s Reading state information... 1945s Starting pkgProblemResolver with broken count: 0 1945s Starting 2 pkgProblemResolver with broken count: 0 1945s Done 1949s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1949s 1 not fully installed or removed. 1949s After this operation, 0 B of additional disk space will be used. 1949s Setting up autopkgtest-satdep (0) ... 1962s (Reading database ... 60087 files and directories currently installed.) 1962s Removing autopkgtest-satdep (0) ... 1972s autopkgtest [23:02:15]: test timer: [----------------------- 1974s Running test: glib/timer.test 1974s TAP version 13 1974s # random seed: R02S2c3464149d9499c52032a894aab9f03c 1974s 1..10 1974s # Start of timer tests 1974s ok 1 /timer/basic 1974s ok 2 /timer/stop 1974s ok 3 /timer/continue 1974s ok 4 /timer/reset 1974s ok 5 /timer/is_active 1974s # End of timer tests 1974s # Start of timeval tests 1974s ok 6 /timeval/add 1974s ok 7 /timeval/from-iso8601 1974s ok 8 /timeval/to-iso8601 1974s # Start of to-iso8601 tests 1974s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow. 1974s # End of to-iso8601 tests 1974s # End of timeval tests 1974s # Start of usleep tests 1974s ok 10 /usleep/with-zero-wait 1974s # End of usleep tests 1974s PASS: glib/timer.test 1974s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2232 1974s autopkgtest [23:02:17]: test timer: -----------------------] 1978s autopkgtest [23:02:21]: test timer: - - - - - - - - - - results - - - - - - - - - - 1978s timer PASS 1982s autopkgtest [23:02:25]: @@@@@@@@@@@@@@@@@@@@ summary 1982s build PASS (superficial) 1982s build-static PASS (superficial) 1982s installed-tests PASS 1982s closure-refcount PASS 1982s debugcontroller PASS 1982s gdbus-server-auth PASS 1982s gdbus-threading PASS 1982s gmenumodel PASS 1982s mainloop PASS 1982s memory-monitor-dbus PASS 1982s socket PASS 1982s testfilemonitor PASS 1982s thread-pool-slow PASS 1982s threadtests PASS 1982s timeout PASS 1982s timer PASS